Skip to content

Commit

Permalink
cleanup(angular): change angular 18 migration target version to 19.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
leosvelperez committed May 22, 2024
1 parent 465cd17 commit 4e1d6ce
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions packages/angular/migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -389,12 +389,12 @@
},
"update-angular-cli-version-18-0-0-rc-3": {
"cli": "nx",
"version": "19.2.0-beta.0",
"version": "19.1.0-beta.2",
"requires": {
"@angular/core": ">=18.0.0-rc.3"
},
"description": "Update the @angular/cli package version to ~18.0.0-rc.3.",
"factory": "./src/migrations/update-19-2-0/update-angular-cli"
"factory": "./src/migrations/update-19-1-0/update-angular-cli"
}
},
"packageJsonUpdates": {
Expand Down Expand Up @@ -1815,8 +1815,8 @@
}
}
},
"19.2.0": {
"version": "19.2.0-beta.0",
"19.1.0": {
"version": "19.1.0-beta.2",
"x-prompt": "Do you want to update the Angular version to v18?",
"requires": {
"@angular/core": ">=17.3.0 <18.0.0-rc.3"
Expand Down Expand Up @@ -1872,8 +1872,8 @@
}
}
},
"19.2.0-jest": {
"version": "19.2.0-beta.0",
"19.1.0-jest": {
"version": "19.1.0-beta.2",
"requires": {
"@angular-devkit/build-angular": ">=15.0.0 <19.0.0",
"@angular/compiler-cli": ">=15.0.0 <19.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { connectExistingRepoToNxCloudPrompt } from '../../../connect/connect-to-
// key is major Angular version and value is Nx version to use
const nxAngularLegacyVersionMap: Record<number, string> = {
14: '~17.0.0',
15: '~19.1.0',
15: '~19.0.0',
};
// min major angular version supported in latest Nx
const minMajorAngularVersionSupported = 16;
Expand Down

0 comments on commit 4e1d6ce

Please sign in to comment.