chore(deps): update angular-cli monorepo to v13 (major) #357
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
12.2.15->13.2.012.2.15->13.2.0Release Notes
angular/angular-cli
v13.2.0Compare Source
@schematics/angular
@angular-devkit/architect
@angular-devkit/build-angular
@angular-devkit/build-webpack
Special Thanks
Alan Agius, Cédric Exbrayat, Derek Cormier, Doug Parker, Joey Perrott, Jordan Pittman, grant-wilson and minijus
v13.1.4Compare Source
@angular-devkit/build-angular
new URLsyntaxSpecial Thanks
Alan Agius, Derek Cormier and Doug Parker
v13.1.3Compare Source
@angular/cli
Unable to find compatible packageduringng add@schematics/angular
skipTestflag for resolvers when using ng new --skip-tests@angular-devkit/build-angular
core-js/proposals/reflect-metadata:whereCSS pseudo-class$localizecalls are replaced in watch modecontenthashinstead ofchunkhashfor chunksesbuildto0.14.11Special Thanks
Alan Agius, Bill Barry, Derek Cormier, Elio Goettelmann, Joey Perrott, Kasper Christensen, Lukas Spirig and Zoltan Lehoczky
v13.1.2Compare Source
@angular-devkit/build-angular
tailwindcsssupport for version 3verboseoption is usedstylesoption@ngtools/webpack
Special Thanks
Alan Agius, Derek Cormier and Doug Parker
v13.1.1Compare Source
@schematics/angular
Special Thanks
Alan Agius, Cédric Exbrayat and Derek Cormier
v13.1.0Compare Source
@angular/cli
ng docdoes open browser on Windows@schematics/angular
@angular-devkit/schematics-cli
@angular-devkit/build-angular
dirattribute when using localizationdirattribute@ngtools/webpack
cjsandmjsto passthrough filesSpecial Thanks
Alan Agius, Charles Lyding, Doug Parker, Ferdinand Malcher, Joey Perrott and Ruslan Lekhman
v13.0.4Compare Source
@angular/cli
ng updateng update@schematics/angular
test.ts@angular-devkit/build-angular
node_moduleswhen polling is enabled@ngtools/webpack
defaultpropertySpecial Thanks
Alan Agius, Billy Lando, David-Emmanuel DIVERNOIS and Derek Cormier
v13.0.3Compare Source
Special Thanks
Alan Agius, Joey Perrott and Krzysztof Platis
v13.0.2Compare Source
@angular/cli
packageGroupNamein ng update output@schematics/angular
@angular-devkit/build-angular
inputof typefileduring HMR[NG HMR] Unknown input typewhen restoring file type inputSpecial Thanks
Alan Agius, Charles Lyding, Joey Perrott and Paul Gschwendtner
v13.0.1Compare Source
@schematics/angular
Special Thanks
Charles Lyding and Joey Perrott
v13.0.0Compare Source
Breaking Changes
@angular/cli
12.20.@schematics/angular
classlist.jsandweb-animations-jsare removed from application polyfills and uninstalled from the package. These were only needed for compatibility with Internet Explorer, which is no longer needed now that Angular only supports evergreen browsers. See: https://angular.io/guide/browser-support.Add the following to the polyfills file for an app to re-add these packages:
And then run:
@schematics/angulardeprecated options.lintFixhave been removed from all schematics.ng lint --fixshould be used instead.legacyBrowsershave been removed from theapplicationschematics since IE 11 is no longer supported.configurationhas been removed from theweb-workeras it was unused.targethas been removed from theservice-workeras it was unused.@angular-devkit/build-angular
Support for
karma-coverage-instanbul-reporterhas been dropped in favor of the official karma coverage pluginkarma-coverage.Support for
node-sasshas been removed.sasswill be used by default to compile SASS and SCSS files.NG_PERSISTENT_BUILD_CACHEenvironment variable option no longer have effect. Configurecli.cachein the workspace configuration instead.{ "$schema": "./node_modules/@​angular/cli/lib/config/schema.json", "version": 1, "cli": { "cache": { "enabled": true, "path": ".custom-cache-path", "environment": "all" } } ... }Calling
BuilderContext.scheduleBuilder()with a builder from@angular-devkit/build-angularnow requires passing thetargetproperty in the 3rd argument, like in the following example:The automatic inclusion of Angular-required ES2015 polyfills to support ES5 browsers has been removed. Previously when targetting ES5 within the application's TypeScript configuration or listing an ES5 requiring browser in the browserslist file, Angular-required polyfills were included in the built application. However, with Angular no longer supporting IE11, there are now no browsers officially supported by Angular that would require these polyfills. As a result, the automatic inclusion of these ES2015 polyfills has been removed. Any polyfills manually added to an application's code are not affected by this change.
With this change a number of deprecated dev-server builder options which proxied to the browser builder have been removed. These options should be configured in the browser builder instead.
The removed options are:
aotsourceMapdeployUrlbaseHrefvendorChunkcommonChunkoptimizationprogressWith this change we removed several deprecated builder options
extractCsshas been removed from the browser builder. CSS is now always extracted.servePathDefaultWarningandhmrWarninghave been removed from the dev-server builder. These options had no effect.Deprecated
@angular-devkit/build-angular:tslintbuilder has been removed. Use https://github.com/angular-eslint/angular-eslint instead.Differential loading support has been removed. With Angular no longer supporting IE11, there are now no browsers officially supported by Angular that require ES5 code. As a result, differential loading's functionality for creating and conditionally loading ES5 and ES2015+ variants of an application is no longer required.
TypeScript versions prior to 4.4 are no longer supported.
The dev-server now uses WebSockets to communicate changes to the browser during HMR and live-reloaded. If during your development you are using a proxy you will need to enable proxying of WebSockets.
We remove inlining of Google fonts in WOFF format since IE 11 is no longer supported. Other supported browsers use WOFF2.
@angular-devkit/build-webpack
webpack-dev-serverversion 3 has been removed. For more information about the migration please see: https://github.com/webpack/webpack-dev-server/blob/master/migration-v4.mdNote: this change only affects users depending on
@angular-devkit/build-webpackdirectly.@angular-devkit/core
idin schemas. Use$idinstead.Note: this only effects schematics and builders authors.
@angular-devkit/schematics
isActionhas been removed without replacement as it was unused.With this change we remove the following deprecated APIs
TslintFixTaskTslintFixTaskOptionsNote: this only effects schematics developers.
@ngtools/webpack
Deprecated
inlineStyleMimeTypeoption has been removed fromAngularWebpackPluginOptions. UseinlineStyleFileExtensioninstead.Applications directly using the
webpack-cliand not the Angular CLI to build must set the environment variableDISABLE_V8_COMPILE_CACHE=1. The@ngtools/webpackpackage now uses dynamic imports to provide support for the ESM@angular/compiler-clipackage. Thev8-compile-cachepackage used by thewebpack-clidoes not currently support dynamic import expressions and will cause builds to fail if the environment variable is not specified. Applications using the Angular CLI are not affected by this limitation.Deprecations
@angular-devkit/build-optimizerIt's functionality has been included in
@angular-devkit/build-angularso this package is no longer needed by the CLI and we will stop publishing the package soon. It has been an experimental (never hit1.0.0) and internal (only used by Angular itself) package and should be not be used directly by others.@angular-devkit/build-angular
NG_BUILD_CACHEenvironment variable option will be removed in the next major version. Configurecli.cachein the workspace configuration instead.@angular/cli
enginesto requirenode12.20.0ng updateoutput for Angular packages@schematics/angular
/.angular/cacheto.gitignorenoImplicitOverrideandnoPropertyAccessFromIndexSignatureto workspace tsconfigdestroyAfterEachin newly generated spec filesrenderModuleFactoryfrom server filetargetandliboptions for library tsconfig@angular-devkit/build-optimizeras deprecated.@angular-devkit/architect
@angular-devkit/build-angular
type=moduleto all scripts tagskarma-coverage-instanbul-reporternode-sasswebpack-dev-serverto version 4es2020andes2015conditional exports@angular/localize/toolsnot respected@angular/localizedetection prior to webpack initializationxxhash64@angular-devkit/build-webpack
webpack-dev-serverto version 4@angular-devkit/core
chokidarNodeJsSyncHost/NodeJsAsyncHostdelete operation@angular-devkit/schematics
isAction@ngtools/webpack
inlineStyleMimeTypeoption@angular/compiler-clipackageSpecial Thanks
Alan Agius, Charles Lyding, Doug Parker, Douglas Parker, Joey Perrott, Kristiyan Kostadinov, Lukas Spirig and Paul Gschwendtner
Configuration
📅 Schedule: "after 4pm on friday,before 9am on monday,every weekend" in timezone Europe/Paris.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by WhiteSource Renovate. View repository job log here.