Skip to content

Commit

Permalink
feat(angular): bump package versions for Angular 15
Browse files Browse the repository at this point in the history
  • Loading branch information
Coly010 committed Sep 20, 2022
1 parent 4e5656c commit 5d41ddb
Show file tree
Hide file tree
Showing 9 changed files with 673 additions and 463 deletions.
34 changes: 17 additions & 17 deletions package.json
Expand Up @@ -26,24 +26,24 @@
"echo": "echo 123458"
},
"devDependencies": {
"@angular-devkit/architect": "~0.1402.0",
"@angular-devkit/build-angular": "~14.2.0",
"@angular-devkit/core": "~14.2.0",
"@angular-devkit/schematics": "~14.2.0",
"@angular-devkit/architect": "~0.1500.0-next.1",
"@angular-devkit/build-angular": "~15.0.0-next.1",
"@angular-devkit/core": "~15.0.0-next.1",
"@angular-devkit/schematics": "~15.0.0-next.1",
"@angular-eslint/eslint-plugin": "~14.0.4",
"@angular-eslint/eslint-plugin-template": "~14.0.4",
"@angular-eslint/template-parser": "~14.0.4",
"@angular/cli": "~14.2.0",
"@angular/common": "~14.2.0",
"@angular/compiler": "~14.2.0",
"@angular/compiler-cli": "~14.2.0",
"@angular/core": "~14.2.0",
"@angular/forms": "~14.2.0",
"@angular/platform-browser": "~14.2.0",
"@angular/platform-browser-dynamic": "~14.2.0",
"@angular/router": "~14.2.0",
"@angular/service-worker": "~14.2.0",
"@angular/upgrade": "~14.2.0",
"@angular/cli": "~15.0.0-next.1",
"@angular/common": "~15.0.0-next.2",
"@angular/compiler": "~15.0.0-next.2",
"@angular/compiler-cli": "~15.0.0-next.2",
"@angular/core": "~15.0.0-next.2",
"@angular/forms": "~15.0.0-next.2",
"@angular/platform-browser": "~15.0.0-next.2",
"@angular/platform-browser-dynamic": "~15.0.0-next.2",
"@angular/router": "~15.0.0-next.2",
"@angular/service-worker": "~15.0.0-next.2",
"@angular/upgrade": "~15.0.0-next.2",
"@babel/core": "^7.15.0",
"@babel/helper-create-regexp-features-plugin": "^7.14.5",
"@babel/preset-typescript": "^7.15.0",
Expand Down Expand Up @@ -82,7 +82,7 @@
"@rollup/plugin-image": "^2.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.4",
"@schematics/angular": "~14.2.0",
"@schematics/angular": "~15.0.0-next.1",
"@storybook/addon-essentials": "~6.5.9",
"@storybook/addon-knobs": "~6.3.0",
"@storybook/angular": "~6.5.9",
Expand Down Expand Up @@ -203,7 +203,7 @@
"mini-css-extract-plugin": "~2.4.7",
"minimatch": "3.0.5",
"next-sitemap": "^3.1.10",
"ng-packagr": "~14.2.0",
"ng-packagr": "~15.0.0-next.2",
"ngrx-store-freeze": "0.2.4",
"node-fetch": "^2.6.7",
"nx": "14.7.6-beta.6",
Expand Down
45 changes: 45 additions & 0 deletions packages/angular/migrations.json
Expand Up @@ -1539,6 +1539,51 @@
"alwaysAddToPackageJson": false
}
}
},
"15.0.0": {
"version": "15.0.0-beta.0",
"packages": {
"@angular-devkit/architect": {
"version": "~0.1500.0-next.1",
"alwaysAddToPackageJson": false
},
"@angular-devkit/build-angular": {
"version": "~15.0.0-next.1",
"alwaysAddToPackageJson": false
},
"@angular-devkit/build-webpack": {
"version": "~0.1500.0-next.1",
"alwaysAddToPackageJson": false
},
"@angular-devkit/core": {
"version": "~15.0.0-next.1",
"alwaysAddToPackageJson": false
},
"@angular-devkit/schematics": {
"version": "~15.0.0-next.1",
"alwaysAddToPackageJson": false
},
"@schematics/angular": {
"version": "~15.0.0-next.1",
"alwaysAddToPackageJson": false
},
"@angular/core": {
"version": "~15.0.0-next.2",
"alwaysAddToPackageJson": true
},
"@angular/material": {
"version": "~15.0.0-next.1",
"alwaysAddToPackageJson": false
},
"@angular/cdk": {
"version": "~15.0.0-next.1",
"alwaysAddToPackageJson": false
},
"ng-packagr": {
"version": "~15.0.0-next.2",
"alwaysAddToPackageJson": false
}
}
}
}
}
4 changes: 2 additions & 2 deletions packages/angular/package.json
Expand Up @@ -39,7 +39,7 @@
"migrations": "./migrations.json"
},
"dependencies": {
"@angular-devkit/schematics": "~14.2.0",
"@angular-devkit/schematics": "~15.0.0-next.1",
"@nrwl/cypress": "file:../cypress",
"@nrwl/devkit": "file:../devkit",
"@nrwl/jest": "file:../jest",
Expand All @@ -48,7 +48,7 @@
"@nrwl/webpack": "file:../webpack",
"@nrwl/workspace": "file:../workspace",
"@phenomnomnominal/tsquery": "4.1.1",
"@schematics/angular": "~14.2.0",
"@schematics/angular": "~15.0.0-next.1",
"chalk": "4.1.0",
"chokidar": "^3.5.1",
"http-server": "^14.1.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/angular/src/utils/versions.ts
@@ -1,8 +1,8 @@
export const nxVersion = require('../../package.json').version;

export const angularVersion = '~14.2.0';
export const angularDevkitVersion = '~14.2.0';
export const ngPackagrVersion = '~14.2.0';
export const angularVersion = '~15.0.0-next.2';
export const angularDevkitVersion = '~15.0.0-next.1';
export const ngPackagrVersion = '~15.0.0-next.2';
export const ngrxVersion = '~14.0.0';
export const rxjsVersion = '~7.5.0';
export const zoneJsVersion = '~0.11.4';
Expand Down
2 changes: 1 addition & 1 deletion packages/linter/src/utils/versions.ts
Expand Up @@ -2,7 +2,7 @@ export const nxVersion = require('../../package.json').version;

export const tslintVersion = '~6.1.0';
export const tslintToEslintConfigVersion = '^2.13.0';
export const buildAngularVersion = '~14.2.0';
export const buildAngularVersion = '~15.0.0-next.1';

export const typescriptESLintVersion = '^5.36.1';
export const eslintVersion = '~8.15.0';
Expand Down
Expand Up @@ -18,6 +18,7 @@ const latestVersionWithOldFlag = '13.8.3';
const nxAngularVersionMap: Record<number, { range: string; max?: string }> = {
13: { range: '>= 13.2.0 < 14.2.0', max: '~14.1.0' },
14: { range: '>= 14.2.0' },
15: { range: '>= 15.0.0' },
};
// latest major version of Angular that is compatible with Nx, based on the map above
const latestCompatibleAngularMajorVersion = Math.max(
Expand Down
2 changes: 1 addition & 1 deletion packages/nx/src/utils/versions.ts
@@ -1,6 +1,6 @@
export const nxVersion = require('../../package.json').version;

export const angularCliVersion = '~14.2.0';
export const angularCliVersion = '~15.0.0-next.1';
export const typescriptVersion = '~4.8.2';
export const prettierVersion = '^2.6.2';
export const tslintVersion = '~6.1.0';
Expand Down
2 changes: 1 addition & 1 deletion packages/workspace/src/utils/versions.ts
@@ -1,6 +1,6 @@
export const nxVersion = require('../../package.json').version;

export const angularCliVersion = '~14.2.0';
export const angularCliVersion = '~15.0.0-next.1';
export const typescriptVersion = '~4.8.2';
export const prettierVersion = '^2.6.2';
export const tslintVersion = '~6.1.0';
Expand Down

0 comments on commit 5d41ddb

Please sign in to comment.