1303 Commits

Author SHA1 Message Date
Renovate Bot
bc5717b2d9 build: update copy-webpack-plugin to version 6.0.4 2020-08-31 11:56:46 +01:00
Renovate Bot
e3486e3e28 build: update source-map-loader to version 1.1.0 2020-08-31 11:55:53 +01:00
Renovate Bot
2a90263497 build: update rollup to version 2.26.8 2020-08-31 11:55:42 +01:00
Renovate Bot
0b6f68964e build: update open to version 7.2.1 2020-08-31 11:55:22 +01:00
Alan Agius
197e96b8c5 refactor(@angular-devkit/build-angular): remove deprecated scripts[].lazy and styles[].lazy
BREAKING CHANGE:

- Deprecated `scripts[].lazy` has been renamed with `scripts[].inject`
- Deprecated `styles[].lazy` has been renamed with `styles[].inject`

Note: this change only effects direct `@angular-devkit/build-angular` users and not application developers. Users will be migrated automatically off these options.
2020-08-31 11:54:23 +01:00
Alan Agius
dd260185a1 refactor(@angular-devkit/build-angular): deprecate extractCss browser builder option
BREAKING CHANGE:

Browser builder `extractCss` option default value has been changed from `false` to `true`. This is to reflect the default behaviour when this deprecated option is removed.
2020-08-31 11:54:23 +01:00
Charles Lyding
71360878d9 fix(@angular-devkit/build-angular): ensure ivy extraction file names match sourcemaps
Not doing so results in a circular sourcemap warning when attempting extraction.
2020-08-28 08:55:36 +01:00
Renovate Bot
de0dc55116 build: update mini-css-extract-plugin to version 0.11.0 2020-08-28 08:55:16 +01:00
Charles Lyding
156e31778f feat(@angular-devkit/build-angular): ask to use a new port if in use
The dev-server builder will now ask the user if an available port can be used when a specified port is already in use.  If the user answers in the affirmative, an available port will be used instead.  Otherwise, the serve operation will fail.  If the terminal is not interactive (for example, CI), the serve operation will fail directly in the event of an already in use port.
2020-08-28 08:52:40 +01:00
Alan Agius
86fe03c979 build: update webpack-merge to version 5.1.2 2020-08-28 08:50:30 +01:00
Alan Agius
5a43e40656 build: update less-loader to version 7.0.0 2020-08-27 21:52:36 +01:00
Renovate Bot
ee5e2bfdec build: update rollup to version 2.26.6 2020-08-27 21:52:28 +01:00
Charles Lyding
854d1844db fix(@angular-devkit/build-angular): support @angular/localize 10.1.0
Several utility functions within `@angular/localize` were updated in 10.1.0.  This change ensures that this newer version will function with 10.1.0 of `@angular-devkit/build-angular`.
2020-08-26 18:46:14 -04:00
Charles Lyding
802d5ade78 feat(@angular-devkit/build-angular): allow transformation of i18n extraction builder configuration
This change allows the underlying webpack configuration of the i18n extraction builder to be modified when programmatically using the builder.
Programmatic usage of the `@angular-devkit/build-angular` builders is currently considered experimental.

Closes #16679
2020-08-26 10:54:24 -04:00
Renovate Bot
2010023e74 build: update sass-loader to version 10.0.1 2020-08-26 09:23:34 -04:00
Hari G
61701ab259 fix(@angular-devkit/build-angular): handle base tag endOffset in index.html generation
* fix endOffset if the base tag is already present
* add test case for this

Closes #18381
2020-08-25 12:52:38 -04:00
Alan Agius
425b160b52 build: update to TypeScript 4 2020-08-25 04:27:40 -04:00
Renovate Bot
0933fd0ac4 build: update css-loader to version 4.2.2 2020-08-25 03:47:26 -04:00
Renovate Bot
d8f67e154b build: update sass-loader to version 10.0.0 2020-08-25 03:47:11 -04:00
Renovate Bot
87949dafb4 build: update open to version 7.2.0 2020-08-24 15:40:50 -04:00
Renovate Bot
189773d49c build: update rollup to version 2.26.5 2020-08-24 15:38:58 -04:00
Charles Lyding
0d7e0f5eb5 style(@angular-devkit/build-angular): remove duplicate license header 2020-08-24 07:50:01 -04:00
Renovate Bot
73aa78316f build: update terser to version 5.2.1 2020-08-21 13:27:30 -04:00
Renovate Bot
ec442c7a0e build: update source-map-loader to version 1.0.2 2020-08-20 19:49:05 +02:00
Alan Agius
d1adba1347 build: update build_bazel_rules_nodejs to 2.0.2 2020-08-19 16:00:07 +02:00
Renovate Bot
45084b57d7 build: update terser to version 5.2.0 2020-08-19 10:22:09 +02:00
Renovate Bot
1c2ac04bcf build: update rollup to version 2.26.4 2020-08-19 10:21:44 +02:00
Charles Lyding
a5293fe747 feat(@angular-devkit/build-angular): support i18n message extraction with Ivy
This change adds support for extracting i18n translation messages with an Ivy enabled application. This is accomplished by using the new extraction capabilities present in the `@angular/localize` package and will require version 10.1 or later of the package.  Since this change uses an new extraction method, it currently must be enabled during extraction by using the `--ivy` flag. The flag is a precaution to prevent unintentional breakage for existing applications but will become the default behavior for all Ivy enabled applications in a future release.

