Filipe Silva
c2625271de
feat(@angular-devkit/benchmark): add package
2018-09-10 14:19:22 -07:00
Charles Lyding
b403aa69c1
test(@angular-devkit/build-angular): improve resilience of watch rebuilds
2018-09-10 12:30:49 -07:00
Charles Lyding
96dc506038
test(@angular-devkit/build-angular): expand polling success threshold
...
polling is highly dependent on CPU and IO; with shared CI machines this can cause high variability
2018-09-10 12:30:49 -07:00
Charles Lyding
d29701f978
fix(@angular-devkit/core): allow stat on record host
2018-09-10 12:30:49 -07:00
Alan Agius
b8b36ba339
refactor: pin down all direct dependencies
...
This is so that CLI users get the same direct dependency versions that were tested on the CI.
2018-09-07 11:01:50 -07:00
Charles Lyding
87db956cab
refactor(@angular-devkit/build-optimizer): remove unused helper function
2018-09-07 10:45:46 -07:00
Charles Lyding
74bc8e886b
fix(@angular-devkit/build-optimizer): remove deprecated wrap enums check
2018-09-07 10:45:46 -07:00
Charles Lyding
a1ea3a05d4
fix(@angular-devkit/build-optimizer): remove deprecated purify plugin
2018-09-07 10:45:46 -07:00
Alex Eagle
f7f1d139f4
release: v7.0.0-beta.2
2018-09-06 14:47:26 -07:00
Sebastian Häni
8caeb47824
fix(@angular-devkit/schematics): fix generate
mangling files containing wide characters
...
Executing a command like `ng generate component my-component` can sometimes lead to
mangled Angular module files when inserting the component into `declaration` and
adding the import. This happens if the file contains characters that are wider than
one byte e.g. a copyright sign or an umlaut. Today it is expected to be able to use
two byte long characters in code.
The `UpdateBuffer` class operates using Buffer objects which use byte arrays internally.
Using text node positions provided by the TypeScript library, these will not match up.
This change looks up the textual position inside the Buffer and uses the correct index.
Closes #7851 , #7950
2018-09-06 10:53:27 -07:00
Alan Agius
e16c8bbe87
fix(@angular-devkit/build-angular): set the proper type to fileReplacements
...
Closes #11294
2018-09-06 10:51:04 -07:00
Alan Agius
54f7ea2b1d
fix(@angular-devkit/schematics): throw InvalidCollectionJsonException
when collection file is invalid
...
Closes #11818
2018-09-06 10:49:50 -07:00
Alan Agius
5007a19ad9
refactor(@angular-devkit/build-angular): clean up style webpack config
...
Clean up several parts of the styles config and also removed the dependency on `postcss-url`
2018-09-06 08:51:22 -07:00
Alan Agius
bdebc9e0cb
feat(@angular-devkit/build-angular): add ignore
option to assets
object
...
You can now provide an array of globs to `ignore` from copying
Closes #11850
2018-09-06 08:36:16 -07:00
Alan Agius
a723310e94
feat(@angular-devkit/build-optimizer): update typescript
dependency to 3.0.x
2018-09-06 08:28:16 -07:00
Alan Agius
88804b63dc
build: update repo to use typescript
3.0.x
...
Updated `@angular/<packages>` to `^7.0.0-beta.4` since we need this to be able to run the tests. Due to the `@angular/compiler` in `v6` doesn't support `typescript` `3.0.x`.
2018-09-06 08:28:16 -07:00
Filipe Silva
7c5178c698
feat(@angular-devkit/build-optimizer): correctly identify renamed enums
2018-09-06 08:18:41 -07:00
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