Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update angular-cli monorepo to v14 (major) #1060

Merged
merged 1 commit into from
Jul 8, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 2, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@angular-devkit/core 13.3.6 -> 14.0.5 age adoption passing confidence
@angular-devkit/schematics 13.3.6 -> 14.0.5 age adoption passing confidence

Release Notes

angular/angular-cli

v14.0.5

Compare Source

@​angular/cli
Commit Type Description
98a6aad60 fix during an update only use package manager force option with npm 7+
094aa16aa fix improve error message for project-specific ng commands when run outside of a project
e5e07fff1 fix show deprecated workspace config options in IDE
@​schematics/angular
Commit Type Description
f9f970cab fix prevent importing RouterModule parallel to RoutingModule
@​angular-devkit/build-angular
Commit Type Description
aa8ed532f fix disable glob mounting for patterns that start with a forward slash
c76edb8a7 fix don't override base-href in HTML when it's not set in builder
f64903528 fix improve detection of CommonJS dependencies
74dbd5fc2 fix support hidden component stylesheet sourcemaps with esbuild builder
@​ngtools/webpack
Commit Type Description
7aed97561 fix do not run ngcc when node_modules does not exist

Special Thanks

Alan Agius, Charles Lyding, JoostK and Paul Gschwendtner

v14.0.4

Compare Source

@​angular/cli
Commit Type Description
fc72c625b fix correctly handle --collection option in ng new
f5badf221 fix improve global schema validation
ed302ea4c fix remove color from help epilogue
@​schematics/angular
Commit Type Description
c58c66c0d fix use sourceRoot instead of src in universal schematic
@​angular-devkit/architect
Commit Type Description
88acec1fd fix complete builders on the next event loop iteration
@​angular-devkit/build-angular
Commit Type Description
694b73dfa fix exit dev-server when CTRL+C is pressed
6d4782199 fix exit localized builds when CTRL+C is pressed
282baffed fix hide stacktraces from webpack errors
c4b0abf5b fix set base-href in service worker manifest when using i18n and app-shell
@​ngtools/webpack
Commit Type Description
33f1cc192 fix restore process title after NGCC is executed
6796998bf fix show a compilation error on invalid TypeScript version

Special Thanks

Alan Agius, Charles Lyding and Tim Bowersox

v14.0.3

Compare Source

@​angular/cli
Commit Type Description
b3db91baf fix disable version check when running ng completion commands
cdab9fa74 fix provide an actionable error when using --configuration with ng run
5521648e3 fix temporarily handle boolean options in schema prefixed with no
@​angular-devkit/build-angular
Commit Type Description
5e960ce24 fix fix incorrect glob cwd in karma when using --include option
1b5e92075 fix handle codeCoverageExclude correctly in Windows
ff6d81a45 fix ignore supported browsers during i18n extraction
@​angular-devkit/core
Commit Type Description
170c16f2e fix workspace writer skip creating empty projects property

Special Thanks

Alan Agius, Charles Lyding and Paul Gschwendtner

v14.0.2

Compare Source

@​angular/cli
Commit Type Description
23095e9c3 fix show more actionable error when command is ran in wrong scope
@​schematics/angular
Commit Type Description
5a486cb64 fix remove vscode testing configurations for minimal workspaces
@​angular-devkit/build-angular
Commit Type Description
9d88c96d8 fix replace fallback locale for en-US

Special Thanks

Alan Agius and Julien Marcou

v14.0.1

Compare Source

@​angular/cli
Commit Type Description
e4fb96657 fix add text to help output to indicate that additional commands are available when ran in different context
7952e5790 fix avoid creating unnecessary global configuration
66a1d6b9d fix correct scope cache command
e2d964289 fix correctly print package manager name when an install is needed
75fd3330d fix during an update only use package manager force option with npm 7+
e223890c1 fix ensure full process exit with older local CLI versions
0cca3638a fix handle project being passed as a flag
b1451cb5e fix improve resilience of logging during process exit
17fec1357 fix provide actionable error when project cannot be determined
@​schematics/angular
Commit Type Description
73dcf39c6 fix remove strict setting under application project
@​angular-devkit/build-angular
Commit Type Description
c788d5b56 fix log modified and removed files when using the verbose option
6e8fe0ed5 fix replace dev-server socket path from /ws to /ng-cli-ws
651adadf4 fix update Angular peer dependencies to 14.0 stable
@​angular/pwa
Commit Type Description
cfd264d06 fix add peer dependency on Angular CLI

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 with ng analytics <setting>
    • ng analytics <setting> has been replaced with ng 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 from ng update has been removed without replacement. To update packages which don’t provide ng update capabilities in your workspace package.json use npm update, yarn upgrade-interactive or yarn 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 to production.

  • --configuration cannot be used with ng run. Provide the configuration as part of the target. Ex: ng run project:builder:configuration.

  • Deprecated ng x18n and ng i18n-extract commands have been removed in favor of ng 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 of ng version and ng v.
    • Deprecated camel cased arguments are no longer supported. Ex. using —-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
  • camel case arguments are no longer allowed.
