Skip to content

Commit

Permalink
feat(angular): support angular v19.0.0-rc.2 (#28953)
Browse files Browse the repository at this point in the history
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #
  • Loading branch information
leosvelperez authored Nov 15, 2024
1 parent f9ed7a3 commit 445e3a2
Show file tree
Hide file tree
Showing 9 changed files with 1,172 additions and 1,331 deletions.
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@
},
"devDependencies": {
"@actions/core": "^1.10.0",
"@angular-devkit/architect": "~0.1900.0-rc.1",
"@angular-devkit/build-angular": "~19.0.0-rc.1",
"@angular-devkit/core": "~19.0.0-rc.1",
"@angular-devkit/schematics": "~19.0.0-rc.1",
"@angular-devkit/architect": "~0.1900.0-rc.2",
"@angular-devkit/build-angular": "~19.0.0-rc.2",
"@angular-devkit/core": "~19.0.0-rc.2",
"@angular-devkit/schematics": "~19.0.0-rc.2",
"@angular-eslint/eslint-plugin": "^18.3.0",
"@angular-eslint/eslint-plugin-template": "^18.3.0",
"@angular-eslint/template-parser": "^18.3.0",
"@angular/cli": "~19.0.0-rc.1",
"@angular/common": "~19.0.0-rc.1",
"@angular/compiler": "~19.0.0-rc.1",
"@angular/compiler-cli": "~19.0.0-rc.1",
"@angular/core": "~19.0.0-rc.1",
"@angular/router": "~19.0.0-rc.1",
"@angular/cli": "~19.0.0-rc.2",
"@angular/common": "~19.0.0-rc.2",
"@angular/compiler": "~19.0.0-rc.2",
"@angular/compiler-cli": "~19.0.0-rc.2",
"@angular/core": "~19.0.0-rc.2",
"@angular/router": "~19.0.0-rc.2",
"@babel/core": "^7.23.2",
"@babel/helper-create-regexp-features-plugin": "^7.22.9",
"@babel/plugin-transform-runtime": "^7.23.2",
Expand Down Expand Up @@ -105,7 +105,7 @@
"@rspack/dev-server": "1.0.5",
"@rspack/plugin-minify": "^0.7.5",
"@rspack/plugin-react-refresh": "^1.0.0",
"@schematics/angular": "~19.0.0-rc.1",
"@schematics/angular": "~19.0.0-rc.2",
"@storybook/addon-essentials": "^8.2.8",
"@storybook/addon-interactions": "^8.2.8",
"@storybook/core-server": "^8.2.8",
Expand Down
40 changes: 20 additions & 20 deletions packages/angular/migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -267,18 +267,18 @@
"description": "Ensure Target Defaults are set correctly for Module Federation.",
"factory": "./src/migrations/update-19-6-1/ensure-depends-on-for-mf"
},
"update-angular-cli-version-19-0-0-rc-1": {
"update-angular-cli-version-19-0-0-rc-2": {
"cli": "nx",
"version": "20.2.0-beta.0",
"version": "20.2.0-beta.2",
"requires": {
"@angular/core": ">=19.0.0-rc.1"
"@angular/core": ">=19.0.0-rc.2"
},
"description": "Update the @angular/cli package version to ~19.0.0-rc.1.",
"description": "Update the @angular/cli package version to ~19.0.0-rc.2.",
"factory": "./src/migrations/update-20-2-0/update-angular-cli"
},
"add-localize-polyfill-to-targets": {
"cli": "nx",
"version": "20.2.0-beta.0",
"version": "20.2.0-beta.2",
"requires": {
"@angular/core": ">=19.0.0-rc.1"
},
Expand All @@ -287,7 +287,7 @@
},
"update-angular-ssr-imports-to-use-node-entry-point": {
"cli": "nx",
"version": "20.2.0-beta.0",
"version": "20.2.0-beta.2",
"requires": {
"@angular/core": ">=19.0.0-rc.1"
},
Expand Down Expand Up @@ -1187,58 +1187,58 @@
}
},
"20.2.0": {
"version": "20.2.0-beta.0",
"version": "20.2.0-beta.2",
"x-prompt": "Do you want to update the Angular version to v19?",
"requires": {
"@angular/core": ">=18.2.0 <19.0.0-rc.1"
"@angular/core": ">=18.2.0 <19.0.0-rc.2"
},
"packages": {
"@angular-devkit/build-angular": {
"version": "~19.0.0-rc.1",
"version": "~19.0.0-rc.2",
"alwaysAddToPackageJson": false
},
"@angular-devkit/core": {
"version": "~19.0.0-rc.1",
"version": "~19.0.0-rc.2",
"alwaysAddToPackageJson": false
},
"@angular-devkit/schematics": {
"version": "~19.0.0-rc.1",
"version": "~19.0.0-rc.2",
"alwaysAddToPackageJson": false
},
"@angular/build": {
"version": "~19.0.0-rc.1",
"version": "~19.0.0-rc.2",
"alwaysAddToPackageJson": false
},
"@angular/pwa": {
"version": "~19.0.0-rc.1",
"version": "~19.0.0-rc.2",
"alwaysAddToPackageJson": false
},
"@angular/ssr": {
"version": "~19.0.0-rc.1",
"version": "~19.0.0-rc.2",
"alwaysAddToPackageJson": false
},
"@schematics/angular": {
"version": "~19.0.0-rc.1",
"version": "~19.0.0-rc.2",
"alwaysAddToPackageJson": false
},
"@angular-devkit/architect": {
"version": "~0.1900.0-rc.1",
"version": "~0.1900.0-rc.2",
"alwaysAddToPackageJson": false
},
"@angular-devkit/build-webpack": {
"version": "~0.1900.0-rc.1",
"version": "~0.1900.0-rc.2",
"alwaysAddToPackageJson": false
},
"@angular/core": {
"version": "~19.0.0-rc.1",
"version": "~19.0.0-rc.2",
"alwaysAddToPackageJson": true
},
"@angular/material": {
"version": "~19.0.0-rc.1",
"version": "~19.0.0-rc.2",
"alwaysAddToPackageJson": false
},
"@angular/cdk": {
"version": "~19.0.0-rc.1",
"version": "~19.0.0-rc.2",
"alwaysAddToPackageJson": false
},
"ng-packagr": {
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 = '~19.0.0-rc.1';
export const angularCliVersion = '~19.0.0-rc.2';

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 = '~19.0.0-rc.1';
export const angularDevkitVersion = '~19.0.0-rc.1';
export const angularVersion = '~19.0.0-rc.2';
export const angularDevkitVersion = '~19.0.0-rc.2';
export const ngPackagrVersion = '~19.0.0-rc.0';
export const ngrxVersion = '^18.0.2';
export const rxjsVersion = '~7.8.0';
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint/migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"implementation": "./src/migrations/update-17-2-9/move-options-to-target-defaults"
},
"update-typescript-eslint-v8.13.0": {
"version": "20.2.0-beta.0",
"version": "20.2.0-beta.2",
"description": "Update TypeScript ESLint packages to v8.13.0 if they are already on v8",
"implementation": "./src/migrations/update-20-2-0/update-typescript-eslint-v8-13-0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/js/migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
}
},
"20.2.0": {
"version": "20.2.0-beta.0",
"version": "20.2.0-beta.2",
"x-prompt": "Do you want to update to TypeScript v5.6?",
"requires": {
"typescript": ">=5.5.0 <5.6.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/workspace/migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
}
},
"20.2.0": {
"version": "20.2.0-beta.0",
"version": "20.2.0-beta.2",
"x-prompt": "Do you want to update to TypeScript v5.6?",
"requires": {
"typescript": ">=5.5.0 <5.6.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.6.2';

// TODO: remove when preset generation is reworked and
// deps are not installed from workspace
export const angularCliVersion = '~19.0.0-rc.1';
export const angularCliVersion = '~19.0.0-rc.2';
Loading

0 comments on commit 445e3a2

Please sign in to comment.