feat(angular): support angular 16.2.0 (#18561)

This commit is contained in:
Leosvel Pérez Espinosa 2023-08-14 14:46:02 +01:00 committed by GitHub
parent cdeec56608
commit 8601a0e44c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 475 additions and 213 deletions

View File

@ -27,19 +27,19 @@
}, },
"devDependencies": { "devDependencies": {
"@actions/core": "^1.10.0", "@actions/core": "^1.10.0",
"@angular-devkit/architect": "~0.1602.0-rc.1", "@angular-devkit/architect": "~0.1602.0",
"@angular-devkit/build-angular": "~16.2.0-rc.1", "@angular-devkit/build-angular": "~16.2.0",
"@angular-devkit/core": "~16.2.0-rc.1", "@angular-devkit/core": "~16.2.0",
"@angular-devkit/schematics": "~16.2.0-rc.1", "@angular-devkit/schematics": "~16.2.0",
"@angular-eslint/eslint-plugin": "~16.0.0", "@angular-eslint/eslint-plugin": "~16.0.0",
"@angular-eslint/eslint-plugin-template": "~16.0.0", "@angular-eslint/eslint-plugin-template": "~16.0.0",
"@angular-eslint/template-parser": "~16.0.0", "@angular-eslint/template-parser": "~16.0.0",
"@angular/cli": "~16.2.0-rc.1", "@angular/cli": "~16.2.0",
"@angular/common": "~16.2.0-rc.0", "@angular/common": "~16.2.0",
"@angular/compiler": "~16.2.0-rc.0", "@angular/compiler": "~16.2.0",
"@angular/compiler-cli": "~16.2.0-rc.0", "@angular/compiler-cli": "~16.2.0",
"@angular/core": "~16.2.0-rc.0", "@angular/core": "~16.2.0",
"@angular/router": "~16.2.0-rc.0", "@angular/router": "~16.2.0",
"@babel/core": "^7.22.9", "@babel/core": "^7.22.9",
"@babel/helper-create-regexp-features-plugin": "^7.22.9", "@babel/helper-create-regexp-features-plugin": "^7.22.9",
"@babel/plugin-transform-runtime": "^7.22.9", "@babel/plugin-transform-runtime": "^7.22.9",
@ -64,7 +64,7 @@
"@ngrx/effects": "~16.0.0", "@ngrx/effects": "~16.0.0",
"@ngrx/router-store": "~16.0.0", "@ngrx/router-store": "~16.0.0",
"@ngrx/store": "~16.0.0", "@ngrx/store": "~16.0.0",
"@nguniversal/builders": "~16.2.0-rc.0", "@nguniversal/builders": "~16.2.0",
"@nx/cypress": "16.7.0-beta.4", "@nx/cypress": "16.7.0-beta.4",
"@nx/devkit": "16.7.0-beta.4", "@nx/devkit": "16.7.0-beta.4",
"@nx/eslint-plugin": "16.7.0-beta.4", "@nx/eslint-plugin": "16.7.0-beta.4",
@ -90,7 +90,7 @@
"@rollup/plugin-json": "^4.1.0", "@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.4", "@rollup/plugin-node-resolve": "^13.0.4",
"@rollup/plugin-url": "^7.0.0", "@rollup/plugin-url": "^7.0.0",
"@schematics/angular": "~16.2.0-rc.1", "@schematics/angular": "~16.2.0",
"@side/jest-runtime": "^1.1.0", "@side/jest-runtime": "^1.1.0",
"@storybook/addon-essentials": "7.2.2", "@storybook/addon-essentials": "7.2.2",
"@storybook/core-server": "7.2.2", "@storybook/core-server": "7.2.2",
@ -221,7 +221,7 @@
"mini-css-extract-plugin": "~2.4.7", "mini-css-extract-plugin": "~2.4.7",
"minimatch": "3.0.5", "minimatch": "3.0.5",
"next-sitemap": "^3.1.10", "next-sitemap": "^3.1.10",
"ng-packagr": "~16.2.0-next.1", "ng-packagr": "~16.2.0",
"node-fetch": "^2.6.7", "node-fetch": "^2.6.7",
"nx": "16.7.0-beta.4", "nx": "16.7.0-beta.4",
"nx-cloud": "16.3.0", "nx-cloud": "16.3.0",
@ -367,9 +367,6 @@
"pnpm": { "pnpm": {
"patchedDependencies": { "patchedDependencies": {
"lerna@6.6.2": "patches/lerna@6.6.2.patch" "lerna@6.6.2": "patches/lerna@6.6.2.patch"
},
"overrides": {
"@angular-devkit/core": "$@angular-devkit/core"
} }
} }
} }

View File

