1683 Commits

Author SHA1 Message Date
Charles Lyding
bcb41e3977 fix(@angular-devkit/build-angular): wrap ES5 differential loading bundles
This change ensures that classic (ES5) script's top-level function helpers do not get overwritten by other scripts top-level functions that happen to have the same name.  This is not an issue when using module script types because each module has its own scope.
2020-07-13 12:16:42 -04:00
Renovate Bot
d1b323f12e build: update autoprefixer to version 9.8.5 2020-07-13 09:36:52 -04:00
Renovate Bot
4987f0ac10 build: update cacache to version 15.0.5 2020-07-13 09:36:42 -04:00
Renovate Bot
b55db8cbee build: update license-webpack-plugin to version 2.3.0 2020-07-13 09:36:16 -04:00
Alan Agius
3d9f2a30ec fix(@angular-devkit/schematics-cli): only show prompts in TTY terminals 2020-07-08 16:09:14 +02:00
Renovate Bot
2388806756 build: update sass-loader to version 9.0.2 2020-07-08 08:54:39 +02:00
Renovate Bot
8cc3b9d4ee build: update rollup to version 2.21.0 2020-07-08 08:54:18 +02:00
Alan Agius
0a573e7376 fix(@angular-devkit/build-angular): remove non-global locale import warning
We have not yet deprecated the non-global locale data modules (e.g. `@angular/common/locales/fr`) so we should not be issuing warnings about developers using them.

We recently added warning suggesting that a "global" locale should be used instead, and the previous CommonJS/AMD warning about the format of these non-global modules are just confusing for the developer.

Reference: TOOL-1388
Closes: #18123
2020-07-07 08:56:59 +02:00
Renovate Bot
56c06fdc08 build: update sass to version 1.26.10 2020-07-07 08:05:23 +02:00
Renovate Bot
c6092ca0cd build: update rollup to version 2.20.0 2020-07-07 08:04:39 +02:00
Renovate Bot
1bd85f0069 build: update ajv to version 6.12.3 2020-07-05 10:04:19 +02:00
Renovate Bot
a76e775e78 build: update rollup to version 2.19.0 2020-07-05 10:03:53 +02:00
Renovate Bot
512f4b08d3 build: update sass-loader to version 9.0.1 2020-07-04 09:56:50 +02:00
Renovate Bot
56fc03a89e build: update less-loader to version 6.2.0 2020-07-04 09:28:56 +02:00
Alan Agius
64a2686293 fix(@angular-devkit/build-angular): show child compilation errors
Closes #17565
2020-07-03 09:42:24 +02:00
Renovate Bot
7dfa252002 build: update sass-loader to version 9.0.0 2020-07-03 09:32:12 +02:00
Renovate Bot
51a159d1c9 build: update rxjs to version 6.6.0 2020-07-02 11:00:00 +02:00
Renovate Bot
f002141db4 build: update tsickle to version ~0.39.0 2020-07-02 10:08:42 +02:00
Renovate Bot
c3e66291a3 build: update rollup to version 2.18.2 2020-07-02 10:07:18 +02:00
Renovate Bot
a21b22e04b build: update inquirer to version 7.3.0 2020-07-02 08:10:29 +02:00
Alan Agius
c578c73575 fix(@angular-devkit/build-angular): show warning when using non global locale data
When using the `localize` option directly importing locale data from `@angular/common` is not needed because the Angular CLI  will automatically include locale data. When not using the `localize` option, most likely users meant to import the global variant of the local data.

See: https://angular.io/guide/i18n#import-global-variants-of-the-locale-data
2020-07-01 14:04:05 +01:00
Alan Agius
708360e267 fix(@angular-devkit/build-angular): match allowed dependencies against the package name
With this change we add the functionality to also match an allowed dependency against a package name. The package name is retrieved from the rawRequest.

Previously, users needed to add the request path which in some case might be a deep import. Ex: `zone.js/dist/zone-error`. With this change adding the package name example `zone.js` will suffice.

