fix(deps): update angular-cli monorepo to v14 (major) #1060
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:
13.3.6
->14.0.5
13.3.6
->14.0.5
Release Notes
angular/angular-cli
v14.0.5
Compare Source
@angular/cli
@schematics/angular
RouterModule
parallel toRoutingModule
@angular-devkit/build-angular
@ngtools/webpack
node_modules
does not existSpecial Thanks
Alan Agius, Charles Lyding, JoostK and Paul Gschwendtner
v14.0.4
Compare Source
@angular/cli
--collection
option inng new
@schematics/angular
sourceRoot
instead ofsrc
in universal schematic@angular-devkit/architect
@angular-devkit/build-angular
@ngtools/webpack
Special Thanks
Alan Agius, Charles Lyding and Tim Bowersox
v14.0.3
Compare Source
@angular/cli
ng completion
commands--configuration
withng run
no
@angular-devkit/build-angular
--include
optioncodeCoverageExclude
correctly in Windows@angular-devkit/core
Special Thanks
Alan Agius, Charles Lyding and Paul Gschwendtner
v14.0.2
Compare Source
@angular/cli
@schematics/angular
minimal
workspaces@angular-devkit/build-angular
en-US
Special Thanks
Alan Agius and Julien Marcou
v14.0.1
Compare Source
@angular/cli
@schematics/angular
@angular-devkit/build-angular
verbose
option/ws
to/ng-cli-ws
@angular/pwa
Special Thanks
Alan Agius, Charles Lyding and Doug Parker
v14.0.0
Compare Source
Breaking Changes
@angular/cli
Several changes to the
ng analytics
command syntax.ng analytics project <setting>
has been replaced withng analytics <setting>
ng analytics <setting>
has been replaced withng analytics <setting> --global
Support for Node.js v12 has been removed as it will become EOL on 2022-04-30. Please use Node.js v14.15 or later.
Support for TypeScript 4.4 and 4.5 has been removed. Please update to TypeScript 4.6.
--all
option fromng update
has been removed without replacement. To update packages which don’t provideng update
capabilities in your workspacepackage.json
usenpm update
,yarn upgrade-interactive
oryarn upgrade
instead.Deprecated option
--prod
has been removed from all builders.--configuration production
/-c production
should be used instead if the default configuration of the builder is not configured toproduction
.--configuration
cannot be used withng run
. Provide the configuration as part of the target. Ex:ng run project:builder:configuration
.Deprecated
ng x18n
andng i18n-extract
commands have been removed in favor ofng extract-i18n
.Several changes in the Angular CLI commands and arguments handling.
ng help
has been removed in favour of the—-help
option.ng —-version
has been removed in favour ofng version
andng v
.—-sourceMap
instead of—-source-map
will result in an error.ng update
,—-migrate-only
option no longer accepts a string of migration name, instead use—-migrate-only -—name <migration-name>
.—-help json
help has been removed.@angular-devkit/architect-cli
@angular-devkit/schematics-cli
@angular-devkit/build-angular
browser
andkarma
buildersscript
andstyles
options input files extensions are now validated.Valid extensions for
scripts
are:.js
.cjs
.mjs
.jsx
.cjsx
.mjsx
Valid extensions for
styles
are:.css
.less
.sass
.scss
.styl
We now issue a build time error since importing a CSS file as an ECMA module is non standard Webpack specific feature, which is not supported by the Angular CLI.
This feature was never truly supported by the Angular CLI, but has as such for visibility.
Reflect metadata polyfill is no longer automatically provided in JIT mode
Reflect metadata support is not required by Angular in JIT applications compiled by the CLI.
Applications built in AOT mode did not and will continue to not provide the polyfill.
For the majority of applications, the reflect metadata polyfill removal should have no effect.
However, if an application uses JIT mode and also uses the previously polyfilled reflect metadata JavaScript APIs, the polyfill will need to be manually added to the application after updating.
To replicate the previous behavior, the
core-js
package should be manually installed and theimport 'core-js/proposals/reflect-metadata';
statement should be added to the application'spolyfills.ts
file.NG_BUILD_CACHE
environment variable has been removed.cli.cache
in the workspace configuration should be used instead.The deprecated
showCircularDependencies
browser and server builder option has been removed. The recommended method to detect circular dependencies in project code is to use either a lint rule or other external tools.@angular-devkit/core
parseJson
andParseJsonOptions
APIs have been removed in favor of 3rd party JSON parsers such asjsonc-parser
.fs
namespaceclean
mapObject
@angular-devkit/schematics
NodePackageInstallTask
will not execute package scripts by defaultThe
NodePackageInstallTask
will now use the package manager's--ignore-scripts
option by default.The
--ignore-scripts
option will prevent package scripts from executing automatically during an install.If a schematic installs packages that need their
install
/postinstall
scripts to be executed, theNodePackageInstallTask
now contains anallowScripts
boolean option which can be enabled to provide theprevious behavior for that individual task. As with previous behavior, the
allowScripts
option willprevent the individual task's usage of the
--ignore-scripts
option but will not override the packagemanager's existing configuration.
analytics
property has been removed fromTypedSchematicContext
interface@ngtools/webpack
ivy
namespace has been removed from the public API.ivy.AngularWebpackPlugin
->AngularWebpackPlugin
ivy.AngularPluginOptions
->AngularPluginOptions
Deprecations
@angular/cli
The
defaultCollection
workspace option has been deprecated in favor ofschematicCollections
.Before
After
The
defaultProject
workspace option has been deprecated. The project to use will be determined from the current working directory.@angular-devkit/core
ContentHasMutatedException
,InvalidUpdateRecordException
,UnimplementedException
andMergeConflictException
symbol from@angular-devkit/core
have been deprecated in favor of the symbol from@angular-devkit/schematics
.UnsupportedPlatformException
- A custom error exception should be created instead.@angular/cli
--global
option tong analytics
commandng analytics info
commandng cache
commandng analytics
commanddefaultProject
optionng update
andng completion
commandsng completion
set up CLI autocompletion by modifying.bashrc
filespnpm-lock.yaml
existsng doc
doesn't open browser in Windowsng g
show descrption fromcollection.json
if not present inschema.json
ng update
--search
option inng doc
ng update
ng analytics
ng g
help outputng config
ng update
--all
option fromng update
--prod
flagextract-i18n
.@schematics/angular
defaultProject
in workspace configaddDependency
rule to utilities^
as version prefixES2020
package.json
in libraries secondary entrypointsbeforeEach()
@types/node
from new projects@angular-devkit/architect-cli
@angular-devkit/schematics-cli
@angular-devkit/build-angular
scripts
andstyles
optionstailwind.config.cjs
as valid tailwindcss configurationNG_BUILD_CACHE
environment variableshowCircularDependencies
browser and server builder option@angular-devkit/core
parseJson
andParseJsonOptions
APIs@angular-devkit/schematics
listSchematicNames
to allow returning hidden schematics.NodePackageInstallTask
analytics
property@angular/pwa
@schematics/angular
utility deep import usage@ngtools/webpack
Special Thanks
Adrien Crivelli, Alan Agius, Charles Lyding, Cédric Exbrayat, Daniil Dubrava, Doug Parker, Elton Coelho, George Kalpakas, Jason Bedard, Joey Perrott, Kristiyan Kostadinov, Paul Gschwendtner, Pawel Kozlowski, Tobias Speicher and alkavats1
v13.3.8
Compare Source
@angular/pwa
Special Thanks
Alan Agius
v13.3.7
Compare Source
@angular-devkit/build-angular
Special Thanks
Alan Agius and Joey Perrott
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.