1745 Commits

Author SHA1 Message Date
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
Renovate Bot
a958b29b3a build: update css-loader to version 4.2.0 2020-08-03 15:39:11 -04:00
Tom Dutton
c6e88d242d build: update babel packages 2020-07-31 11:59:55 +02:00
Renovate Bot
7828844dee build: update autoprefixer to version 9.8.6 2020-07-31 09:57:22 +02:00
Renovate Bot
9104ffd3de build: update angular packages 2020-07-31 09:56:53 +02:00
Renovate Bot
008c972919 build: update webpack to version 4.44.1 2020-07-31 09:56:41 +02:00
Renovate Bot
be64477ce8 build: update css-loader to version 4.1.1 2020-07-31 09:56:13 +02:00
Renovate Bot
3ffb4c9283 build: update jest-worker to version 26.2.1 2020-07-31 09:56:01 +02:00
Renovate Bot
36668a36a7 build: update rxjs to version 6.6.2 2020-07-31 09:52:10 +02:00
Charles Lyding
dd9a396868 refactor(@angular-devkit/build-angular): add webpack diagnostic helpers 2020-07-29 10:53:30 +02:00
Renovate Bot
8450e07189 build: update angular packages 2020-07-29 10:15:08 +02:00
Alan Agius
a0804ebcdd refactor(@angular-devkit/build-angular): use parse5 version 6 to augment index 2020-07-28 21:23:32 +02:00
Charles Lyding
378faa7011 refactor(@angular-devkit/build-angular): cleanup webpack type usage 2020-07-28 14:38:21 +02:00
Renovate Bot
ca9a16ced2 build: update terser-webpack-plugin to version 3.0.8 2020-07-28 08:36:58 +02:00
Renovate Bot
07e3b2b4af build: update css-loader to version 4.0.0 2020-07-26 09:25:52 +02:00
Renovate Bot
d939629974 build: update inquirer to version 7.3.3 2020-07-25 12:46:11 +02:00
Renovate Bot
9602237e0b build: update webpack to version 4.44.0 2020-07-25 11:10:35 +02:00
Renovate Bot
8bd26df711 build: update rollup to version 2.23.0 2020-07-25 10:06:23 +02:00
Keen Yee Liau
fa9136a971 build: minor fixes for google3 sync
This commit makes a few minor changes to enable syncing the CLI repository
into google3.

1. mark pkg_tar and pkg_npm as external
2. remove dependencies (marked as comment) which are stale in google3
3. remove TS files generated from JSON schema in BUILD files since these
   files are compiled and added to the g3 codebase at sync time
4. Some minor typing changes
5. Remove duplicate licenses
6. mark dependencies which are not available in g3 as external
7. Immediately type the result of JSON.parse() as required by g3 linter.
   Otherwise, the type defaults to `any`.
2020-07-24 22:52:22 +02:00
Alan Agius
05588fcee1 refactor: clean up unused code and imports 2020-07-24 08:01:52 +02:00
Alan Agius
5bb853f1d5 build: update @types/inquirer to 7.3.0 2020-07-23 23:30:22 +02:00
Renovate Bot
53e4f5819a build: update regenerator-runtime to version 0.13.7 2020-07-23 11:09:37 +02:00
Renovate Bot
f396ba5f4f build: update angular packages 2020-07-23 09:58:11 +02:00
Renovate Bot
047282f40e build: update rollup to version 2.22.2 2020-07-22 12:57:13 +01:00
Renovate Bot
a0e02db3da build: update regenerator-runtime to version 0.13.6 2020-07-22 12:56:43 +01:00
Alan Agius
a85ba990eb refactor: clean up several files
Most of these changes are requires for TS 4 update
2020-07-22 12:56:34 +01:00
Alan Agius
44279c9814 refactor: remove no longer needed workaround for AJV 2020-07-22 12:54:54 +01:00
Renovate Bot
ca0e6efc19 build: update open to version 7.1.0 2020-07-21 10:25:04 +01:00
Pete Bacon Darwin
5e46e1a6bc refactor(@angular-devkit/build-angular): display translation-file diagnostics
If no translation parsers could parse a translation-file
we displayed a generic error, which makes it difficult to
track down if there is a problem with the file.

https://github.com/angular/angular/pull/37909 introduces
a new `parser.analyze()` API that allows us to get hold
of the diagnostic messages from trying to parse the
translation-files.

This commit will render these messages if none of the
translation parsers are succcesful.

Note that in order to maintain compatibility with versions
of `@angular/localize` that do not have the `analyze()`
method, the commit includes a polyfill, which can be removed
after a release where we can guarantee that the method
will be available.
2020-07-21 10:24:48 +01:00
Charles Lyding
3d8e474d5d fix(@angular-devkit/build-angular): mark rxjs add imports as having side effects
This change prevents webpack from removing the operator add imports from the rxjs package (for example, `import 'rxjs/add/operator/filter';`).  The entire rxjs package is currently marked as side effect free from within the rxjs `package.json` but the files in the add directory intentionally contain side effects.
2020-07-20 11:48:50 +01:00
Charles Lyding
993b2bd9c7 fix(@angular-devkit/build-angular): avoid ES module assumption for vendor files
This change prevents import statements from being added to commonjs files when downleveling helpers are needed.  These imports would then cause webpack to assume that the file is an ES module and potentially break the commonjs file.

Fixes #18284
2020-07-20 11:48:02 +01:00
Alan Agius
2443fd49bd fix(@angular-devkit/build-angular): flatten child compilation errors and warnings
Closes #18231
2020-07-20 11:47:23 +01:00
Renovate Bot
00e111512f build: update rollup to version 2.22.1 2020-07-20 11:46:43 +01:00
Renovate Bot
1eb9752162 build: update pidusage to version 2.0.21 2020-07-20 11:46:16 +01:00
Renovate Bot
8959be622f build: update ora to version 4.0.5 2020-07-20 11:46:04 +01:00
Renovate Bot
65272a93d7 build: update @jsdevtools/coverage-istanbul-loader to version 3.0.5 2020-07-20 11:45:41 +01:00