Closes: #18058
2020-07-01 14:04:05 +01:00
Charles Lyding
78064a8c26 fix(@angular-devkit/build-angular): update copy-webpack-plugin to 6.0.3
Prior versions of copy-webpack-plugin 6.x contained a memory usage regression that could cause gigabytes of memory to be used during a build.  Version 6.0.3 contains a fix that prevents this issue.
Referenced Issue: https://github.com/webpack-contrib/copy-webpack-plugin/issues/505
2020-07-01 14:03:18 +01:00
Renovate Bot
473e6084d3 build: update source-map-loader to version 1.0.1 2020-07-01 14:02:56 +01:00
Renovate Bot
682052a953 build: update angular packages 2020-07-01 14:02:27 +01:00
Renovate Bot
96d9de8a84 build: update less-loader to version 6.1.3 2020-06-30 15:33:59 +01:00
Alan Agius
9efc3cd1cd fix(@angular-devkit/build-angular): don't dedupe linked modules
Closes #18021
2020-06-29 11:09:39 +01:00
Alan Agius
6547d15f23 fix(@angular-devkit/build-angular): don't dedupe modules without a name or version
We should not try to dedupe secondary entrypoints, or modules which don't have a name and a version.

Closes #17967
2020-06-29 11:09:39 +01:00
Alan Agius
8442cbf0aa fix(@angular-devkit/build-angular): emit formatted stats.json file 2020-06-29 11:09:20 +01:00
Renovate Bot
c7006dd629 build: update angular packages 2020-06-29 11:08:31 +01:00
Renovate Bot
0636e07992 build: update rollup to version 2.18.1 2020-06-29 11:08:02 +01:00
Renovate Bot
4632a53b4c build: update angular packages 2020-06-26 11:23:21 +01:00
Alan Agius
f66c4bd2b9 docs(@angular-devkit/build-angular): update link for commonjs warning 2020-06-24 15:22:59 -04:00
Renovate Bot
a7bd7aed45 build: update autoprefixer to version 9.8.4 2020-06-24 14:43:36 -04:00
Charles Lyding
3af3281e05 test(@angular-devkit/build-angular): use async expect in asset tests 2020-06-24 14:42:08 -04:00
Charles Lyding
3c734a89e1 fix(@angular-devkit/build-angular): use copy-on-write asset processing for non-watch builds
Optimized asset processing was only being performed when differential loading was enabled.  This change ensures that the optimized approach is used for non-watch builds.  This does not affect `ng serve` usage since it currently requires all application files to be in memory.
2020-06-24 14:42:08 -04:00
Renovate Bot
b403cf2e33 build: update jest-worker to version 26.1.0 2020-06-24 14:41:19 -04:00
Alan Agius
b3ae8c81ba build: update ng-packagr to stable 2020-06-24 14:41:04 -04:00
Renovate Bot
287f7d325d build: update less-loader to version 6.1.2 2020-06-23 08:45:14 -04:00
Renovate Bot
ae9b16ea1a build: update sass to version 1.26.9 2020-06-23 08:45:03 -04:00
Renovate Bot
40dfa4040b build: update autoprefixer to version 9.8.2 2020-06-22 12:13:06 -04:00
Renovate Bot
46ce6c4d5e build: update rollup to version 2.18.0 2020-06-22 12:12:30 -04:00
Renovate Bot
a5b35de377 build: update rollup to version 2.17.1 2020-06-19 15:28:51 -04:00
Renovate Bot
fe567ed4a7 build: update terser-webpack-plugin to version 3.0.6 2020-06-19 15:28:33 -04:00
Renovate Bot
e629da2557 build: update rollup to version 2.17.0 2020-06-18 12:51:51 -04:00
Renovate Bot
4cd9acfa7b build: update terser to version 4.8.0 2020-06-17 08:02:42 +02:00
Renovate Bot
6c37f39f83 build: update terser-webpack-plugin to version 3.0.5 2020-06-16 09:34:30 +02:00
Charles Lyding
e7e234963d build: update Angular to 10.0.0-rc.6 2020-06-15 15:21:09 -07:00
Renovate Bot
5317beb0dc build: update inquirer to version 7.2.0 2020-06-15 08:47:32 +02:00
Renovate Bot
48b1e1b7ff build: update rollup to version 2.16.1 2020-06-14 11:12:03 +02:00