Skip to content

Commit

Permalink
feat(angular): support angular 17.0.0-rc.0
Browse files Browse the repository at this point in the history
  • Loading branch information
leosvelperez committed Oct 23, 2023
1 parent ed42742 commit 3e99326
Show file tree
Hide file tree
Showing 7 changed files with 497 additions and 278 deletions.
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,19 @@
},
"devDependencies": {
"@actions/core": "^1.10.0",
"@angular-devkit/architect": "~0.1700.0-next.9",
"@angular-devkit/build-angular": "~17.0.0-next.9",
"@angular-devkit/core": "~17.0.0-next.9",
"@angular-devkit/schematics": "~17.0.0-next.9",
"@angular-devkit/architect": "~0.1700.0-rc.0",
"@angular-devkit/build-angular": "~17.0.0-rc.0",
"@angular-devkit/core": "~17.0.0-rc.0",
"@angular-devkit/schematics": "~17.0.0-rc.0",
"@angular-eslint/eslint-plugin": "~16.0.0",
"@angular-eslint/eslint-plugin-template": "~16.0.0",
"@angular-eslint/template-parser": "~16.0.0",
"@angular/cli": "~17.0.0-next.9",
"@angular/common": "~17.0.0-next.8",
"@angular/compiler": "~17.0.0-next.8",
"@angular/compiler-cli": "~17.0.0-next.8",
"@angular/core": "~17.0.0-next.8",
"@angular/router": "~17.0.0-next.8",
"@angular/cli": "~17.0.0-rc.0",
"@angular/common": "~17.0.0-rc.0",
"@angular/compiler": "~17.0.0-rc.0",
"@angular/compiler-cli": "~17.0.0-rc.0",
"@angular/core": "~17.0.0-rc.0",
"@angular/router": "~17.0.0-rc.0",
"@babel/core": "^7.22.9",
"@babel/helper-create-regexp-features-plugin": "^7.22.9",
"@babel/plugin-transform-runtime": "^7.22.9",
Expand Down Expand Up @@ -92,7 +92,7 @@
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.4",
"@rollup/plugin-url": "^7.0.0",
"@schematics/angular": "~17.0.0-next.9",
"@schematics/angular": "~17.0.0-rc.0",
"@side/jest-runtime": "^1.1.0",
"@storybook/addon-essentials": "7.2.2",
"@storybook/core-server": "7.2.2",
Expand Down Expand Up @@ -375,4 +375,4 @@
"@angular-devkit/core": "$@angular-devkit/core"
}
}
}
}
26 changes: 13 additions & 13 deletions packages/angular/migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -279,13 +279,13 @@
"description": "Update the @angular/cli package version to ~16.2.0.",
"factory": "./src/migrations/update-16-7-0/update-angular-cli"
},
"update-angular-cli-version-17-0-0-next-9": {
"update-angular-cli-version-17-0-0-rc-0": {
"cli": "nx",
"version": "17.2.0-beta.0",
"requires": {
"@angular/core": ">=17.0.0-next.8"
"@angular/core": ">=17.0.0-rc.0"
},
"description": "Update the @angular/cli package version to ~17.0.0-next.9.",
"description": "Update the @angular/cli package version to ~17.0.0-rc.0.",
"factory": "./src/migrations/update-17-2-0/update-angular-cli"
}
},
Expand Down Expand Up @@ -1368,43 +1368,43 @@
"version": "17.2.0-beta.0",
"x-prompt": "Do you want to update the Angular version to v17?",
"requires": {
"@angular/core": ">=16.2.0 <17.0.0-next.8"
"@angular/core": ">=16.2.0 <17.0.0-rc.0"
},
"packages": {
"@angular-devkit/architect": {
"version": "~0.1700.0-next.9",
"version": "~0.1700.0-rc.0",
"alwaysAddToPackageJson": false
},
"@angular-devkit/build-angular": {
"version": "~17.0.0-next.9",
"version": "~17.0.0-rc.0",
"alwaysAddToPackageJson": false
},
"@angular-devkit/build-webpack": {
"version": "~0.1700.0-next.9",
"version": "~0.1700.0-rc.0",
"alwaysAddToPackageJson": false
},
"@angular-devkit/core": {
"version": "~17.0.0-next.9",
"version": "~17.0.0-rc.0",
"alwaysAddToPackageJson": false
},
"@angular-devkit/schematics": {
"version": "~17.0.0-next.9",
"version": "~17.0.0-rc.0",
"alwaysAddToPackageJson": false
},
"@angular/core": {
"version": "~17.0.0-next.8",
"version": "~17.0.0-rc.0",
"alwaysAddToPackageJson": true
},
"@angular/material": {
"version": "~17.0.0-next.7",
"version": "~17.0.0-rc.0",
"alwaysAddToPackageJson": false
},
"@angular/cdk": {
"version": "~17.0.0-next.7",
"version": "~17.0.0-rc.0",
"alwaysAddToPackageJson": false
},
"@schematics/angular": {
"version": "~17.0.0-next.9",
"version": "~17.0.0-rc.0",
"alwaysAddToPackageJson": false
},
"ng-packagr": {
Expand Down
8 changes: 4 additions & 4 deletions packages/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@
"@nx/workspace": "file:../workspace"
},
"peerDependencies": {
"@angular-devkit/build-angular": "^17.0.0-next.9",
"@angular-devkit/schematics": "^17.0.0-next.9",
"@schematics/angular": "^17.0.0-next.9",
"@angular-devkit/core": "^17.0.0-next.9",
"@angular-devkit/build-angular": "^17.0.0-rc.0",
"@angular-devkit/schematics": "^17.0.0-rc.0",
"@schematics/angular": "^17.0.0-rc.0",
"@angular-devkit/core": "^17.0.0-rc.0",
"@nguniversal/builders": ">= 14.0.0 < 17.0.0",
"rxjs": "^6.5.3 || ^7.5.0",
"esbuild": "^0.19.2"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { formatFiles, Tree, updateJson } from '@nx/devkit';

export const angularCliVersion = '~17.0.0-next.9';
export const angularCliVersion = '~17.0.0-rc.0';

export default async function (tree: Tree) {
let shouldFormat = false;
Expand Down
4 changes: 2 additions & 2 deletions packages/angular/src/utils/versions.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const nxVersion = require('../../package.json').version;

export const angularVersion = '~17.0.0-next.8';
export const angularDevkitVersion = '~17.0.0-next.9';
export const angularVersion = '~17.0.0-rc.0';
export const angularDevkitVersion = '~17.0.0-rc.0';
export const ngPackagrVersion = '~17.0.0-next.2';
export const ngrxVersion = '~16.0.0';
export const rxjsVersion = '~7.8.0';
Expand Down
2 changes: 1 addition & 1 deletion packages/workspace/src/utils/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ export const typescriptVersion = '~5.2.2';

// TODO: remove when preset generation is reworked and
// deps are not installed from workspace
export const angularCliVersion = '~17.0.0-next.9';
export const angularCliVersion = '~17.0.0-rc.0';
Loading

0 comments on commit 3e99326

Please sign in to comment.