@​angular-devkit/schematics-cli
  • camel case arguments are no longer allowed.
@​angular-devkit/build-angular
  • browser and karma builders script and styles 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 the import 'core-js/proposals/reflect-metadata'; statement should be added to the application's polyfills.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 and ParseJsonOptions APIs have been removed in favor of 3rd party JSON parsers such as jsonc-parser.
  • The below APIs have been removed without replacement. Users should leverage other Node.js or other APIs.
    • fs namespace
    • clean
    • mapObject
@​angular-devkit/schematics
  • Schematics NodePackageInstallTask will not execute package scripts by default
    The 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, the
    NodePackageInstallTask now contains an allowScripts boolean option which can be enabled to provide the
    previous behavior for that individual task. As with previous behavior, the allowScripts option will
    prevent the individual task's usage of the --ignore-scripts option but will not override the package
    manager's existing configuration.
  • Deprecated analytics property has been removed from TypedSchematicContext 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 of schematicCollections.

    Before

    "defaultCollection": "@&#8203;angular/material"

    After

    "schematicCollections": ["@&#8203;angular/material"]
  • 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 and MergeConflictException 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
Commit Type Description
afafa5788 feat add --global option to ng analytics command
bb550436a feat add ng analytics info command
e5bf35ea3 feat add ng cache command
7ab22ed40 feat add disable/enable aliases for off/on ng analytics command
4212fb8de feat add prompt to set up CLI autocompletion
0316dea67 feat add prompts on missing builder targets
607a723f7 feat add support for auto completion
366cabc66 feat add support for multiple schematics collections
036327e9c feat deprecated defaultProject option
fb0622893 feat don't prompt to set up autocompletion for ng update and ng completion commands
4ebfe0341 feat drop support for Node.js 12
022d8c7bb feat make ng completion set up CLI autocompletion by modifying .bashrc files
2e15df941 feat remember after prompting users to set up autocompletion and don't prompt again
7fa3e6587 feat support TypeScript 4.6.2
9e69331fa feat use PNPM as package manager when pnpm-lock.yaml exists
6f6b453fb fix ng doc doesn't open browser in Windows
8e66c9188 fix ng g show descrption from collection.json if not present in schema.json
9edeb8614 fix add long description to ng update
160cb0718 fix correctly handle --search option in ng doc
d46cf6744 fix display option descriptions during auto completion
09f8659ce fix display package manager during ng update
a49cdfbfe fix don't prompt for analytics when running ng analytics
4b22593c4 fix ensure all available package migrations are executed
054ae02c2 fix favor project in cwd when running architect commands
ff4eba3d4 fix handle duplicate arguments
5a8bdeb43 fix hide private schematics from ng g help output
644f86d55 fix improve error message for Windows autocompletion use cases
3012036e8 fix populate path with working directory in nested schematics
8a396de6a fix print entire config when no positional args are provided to ng config
bdf2b9bfa fix print schematic errors correctly
efc3c3225 fix remove analytics prompt postinstall script
bf15b202b fix remove cache path from global valid paths
142da460b fix remove incorrect warning during ng update
96a0d92da fix remove JSON serialized description from help output
78460e995 fix remove type casting and add optional chaining for current in optionTransforms
e5bdadac4 fix skip prompt or warn when setting up autocompletion without a global CLI install
ca401255f fix sort commands in help output
b97772dfc fix support silent package installs with Yarn 2+
87cd5cd43 fix workaround npm 7+ peer dependency resolve errors during updates
d94a67353 refactor remove deprecated --all option from ng update
2fc7c73d7 refactor remove deprecated --prod flag
b69ca3a7d refactor remove deprecated command aliases for extract-i18n.
2e0493130 refactor replace command line arguments parser
@​schematics/angular
Commit Type Description
7b78b7840 feat add --standalone to ng generate
e49220fba feat add migratiom to remove defaultProject in workspace config
3fa38b08b feat introduce addDependency rule to utilities
b07ccfbb1 feat introduce a utility subpath export for Angular rules and utilities
7e7de6858 feat update Angular dependencies to use ^ as version prefix
69ecddaa7 feat update new and existing projects compilation target to ES2020
7e8e42063 fix add migration to remove package.json in libraries secondary entrypoints
b928d973e fix alphabetically order imports during component generation
09a71bab6 fix Consolidated setup with a single beforeEach()
1921b07ee fix don't add path mapping to old entrypoint definition file
c927c038b fix remove @types/node from new projects
27cb29438 fix remove extra space in standalone imports
@​angular-devkit/architect-cli
Commit Type Description
c7556b62b refactor replace parser with yargs-parser
@​angular-devkit/schematics-cli
Commit Type Description
5330d52ae refactor replace parser with yargs-parser
@​angular-devkit/build-angular
Commit Type Description
00186fb93 feat add initial experimental esbuild-based application browser builder
d23a168b8 feat validate file extensions for scripts and styles options
2adf252dc fix add es2015 exports package condition to browser-esbuild
72e820e7b fix better handle Windows paths in esbuild experimental builder
587082fb0 fix close compiler on Karma exit
c52d10d1f fix close dev-server on error
48630ccfd fix detect tailwind.config.cjs as valid tailwindcss configuration
4d5f6c659 fix downlevel libraries based on the browserslist configurations
1a160dac0 fix ensure karma sourcemap support on Windows
07e776ea3 fix fail build when importing CSS files as an ECMA modules
ac1383f9e fix properly handle locally-built APF v14 libraries
966d25b55 fix remove unneeded JIT reflect metadata polyfill
b8564a638 refactor remove deprecated NG_BUILD_CACHE environment variable
0a1cd584d refactor remove deprecated showCircularDependencies browser and server builder option
@​angular-devkit/core
Commit Type Description
c5b3e9299 refactor deprecate unused exception classes
67144b9e5 refactor remove deprecated parseJson and ParseJsonOptions APIs
a0c02af7e refactor remove deprecated fs, object and array APIs
@​angular-devkit/schematics
Commit Type Description
c9c781c7d feat add parameter to listSchematicNames to allow returning hidden schematics.
0e6425fd8 feat disable package script execution by default in NodePackageInstallTask
25498ad5b feat re-export core string helpers from schematics package
464cf330a feat support null for options parameter from OptionTransform type
33f9f3de8 feat support reading JSON content directly from a Tree
01297f450 feat support reading text content directly from a Tree
48f9b79bc fix support ignore scripts package installs with Yarn 2+
3471cd6d8 fix support quiet package installs with Yarn 2+
44c1e6d0d refactor remove deprecated analytics property
@​angular/pwa
Commit Type Description
243cb4062 fix remove @schematics/angular utility deep import usage
@​ngtools/webpack
Commit Type Description
0c344259d fix update peer dependency to reflect TS 4.6 support
044101554 perf use Webpack's built-in xxhash64 support
9277eed1d refactor remove deprecated ivy namespace

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
Commit Type Description
c7f994f88 fix add peer dependency on Angular CLI

Special Thanks

Alan Agius

v13.3.7

Compare Source

@​angular-devkit/build-angular
Commit Type Description
a54018d8f fix add debugging and timing information in JavaScript and CSS optimization plugins

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.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/major-angular-cli-monorepo branch 2 times, most recently from d076227 to 18019b5 Compare June 15, 2022 13:02
@renovate renovate bot force-pushed the renovate/major-angular-cli-monorepo branch 2 times, most recently from d41a179 to e317c96 Compare June 29, 2022 19:51
@renovate renovate bot force-pushed the renovate/major-angular-cli-monorepo branch from e317c96 to 0e4dab1 Compare July 6, 2022 16:38
@kamilmysliwiec kamilmysliwiec merged commit 9a09cdb into master Jul 8, 2022
@delete-merged-branch delete-merged-branch bot deleted the renovate/major-angular-cli-monorepo branch July 8, 2022 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant