From c5711960a5b7e0e2b875d603608dee9a85624835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leosvel=20P=C3=A9rez=20Espinosa?= Date: Wed, 22 May 2024 09:32:10 +0200 Subject: [PATCH] cleanup(angular): change angular 18 migration target version to 19.1.0 --- packages/angular/migrations.json | 12 ++++++------ .../update-angular-cli.spec.ts | 0 .../update-angular-cli.ts | 0 .../angular/legacy-angular-versions.ts | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) rename packages/angular/src/migrations/{update-19-2-0 => update-19-1-0}/update-angular-cli.spec.ts (100%) rename packages/angular/src/migrations/{update-19-2-0 => update-19-1-0}/update-angular-cli.ts (100%) diff --git a/packages/angular/migrations.json b/packages/angular/migrations.json index 1ac46cbe46a3c..7912c542a27b9 100644 --- a/packages/angular/migrations.json +++ b/packages/angular/migrations.json @@ -389,12 +389,12 @@ }, "update-angular-cli-version-18-0-0": { "cli": "nx", - "version": "19.2.0-beta.0", + "version": "19.1.0-beta.2", "requires": { "@angular/core": ">=18.0.0" }, "description": "Update the @angular/cli package version to ~18.0.0.", - "factory": "./src/migrations/update-19-2-0/update-angular-cli" + "factory": "./src/migrations/update-19-1-0/update-angular-cli" } }, "packageJsonUpdates": { @@ -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" @@ -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", diff --git a/packages/angular/src/migrations/update-19-2-0/update-angular-cli.spec.ts b/packages/angular/src/migrations/update-19-1-0/update-angular-cli.spec.ts similarity index 100% rename from packages/angular/src/migrations/update-19-2-0/update-angular-cli.spec.ts rename to packages/angular/src/migrations/update-19-1-0/update-angular-cli.spec.ts diff --git a/packages/angular/src/migrations/update-19-2-0/update-angular-cli.ts b/packages/angular/src/migrations/update-19-1-0/update-angular-cli.ts similarity index 100% rename from packages/angular/src/migrations/update-19-2-0/update-angular-cli.ts rename to packages/angular/src/migrations/update-19-1-0/update-angular-cli.ts diff --git a/packages/nx/src/command-line/init/implementation/angular/legacy-angular-versions.ts b/packages/nx/src/command-line/init/implementation/angular/legacy-angular-versions.ts index 8503353f911d2..6cbde226d733f 100644 --- a/packages/nx/src/command-line/init/implementation/angular/legacy-angular-versions.ts +++ b/packages/nx/src/command-line/init/implementation/angular/legacy-angular-versions.ts @@ -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 = { 14: '~17.0.0', - 15: '~19.1.0', + 15: '~19.0.0', }; // min major angular version supported in latest Nx const minMajorAngularVersionSupported = 16;