918 Commits

Author SHA1 Message Date
Alan Agius
ad8acb0d23 build: bump angular dev packages to latest next versions 2019-08-22 09:41:28 -07:00
Renovate Bot
9d67642255 build: update less to version 3.10.2 2019-08-21 10:37:30 -07:00
Renovate Bot
94df0eff20 build: update cacache to version 12.0.3 2019-08-21 10:37:16 -07:00
Renovate Bot
99de2b4b36 build: update sass-loader to version 7.3.1 2019-08-21 10:37:01 -07:00
Renovate Bot
1bc8cbcb98 build: update zone.js to version ^0.10.0 2019-08-21 10:36:26 -07:00
Adam Vigneaux
e7d99bc727 feat(@angular-devkit/build-angular): collect test coverage from JSX/TSX files 2019-08-21 10:31:45 -07:00
Charles Lyding
d1488e66a4 refactor(@angular-devkit/build-angular): cache downlevel bundles 2019-08-20 11:07:55 -07:00
Renovate Bot
0aae147621 build: update @angular/animations to version 2019-08-20 10:16:25 -07:00
Renovate Bot
b738f3a2f5 build: update sass to version 1.22.10 2019-08-20 10:14:15 -07:00
Renovate Bot
ac22acce85 build: update terser to version 4.2.0 2019-08-20 10:14:04 -07:00
Renovate Bot
c61063e130 build: update stylus to version 0.54.6 2019-08-20 10:13:50 -07:00
Renovate Bot
d0f844d3d4 build: update less to version 3.10.1 2019-08-19 12:22:44 -07:00
Charles Lyding
2e4cae172e test: remove additional usages of experimental workspaces 2019-08-16 09:32:04 -07:00
Alan Agius
2ed70bb5d2 build: update angular packages to version 9 2019-08-16 09:30:22 -07:00
Simon Jespersen
0824e8beee refactor(@angular-devkit/schematics): remove optimize from host-tree
Remove unused optimize method marked for removal in version 7.0
2019-08-15 09:55:11 -07:00
Alan Agius
f2ecb904a9 fix(@angular-devkit/build-angular): serve option merging is being overridden by defaults in schema (#15328)
We have a number of browser options that we allow the dev-server to merge. However, this only happens when such as options are undefined from the dev-server builder. At the moment these option have defaults inside their schema which results in them never being `undefined`, and hence the overridden logic is bypassed.

See: 6dd5b186d4/packages/angular_devkit/build_angular/src/dev-server/index.ts (L49-L63) and 6dd5b186d4/packages/angular_devkit/build_angular/src/dev-server/index.ts (L107-L115)

Fixes #15273 and fixes #15064
2019-08-14 17:55:04 -07:00
Renovate Bot
07d9c34d64 build: update webpack to version 4.39.2 (#15327) 2019-08-14 10:22:45 -07:00
Charles
3db2787cea refactor(@angular-devkit/build-angular): update webpack typings (#15334) 2019-08-14 10:22:32 -07:00
Charles
920ee8595a build: update bazel dependencies and configuration (#15291)
This leverages the configuration from FW where possible.
Bazel updated to 28.1
Rules for nodejs/typescript/karma/jasmine updated to 0.35.0
2019-08-12 11:40:50 -07:00
Renovate Bot
fb600467f7 build: update core-js to version 3.2.1 (#15282) 2019-08-12 11:08:52 -07:00
Alan Agius
e2bb482b44 fix(@angular-devkit/build-optimizer): don't add pure comments to tslib helpers (#15303)
Closes #15301
2019-08-12 11:07:24 -07:00
Filipe Silva
b3b45469f5 fix(@angular-devkit/build-angular): never use component css sourcemap when optimizations are on. (#15238)
It will just increase bundle size without offering good debug experience.
2019-08-12 10:32:03 -07:00
Renovate Bot
05eba1449d build: update license-webpack-plugin to version 2.1.2 (#15305) 2019-08-12 10:28:09 -07:00
Renovate Bot
2182c7ccad build: update inquirer to version 6.5.1 (#15304) 2019-08-12 10:27:54 -07:00
Renovate Bot
eb733a6005 build: update terser to version 4.1.4 (#15300) 2019-08-12 10:27:40 -07:00
Renovate Bot
65ac48ce70 build: update webpack-dev-server to version 3.8.0 (#15297) 2019-08-12 10:27:05 -07:00
Charles
b0b3212719 fix(@ngtools/webpack): cleanup more resources after modules are loaded (#15292)
* feat(@angular-devkit/core): support resetting a memory host

* fix(@ngtools/webpack): cleanup more resources after modules are loaded

Followup to #12994
2019-08-12 10:26:19 -07:00
Charles
64ff17d57f refactor(@angular-devkit/architect-cli): minor package cleanup (#15289) 2019-08-12 10:24:59 -07:00
Renovate Bot
125d5d6465 build: update sass-loader to version 7.2.0 (#15285) 2019-08-12 10:24:38 -07:00
Renovate Bot
e4432aac74 build: update circular-dependency-plugin to version 5.2.0 (#15281) 2019-08-12 10:22:47 -07:00
Alan Agius
0111693271 Ivy build_ng_packagr (#15262)
* test: update ng-packagr builder tests to work on Windows

* build: add ng packagr test large for ivy

* test: fix web-worker test in ivy

Previously, we were not testing web workers under Ivy as we were overriding tsconfig.app.json entirely without including enableIvy.

When enabling Ivy we are getting warning of files that are part of the compilation which causing a warning to show and break the test.

* build: update ng-packagr to `^5.4.0`

* test: display ivy mode message once
2019-08-12 10:20:02 -07:00
Alan Agius
99ba5ebaf7 feat(@ngtools/webpack): add support for raw-loader 2 and 3 (#15311)
With this change we add support for raw-loader 1, 2 and 3.

In version 2 raw-loader released a breaking change https://github.com/webpack-contrib/raw-loader/releases/tag/v2.0.0 and now they use ES Module export instead of CommonJS.

Closes #15286 and closes #15149
2019-08-12 10:19:11 -07:00
Renovate Bot
32449fc56a build: update webpack to version 4.39.1 (#15229) 2019-08-10 10:15:53 -07:00
Filipe Silva
4826378706 fix(@angular-devkit/build-angular): consider local decl in angular core files to be metadata too
Followup to https://github.com/angular/angular-cli/pull/15239, fixes a 6kb size regression in new apps, potentially more in larger apps.

Local declarations inside `@angular/core` files should also be considered metadata and scrubbed.
2019-08-08 08:28:20 -07:00
Renovate Bot
38088d1c58 build: update file-loader to version 4.2.0 2019-08-08 08:27:52 -07:00
Renovate Bot
d54b767a83 build: update style-loader to version 1.0.0 2019-08-08 08:27:01 -07:00
Renovate Bot
44f9141a56 build: update webpack-sources to version 1.4.3 2019-08-08 08:26:45 -07:00
Renovate Bot
678846fe85 build: update caniuse-lite to version 1.0.30000989 2019-08-08 08:26:26 -07:00
Charles Lyding
1c6f665c4f feat(@angular-devkit/build-angular): implement bundle level downleveling to support differential loading 2019-08-08 08:26:15 -07:00
Charles Lyding
4183d16e81 fix(@angular-devkit/build-angular): additional ES5 browser polyfills based on babel usage analysis 2019-08-08 08:26:15 -07:00
Charles Lyding
74536d0df0 refactor(@angular-devkit/build-optimizer): update to use latest source-map version (0.7.3)
The latest version provides significant performance improvements.
2019-08-08 08:26:15 -07:00
Alan Agius
9478ee9c47 fix(@ngtools/webpack): gracefully show error when compiling broken component styles
Fixes #15240
2019-08-05 18:01:53 -07:00
Alan Agius
f4be0ba677 fix(@ngtools/webpack): display unused file warning once per file 2019-08-05 18:00:13 -07:00
Filipe Silva
fbea65b371 fix(@angular-devkit/build-angular): use GLOBAL_DEFS_FOR_TERSER_WITH_AOT if present
Fix #15206
2019-08-05 17:59:42 -07:00
Alan Agius
6f0e7bf437 fix(@angular-devkit/core): add schema defaults when value is undefined
Related to https://github.com/angular/angular-cli/pull/15207#discussion_r309175463
2019-08-02 13:41:45 -07:00
Alan Agius
195e493a66 fix(@angular-devkit/build-angular): various breakpoints issues
With this change we address 2 main issues related to unbound breakpoints:
1) in VS code when having a `baseHref` set.
2) Visual Studio when using an SPA inside a ASP.NET project

For the latter, it seems that there is no way to set a `webRoot`. However, `webpack:///` seems to be handled internally and will be mapped to the `SpaRoot` ie `ClientApp` folder.

Fixes: #15211
2019-08-02 13:41:16 -07:00
Filipe Silva
804c11de8d fix(@angular-devkit/build-optimizer): scrub all metadata form @angular/core
We used to keep a specifier list of known  specifiers to identify the `@angular/core` FESM. But it doesn't work for non-FESM bundles, and we already pass that information on anyway.
2019-08-02 13:35:39 -07:00
Filipe Silva
fefa2ef15c fix(@angular-devkit/build-optimizer): scrub previously whitelisted angular classes
This whitelist a leftover from older Angular versions and isn't necessary anymore.

Fix #15194
2019-08-02 13:35:39 -07:00
Alan Agius
0fd7abb818 refactor: cleancss-webpack-plugin to use async/await 2019-08-02 13:35:22 -07:00
Renovate Bot
16f490b673 build: update terser-webpack-plugin to version 1.4.1 2019-08-02 13:35:09 -07:00