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
Renovate Bot
30804fe16f
build: update angular packages
2020-08-13 16:57:04 +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
Tobias Gassmann
57b80ee09c
fix(@angular-devkit/architect): add name of the non-existing project to error message
2020-08-13 10:14:28 +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
c34d0b54c8
refactor(@angular-devkit/benchmark): make changes to make this package strict compliant
2020-08-12 19:28:27 +01:00
Alan Agius
a3f6cd3fbf
build: add @types/pidusage
as dev dependency
2020-08-12 19:28:27 +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
Charles Lyding
4e76f5a4aa
fix(@angular-devkit/schematics): ensure task option values are defined
2020-08-12 19:27:38 +01:00
Charles Lyding
165abc820b
fix(@angular-devkit/schematics): verify filesystem createSourceFromUrl context before use
2020-08-12 19:27:38 +01:00
Charles Lyding
3f780804fd
refactor(@angular-devkit/schematics): adjust types to support strict mode
2020-08-12 19:27:38 +01:00
Alan Agius
2dada50774
refactor(@angular-devkit/build-angular): change allEquivalent parameter type of generic iterable
...
Co-authored-by: Charles <19598772+clydin@users.noreply.github.com>
2020-08-12 19:27:19 +01:00
Alan Agius
0da7f79ab3
refactor(@angular-devkit/build-angular): simplify budgets allEquivalent
method
2020-08-12 19:27:19 +01:00
Charles Lyding
fa9a648cae
fix(@angular-devkit/build-optimizer): handle undefined factoryMeta in Webpack plugin
...
A Webpack module's `factoryMeta` property is not guaranteed to be defined. This change ensures that the build optimizer skip property is added even in the case of no `factoryMeta` currently defined.
2020-08-12 19:27:00 +01:00
Charles Lyding
4116dddb65
refactor(@angular-devkit/build-angular): cleanup Webpack type usage
...
These changes simplify type usage in several places as well as cover more usage scenarios with alternate configuration option structures (for example, options that can be arrays or object literals)..
2020-08-12 19:27:00 +01:00
Charles Lyding
155215d60a
refactor(@angular-devkit/build-angular): support Webpack assets as string or Buffer
...
Webpack 5 allows an asset's source to be either a string or a Buffer.
2020-08-12 19:27:00 +01:00
Charles Lyding
95b3384bb6
refactor(@angular-devkit/build-webpack): cleanup type usage
...
This change removes some unneeded casts and provides support for building against Webpack 5. Webpack 5 typings currently do not contain certain types (for example, `Compiler.Handler`). Webpack 5 also uses `Set` in many places instead of arrays.
2020-08-12 19:27:00 +01:00
Charles Lyding
76b1b53a4b
refactor(@angular-devkit/build-optimizer): verify Program for type-checking passes
2020-08-12 19:26:53 +01:00
Alan Agius
fc5d2b3ff2
test: remove tsconfig.base.json from test cases
2020-08-12 19:26:12 +01:00
Alexey Makhrov
042c33cfd2
fix(@angular-devkit/build-angular): better handle relative paths with bundleDependencies=false
...
When `bundleDependencies` is turned off, webpack only bundles modules imported via relative path.
Existing check works well for import paths like `'./some/file'`,
but fails for imports traversing the dir structure up, like `'../some/file'`.
2020-08-10 09:46:47 +01:00
Renovate Bot
891ff6a7ac
build: update ora to version 5.0.0
2020-08-10 09:45:12 +01:00
Renovate Bot
58a7fa17e7
build: update rollup to version 2.23.1
2020-08-10 09:45:03 +01:00
Alan Agius
8fd98d204e
refactor(@angular-devkit/build-angular): use webpack warnings instead of console.warn
2020-08-10 09:44:56 +01:00
Renovate Bot
282dd66cfb
build: update tslib to version 2.0.1
2020-08-10 09:44:20 +01:00
Renovate Bot
763ec42044
build: update css-loader to version 4.2.1
2020-08-10 09:44:13 +01:00
Alan Agius
e11d55679e
fix(@angular-devkit/build-angular): generate service worker manifest when running build in watch mode
...
Closes #16883
2020-08-07 00:58:18 +01:00
Renovate Bot
35bc2bc75f
build: update sass-loader to version 9.0.3
2020-08-07 00:58:05 +01:00
Renovate Bot
594cea2861
build: update babel packages
2020-08-07 00:57:56 +01:00
Ville Lahdenvuo
8a10f2e2b7
refactor(@angular-devkit/build-angular): improve budget warning messages
...
Make the warnings read more natural and work with vscode link detection.
2020-08-07 00:55:45 +01:00
Alan Agius
35c13a62e7
fix(@angular-devkit/schematics): set correct parent id in actions lists
...
Closes #18446
2020-08-05 12:00:33 -04:00
Charles Lyding
0f0067f5ae
build: update Angular packages to match prelease versions
2020-08-05 11:27:05 -04:00
Alan Agius
eca08cc93f
fix(@angular-devkit/build-angular): don't use parent modules while deduping
...
With this change we change the `DedupeModuleResolvePlugin` to act similar to `NormalModuleReplacementPlugin`
Closes : #18411
2020-08-05 10:26:26 -04:00
Alan Agius
606b56cb64
docs: update example on read workspace in devkit core page
2020-08-05 08:18:24 -04:00
Charles Lyding
2f6b81004b
refactor(@angular-devkit/build-angular): cleanup Webpack rule generation
...
This change reduces the number of variables needed as well as reduces type casting.
2020-08-05 08:17:04 -04:00
Renovate Bot
f5a2e41a33
build: update terser-webpack-plugin to version 4.0.0
2020-08-05 08:16:03 -04:00
Alan Agius
520459ed99
refactor: minor cleanup to common webpack configuration
2020-08-04 10:13:28 -04:00
Renovate Bot
e028b812b4
build: update terser-webpack-plugin to version 3.1.0
2020-08-04 06:52:04 -04:00
Charles Lyding
98ba784f5c
refactor(@angular-devkit/build-angular): simplify Webpack split chunks configuration
...
By leveraging the chunks function filter option, the test option can be reduced to only a regular expression instead of the more complex function. This change also provides support for Webpack 5.
2020-08-04 06:50:05 -04:00
Charles Lyding
126919030e
refactor(@angular-devkit/build-angular): lazy load several optional webpack plugins
...
Multiple Webpack plugins are only used when certain options are enabled. By only requiring them when needed, startup time can be reduced by potentially eliminating large dependency hierarchies from being loaded that will then be unused. This change currently only applies to plugins that are required. This limitation is due to the current webpack configuration infrastructure being synchronous which prevents dynamic import usage.
2020-08-04 06:49:24 -04:00
Alan Agius
de253fd78f
build: update terser to version 5.0.0
2020-08-03 15:41:15 -04:00
Alan Agius
cee5c31fa1
build: update @types/webpack-sources to version ^1.4.2
2020-08-03 15:40:38 -04:00