angular / angular-cli Public
master
Commits on Nov 3, 2021
-
-
-
fix(@ngtools/webpack): add
cjsandmjsto passthrough filesWith this change we add `.mjs` and `.cjs` JS files passthough when `allowedJs` is not enabled.
-
refactor(@angular-devkit/build-angular): clean up webpack configurations
With this change we remove the worker and typescript configuration.
Commits on Nov 2, 2021
-
-
-
fix(@angular-devkit/build-angular): remove potential race condition iβ¦
β¦n i18n worker execution There was previously the potential for two workers to complete quickly at the same time which could result in one of the results not being propagated to the remainder of the system. This situation has now been corrected by removing the worker execution at a later point in the process. (cherry picked from commit 802b1b0)
-
Commits on Nov 1, 2021
-
fix(@angular-devkit/build-angular): use es2015 when generating serverβ¦
β¦ bundles ES2020 can contain JS syntax which are not compatible with all supported Node.js versions such as optional chaining.
-
-
-
-
-
Commits on Oct 29, 2021
-
-
build: update some types to be compatible with Node v14
See http://cl/406111801 with the google3 version of this change.
Commits on Oct 28, 2021
-
refactor(@angular-devkit/build-angular): unify webpack configurations
With this change we unify most of the webpack configuration into the common configuration. A number of lengthy functions and code portions have been moved into a seperate file to make the configuration easier to follow.
-
-
fix(@angular-devkit/build-angular): move
@angular/localizedetectioβ¦β¦n prior to webpack initialization Fail faster if `@angular/localize` is not installed and update the error message since now there is a single extraction mode.
-
fix(@angular/cli): update
ng updateoutput for Angular packagesWith #21986 we now error when updating `@angular/` and `@nguniversal/` packages across multiple major versions. With this chnage we update `ng update` output to show the correct instructions. Before ``` $ ng update --next We analyzed your package.json, there are some packages to update: Name Version Command to update -------------------------------------------------------------------------------- @angular/cli 12.2.12 -> 13.0.0-rc.2 ng update @angular/cli --next @angular/core 11.2.14 -> 13.0.0-rc.2 ng update @angular/core --next ``` Now ``` $ ng update --next We analyzed your package.json, there are some packages to update: Name Version Command to update -------------------------------------------------------------------------------- @angular/cli 12.2.12 -> 13.0.0-rc.2 ng update @angular/cli --next @angular/core 11.2.14 -> 12.2.9 ng update @angular/core@12 ``` Closes #19381
-
Commits on Oct 27, 2021
-
-
fix(@angular-devkit/build-angular): improve sourcemaps fidelity when β¦
β¦code coverage is enabled With this change we replace `@jsdevtools/coverage-istanbul-loader` webpack loader with [`babel-plugin-istanbul`](https://github.com/istanbuljs/babel-plugin-istanbul) which is an official Babel plugin by the istanbuljs team. Previously, when code coverage was enabled we had multiple Babel runs on the same file. This is because istanbuljs' `instrumentSync` and `instrument` APIs which are used by the Webpack plugin invokes Babel directly https://github.com/istanbuljs/istanbuljs/blob/66bc39b3c7b301a4b4456101a9996f90b1638dc0/packages/istanbul-lib-instrument/src/instrumenter.js#L98 By using the babel plugin directly, we avoid this which also improves the sourcemaps correctness and test performance. Closes #22010
-
-
-
fix(@angular/cli): exclude packages from ng add that contain invalid β¦
β¦peer dependencies Certain older versions of packages may contain missing or invalid peer dependencies. As a result these packages may be incorrectly added to the project when no newer compatible version is found. An exclusion list is now present within `ng add` that will exclude packages with known peer dependency concerns from consideration when adding a package. Currently, only `@angular/localize@9.x` is included in the list.
Commits on Oct 26, 2021
-
ci: update commit-message-based-labels job to be called labels
Using the job name labels results in a more readable and better looking Github status.
-
-
-
fix(@angular-devkit/build-angular): update
crittersto version `0.0β¦β¦.12` This change brings in a security fix causes was causes by an outdated dependency. See GoogleChromeLabs/critters#82 for more information. Also, remote stylesheets are excluded from processing, were previously this caused build failures. Closes #20794
-
refactor(@schematics/angular): remove no longer used migrations
Previously, we introduced a change to show an error message when users try to update `@angular/` and `@nguniversal/` packages across multiple major versions. The mentioned change makes these migrations no longer used.
-
fix(@angular/cli): error when updating Angular packages across multi-β¦
β¦major migrations With this change we show an error message when users try to update `@angular/` and `@nguniversal/` packages across multiple major versions.
Commits on Oct 21, 2021
-
-
test(@angular-devkit/build-angular): update tests to use
xxhash64`loader-utils` version 3, introduced a breaking change with uses the faster `xxhash64` hashing algo.