Closes #18275
2020-08-18 16:49:45 +02:00
Alan Agius
60a42c28f6 refactor(@angular-devkit/build-angular): remove JIT mode styles and templates workaround 2020-08-17 19:17:46 +02:00
Renovate Bot
819790e934 build: update rollup to version 2.26.3 2020-08-17 18:06:38 +02:00
Renovate Bot
721ba918b1 build: update rollup to version 2.26.2 2020-08-16 20:42:26 +02:00
Renovate Bot
a1081f5365 build: update rollup to version 2.26.0 2020-08-15 09:37:45 +02:00
Renovate Bot
9e9b9691f1 build: update terser to version 5.1.0 2020-08-15 09:07:00 +02:00
Alan Agius
bbe83ae377 fix(@angular-devkit/build-angular): don't warn on transitive CommonJS dependencies in AOT mode
At the moment in AOT mode if a CommonJS dependency has transitive CommonJS dependency we are issue warning for both.

With this change we align the behaviour with JIT mode, where we issue warnings only for direct CommonJS dependencies or ES dependencies which have CommonJS dependencies.

Closes #18526
2020-08-14 16:21:49 +02:00
Alan Agius
e5b29ac756 feat(@angular-devkit/build-angular): add ng-packagr builder in @angular-devkit/build-angular
With this change we add the `ng-packagr` builder in `@angular-devkit/build-angular`
2020-08-14 15:38:12 +02:00
Alan Agius
ba7f6e8cf2 test(@angular-devkit/build-angular): add ng-packagr test application in build-angular 2020-08-14 15:38:12 +02:00
Alan Agius
155707a1ba fix(@angular-devkit/build-angular): don't log blank warnings in console
Closes #18524
2020-08-14 14:41:18 +02:00
Renovate Bot
882c722ac9 build: update rollup to version 2.25.0 2020-08-14 08:29:11 +02:00
Alan Agius
60e8ac2b1e refactor(@angular-devkit/build-angular): improve HMR warning 2020-08-13 20:53:54 +02:00
Alan Agius
24fedb268c feat(@angular-devkit/build-angular): enable HMR for extracted CSS
The latest versions of mini-css-extract-plugin support HMR, see: https://github.com/webpack-contrib/mini-css-extract-plugin#hot-module-reloading-hmr for more details
2020-08-13 20:53:54 +02:00
Charles Lyding
9cd796b124 feat(@angular-devkit/build-angular): support multiple translation files per locale
This change implements the capability to specify multiple translation files per locale. The specified translation files for each locale will be merged prior to localization. The Angular configuration file has been updated to allow for both a single path string or an array of path strings when specifying the translations for each locale. If the same message identifier is present in multiple translation files, a warning will currently be issued and the last file with the duplicate message identifier will take precedence.

Closes #18276
2020-08-13 12:23:59 +02:00
Renovate Bot
151af8e3fb build: update terser-webpack-plugin to version 4.1.0 2020-08-13 10:13:28 +02:00
Renovate Bot
75897676b3 build: update worker-plugin to version 5.0.0 2020-08-12 19:29:45 +01:00
Charles Lyding
8cca8ab961 refactor(@angular-devkit/build-angular): cleanup server webpack configuration 2020-08-12 19:29:25 +01:00
Alan Agius
0ba5664525 refactor(@angular-devkit/build-angular): update bundle calculator make it strict compliant 2020-08-12 19:28:17 +01:00
Alan Agius
5085da3417 refactor(@angular-devkit/build-angular): update postcss-cli-resources plugin to make it strict compliant 2020-08-12 19:28:17 +01:00
Alan Agius
0ac6def35c test(@angular-devkit/build-angular): update allow js test plugin to make it strict compliant 2020-08-12 19:28:17 +01:00
Alan Agius
d5dc73b1c3 refactor(@angular-devkit/build-angular): update analytics plugin to make it strict compliant 2020-08-12 19:28:17 +01:00
Renovate Bot
b7f24d1341 build: update mini-css-extract-plugin to version 0.10.0 2020-08-12 19:28:06 +01:00
Renovate Bot
e4b8d7d9a0 build: update jest-worker to version 26.3.0 2020-08-12 19:27:52 +01:00