Filipe Silva
6076e16ebc
feat(@angular-devkit/build-optimizer): remove constructor __param
2018-09-06 08:18:41 -07:00
Filipe Silva
2962ede3e3
test(@angular-devkit/build-optimizer): also check method metadata
2018-09-06 08:18:41 -07:00
Hans
0070ea46e6
fix(@angular-devkit/schematics): fix task executor on Windows
...
Before we did not denormalize the paths, but were expecting to get paths as options.
2018-09-06 07:37:48 -07:00
Hans Larsen
fefef0271e
refactor(@angular/cli): remove parseJsonFile and add options to parseJson instead
2018-09-06 07:37:48 -07:00
Hans
fd7bcd25fe
fix(@angular-devkit/core): use architect key only if it exists
...
And if target didnt exist.
2018-09-06 07:37:48 -07:00
Hans
9517677158
feat(@angular-devkit/core): remove addUndefinedDefaults as default post transform
...
And various bug fixes.
2018-09-06 07:37:48 -07:00
Hans
fb99a490bf
feat(@angular-devkit/core): add a parseJsonFile that shows file path on error
2018-09-06 07:37:48 -07:00
Hans
1b5c0082ef
feat(@angular-devkit/core): add levenshtein distance utility
2018-09-06 07:37:48 -07:00
Hans
0b84c1d4b0
feat(@angular-devkit/core): move findTypes in utility and export
2018-09-06 07:37:48 -07:00
Hans Larsen
39b4cc030b
build: fix RxJS invalid typings
2018-08-30 16:49:31 -07:00
clydin
7e63dd791b
build: limit rxjs to 6.2.x due to a defect in 6.3.0 ( #12048 )
2018-08-30 15:33:31 -07:00
Filipe Silva
41d20873b1
fix(@angular-devkit/build-angular): remove workaround for uglify-es ( #12033 )
...
Fix https://github.com/angular/angular-cli/pull/11996#issuecomment-416514015
2018-08-29 09:27:39 -07:00
Alan Agius
a2342b6a75
feat(@angular-devkit/build-angular): remove inlining of assets in css ( #12027 )
...
BREAKING CHANGE: Assets under 10Kib are not longer inlined in css
2018-08-29 09:27:21 -07:00
clydin
67e32a8f25
fix(@angular-devkit/build-angular): improve bundle size value parsing ( #12026 )
...
Fixes #12013
2018-08-29 09:26:52 -07:00
Charles Lyding
e0882a7549
fix(@angular-devkit/core): make workspace projects field not required
...
It has a default which makes the required aspect void.
Global files also do not have projects.
2018-08-29 09:25:56 -07:00
Charles Lyding
d299ef7ff7
fix(@angular-devkit/core): correctly resolve schema references
2018-08-29 09:25:56 -07:00
Charles Lyding
cdbc1988f2
feat(@angular-devkit/schematics): allow schematic rules to control interactivity
2018-08-29 09:25:56 -07:00
Charles Lyding
516f52e3dd
feat(@angular-devkit/core): initial prompt provider json schema support
2018-08-29 09:25:56 -07:00
Charles Lyding
4207a15c4f
fix(@angular-devkit/core): make smart default work with default/required
2018-08-29 09:25:56 -07:00
Charles Lyding
2dcf0b9901
refactor(@angular-devkit/core): cleanup ajv initialization
2018-08-29 09:25:56 -07:00
Alan Agius
7eb080362f
fix(@angular-devkit/build-angular): only collect coverage from files under sourceRoot
( #11974 )
...
In some cases when having libraries within the workspace this is causing a `Maximum call stack size exceeded`, Also for libraries coverage should be collected with the respective `ng test`
Closes #11934
2018-08-28 13:50:25 -07:00
Alan Agius
7f67c64be1
fix(@angular-devkit/build-angular): fixes cors issues with karma ( #11970 )
...
Checking the stack trace in the issue one can noticed that the paths for the components are being served via the `webpack://` protocol which is causing a `cors` issue between `http` and `webpack` protocol
This PR removed the `webpack` protocol from the `devtoolModuleFilenameTemplate`
Closes #11966
2018-08-28 13:10:43 -07:00
Alan Agius
1730c79b99
fix(@angular-devkit/build-angular): exclude .map
files from budget … ( #12012 )
...
* fix(@angular-devkit/build-angular): exclude `.map` files from budget calculations
Closes #11999
2018-08-27 18:12:04 -07:00
Hans
62e72fea38
fix(@angular-devkit/architect): explicitly type functions
...
Closes : #11992
2018-08-27 18:11:07 -07:00
clydin
d55deb9282
build: add bazel TS library for node tasks ( #12008 )
2018-08-27 10:27:44 -07:00
Filipe Silva
907fedc0b8
feat(@angular-devkit/build-angular): use terser instead of uglify-es ( #11996 )
...
Should help bring down prod build times, @SanderElias reported a ~60% reduction on his project.
Should fix #9340 .
2018-08-27 10:26:30 -07:00
ajspera
c66f831a07
fix(@angular-devkit/build-angular): load style source maps inline so they work ( #11729 )
...
without this, the way styles are into the DOM breaks the default sourcemap option
postcss-loader option docs
https://github.com/postcss/postcss-loader#inline
fixes #9099
2018-08-27 10:24:26 -07:00
Charles Lyding
d202480a17
build: update/cleanup tslint rules & fix errors
2018-08-23 11:35:34 -07:00
Charles Lyding
6f38c77e05
feat(@angular-devkit/build-angular): support dart-sass for SASS/SCSS
2018-08-23 10:34:43 -07:00
Alan Agius
2d8443629e
fix(@angular-devkit/build-angular): build should not hash lazy styles
...
When having `optimize` enabled the chunk Id doesn't match the bundle name, this we should use the chunk name instead
Closes #11772 and Closes #11704
2018-08-23 10:31:41 -07:00
Filipe Silva
9b7d076e2b
fix(@angular-devkit/schematics): correctly resolve absolute windows paths
2018-08-22 16:36:10 -07:00
Filipe Silva
9720077a4b
build: make resolution logic compatible with Bazel
2018-08-22 16:36:10 -07:00
Filipe Silva
f08ec443ff
build: re-enable missing bazel tests
2018-08-22 16:36:10 -07:00
Filipe Silva
2393ab9aba
build: simplify bazel dependencies
2018-08-22 16:36:10 -07:00
Filipe Silva
37c5b842a0
build: include rxjs dependency needed for bazel local repo
2018-08-22 16:36:10 -07:00
Filipe Silva
c03516a81e
test(@angular-devkit/build-optimizer): add bazel tests
2018-08-22 16:36:10 -07:00
Filipe Silva
9a63db837b
refactor(@angular-devkit/schematics-cli): update bazel build file
2018-08-22 16:36:10 -07:00
Filipe Silva
e17cc66f93
test(@angular-devkit/schematics): add bazel tests
2018-08-22 16:36:10 -07:00
Filipe Silva
a6028a7761
test(@angular-devkit/core): add bazel tests
2018-08-22 16:36:10 -07:00
Filipe Silva
b1ad957a15
build: update bazel workspace
2018-08-22 16:36:10 -07:00
Filipe Silva
6519745089
fix(@angular-devkit/build-angular): support inline javascript in less
...
Based on https://github.com/angular/devkit/pull/866
Fix https://github.com/angular/angular-cli/issues/10430
2018-08-22 11:52:49 -07:00
Alan Agius
2c858503ba
fix(@angular-devkit/build-angular): tslint exclude for relative paths
...
Closes #11773
2018-08-21 11:17:47 -07:00
Alan Agius
718ee15b9a
refactor: remove flatModuleId
and flatModuleOutFile
from library tsconfig
...
The autogenerated fiellds are no longer required following this PR https://github.com/dherges/ng-packagr/pull/1024
This has been released in `ng-packagr` `v4.1.0`
2018-08-21 10:16:38 -07:00
Charles Lyding
07c829d34b
fix(@angular-devkit/schematics): improve tree type checking
...
Fixes #11683
2018-08-17 15:26:36 -07:00
Hans
f9ad0e27e7
refactor: move isJsonObject to json namespace
2018-08-17 11:20:54 -07:00
Hans
055a157356
feat(@angular-devkit/core): add json namespace export
2018-08-17 11:20:54 -07:00
Sibiraj
eb87002a12
feat(@angular-devkit/build-angular): update karma to v3
2018-08-17 10:39:27 -07:00
Alan Agius
9107f3cc4e
docs: update optimization
description ( #11862 )
...
At the moment, the definition might suggest that `optimization` takes some values other than `true` and `false`
Close : #11856
2018-08-15 15:58:22 -07:00
Filipe Silva
711d0c0ef4
fix(@angular-devkit/build-angular): update node-sass ( #11831 )
...
See https://github.com/sass/node-sass/issues/2355 for context.
Fix #11699
Related to #10963
2018-08-15 15:57:34 -07:00
Filipe Silva
af137809e8
fix(@angular-devkit/build-angular): update less ( #11709 )
...
Uses minimum versions listed in https://github.com/webpack-contrib/less-loader/issues/252#issuecomment-406416493
Fix #10899
2018-08-15 15:51:48 -07:00