From 2f80f099ad2602e1a0b3b8eac48974be250f953f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leosvel=20P=C3=A9rez=20Espinosa?= Date: Tue, 21 May 2024 17:51:00 +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 c0854e3509aab..8ab3190e96a3a 100644 --- a/packages/angular/migrations.json +++ b/packages/angular/migrations.json @@ -389,12 +389,12 @@ }, "update-angular-cli-version-18-0-0-rc-2": { "cli": "nx", - "version": "19.2.0-beta.0", + "version": "19.1.0-beta.1", "requires": { "@angular/core": ">=18.0.0-rc.1" }, "description": "Update the @angular/cli package version to ~18.0.0-rc.2.", - "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.1", "x-prompt": "Do you want to update the Angular version to v18?", "requires": { "@angular/core": ">=17.3.0 <18.0.0-rc.1" @@ -1872,8 +1872,8 @@ } } }, - "19.2.0-jest": { - "version": "19.2.0-beta.0", + "19.1.0-jest": { + "version": "19.1.0-beta.1", "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;