@ -270,13 +270,13 @@
"description": "Explicitly set 'updateBuildableProjectDepsInPackageJson' to 'true' in targets that rely on that value as the default.", "description": "Explicitly set 'updateBuildableProjectDepsInPackageJson' to 'true' in targets that rely on that value as the default.",
"factory": "./src/migrations/update-16-6-0/explicitly-set-projects-to-update-buildable-deps" "factory": "./src/migrations/update-16-6-0/explicitly-set-projects-to-update-buildable-deps"
}, },
"update-angular-cli-version-16-2-0-rc-1": { "update-angular-cli-version-16-2-0": {
"cli": "nx", "cli": "nx",
"version": "16.7.0-beta.2", "version": "16.7.0-beta.6",
"requires": { "requires": {
"@angular/core": ">=16.2.0-rc.0" "@angular/core": ">=16.2.0"
}, },
"description": "Update the @angular/cli package version to ~16.2.0-rc.1.", "description": "Update the @angular/cli package version to ~16.2.0.",
"factory": "./src/migrations/update-16-7-0/update-angular-cli" "factory": "./src/migrations/update-16-7-0/update-angular-cli"
} }
}, },
@ -1246,64 +1246,64 @@
} }
}, },
"16.7.0": { "16.7.0": {
"version": "16.7.0-beta.2", "version": "16.7.0-beta.6",
"x-prompt": "Do you want to update the Angular version to v16.2?",
"requires": {
"@angular/core": ">=16.1.0 <16.2.0"
},
"packages": { "packages": {
"@angular-devkit/architect": { "@angular-devkit/architect": {
"version": "~0.1602.0-rc.1", "version": "~0.1602.0",
"alwaysAddToPackageJson": false "alwaysAddToPackageJson": false
}, },
"@angular-devkit/build-angular": { "@angular-devkit/build-angular": {
"version": "~16.2.0-rc.1", "version": "~16.2.0",
"alwaysAddToPackageJson": false "alwaysAddToPackageJson": false
}, },
"@angular-devkit/build-webpack": { "@angular-devkit/build-webpack": {
"version": "~0.1602.0-rc.1", "version": "~0.1602.0",
"alwaysAddToPackageJson": false "alwaysAddToPackageJson": false
}, },
"@angular-devkit/core": { "@angular-devkit/core": {
"version": "~16.2.0-rc.1", "version": "~16.2.0",
"alwaysAddToPackageJson": false "alwaysAddToPackageJson": false
}, },
"@angular-devkit/schematics": { "@angular-devkit/schematics": {
"version": "~16.2.0-rc.1", "version": "~16.2.0",
"alwaysAddToPackageJson": false "alwaysAddToPackageJson": false
}, },
"@angular/core": { "@angular/core": {
"version": "~16.2.0-rc.0", "version": "~16.2.0",
"alwaysAddToPackageJson": true "alwaysAddToPackageJson": true
}, },
"@angular/material": { "@angular/material": {
"version": "~16.2.0-rc.0", "version": "~16.2.0",
"alwaysAddToPackageJson": false "alwaysAddToPackageJson": false
}, },
"@angular/cdk": { "@angular/cdk": {
"version": "~16.2.0-rc.0", "version": "~16.2.0",
"alwaysAddToPackageJson": false "alwaysAddToPackageJson": false
}, },
"@nguniversal/builders": { "@nguniversal/builders": {
"version": "~16.2.0-rc.0", "version": "~16.2.0",
"alwaysAddToPackageJson": false "alwaysAddToPackageJson": false
}, },
"@nguniversal/common": { "@nguniversal/common": {
"version": "~16.2.0-rc.0", "version": "~16.2.0",
"alwaysAddToPackageJson": false "alwaysAddToPackageJson": false
}, },
"@nguniversal/express-engine": { "@nguniversal/express-engine": {
"version": "~16.2.0-rc.0", "version": "~16.2.0",
"alwaysAddToPackageJson": false "alwaysAddToPackageJson": false
}, },
"@schematics/angular": { "@schematics/angular": {
"version": "~16.2.0-rc.1", "version": "~16.2.0",
"alwaysAddToPackageJson": false "alwaysAddToPackageJson": false
}, },
"ng-packagr": { "ng-packagr": {
"version": "~16.2.0-next.1", "version": "~16.2.0",
"alwaysAddToPackageJson": false "alwaysAddToPackageJson": false
} }
},
"x-prompt": "Do you want to update the Angular version to v16.2?",
"requires": {
"@angular/core": ">=16.1.0 <16.2.0-next.1"
} }
} }
} }

View File

@ -1,6 +1,6 @@
import { formatFiles, Tree, updateJson } from '@nx/devkit'; import { formatFiles, Tree, updateJson } from '@nx/devkit';
export const angularCliVersion = '~16.2.0-rc.1'; export const angularCliVersion = '~16.2.0';
export default async function (tree: Tree) { export default async function (tree: Tree) {
let shouldFormat = false; let shouldFormat = false;

View File

@ -1,15 +1,15 @@
export const nxVersion = require('../../package.json').version; export const nxVersion = require('../../package.json').version;
export const angularVersion = '~16.2.0-rc.0'; export const angularVersion = '~16.2.0';
export const angularDevkitVersion = '~16.2.0-rc.1'; export const angularDevkitVersion = '~16.2.0';
export const ngPackagrVersion = '~16.2.0-next.1'; export const ngPackagrVersion = '~16.2.0';
export const ngrxVersion = '~16.0.0'; export const ngrxVersion = '~16.0.0';
export const rxjsVersion = '~7.8.0'; export const rxjsVersion = '~7.8.0';
export const zoneJsVersion = '~0.13.0'; export const zoneJsVersion = '~0.13.0';
export const angularJsVersion = '1.7.9'; export const angularJsVersion = '1.7.9';
export const tsLibVersion = '^2.3.0'; export const tsLibVersion = '^2.3.0';
export const ngUniversalVersion = '~16.2.0-rc.0'; export const ngUniversalVersion = '~16.2.0';
export const corsVersion = '~2.8.5'; export const corsVersion = '~2.8.5';
export const typesCorsVersion = '~2.8.5'; export const typesCorsVersion = '~2.8.5';
export const expressVersion = '~4.18.2'; export const expressVersion = '~4.18.2';

View File

@ -4,4 +4,4 @@ export const typescriptVersion = '~5.1.3';
// TODO: remove when preset generation is reworked and // TODO: remove when preset generation is reworked and
// deps are not installed from workspace // deps are not installed from workspace
export const angularCliVersion = '~16.2.0-rc.1'; export const angularCliVersion = '~16.2.0';

603
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff