From 005eb5687be2ecb77ac5c3c8641c809b9d36ff5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leosvel=20P=C3=A9rez=20Espinosa?= Date: Fri, 10 Feb 2023 18:24:07 +0000 Subject: [PATCH] fix(misc): make ts 4.8 update optional and add missing angular requirements (#14918) --- packages/angular/migrations.json | 5 ++++- packages/nx/package.json | 2 +- packages/nx/src/command-line/migrate.ts | 2 +- packages/workspace/migrations.json | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/angular/migrations.json b/packages/angular/migrations.json index b0d579e39132b..229e2391b2701 100644 --- a/packages/angular/migrations.json +++ b/packages/angular/migrations.json @@ -1489,6 +1489,9 @@ }, "14.5.3": { "version": "14.5.3-beta.0", + "requires": { + "@angular/core": "14.1.0" + }, "packages": { "@angular-devkit/architect": { "version": "~0.1401.1", @@ -1639,7 +1642,7 @@ "version": "15.2.0-beta.0", "x-prompt": "Do you want to update the Angular version to v15?", "requires": { - "@angular/core": "^14.0.0" + "@angular/core": "^14.2.0" }, "packages": { "@angular-devkit/architect": { diff --git a/packages/nx/package.json b/packages/nx/package.json index c37490ce987d6..62ac06cd9520b 100644 --- a/packages/nx/package.json +++ b/packages/nx/package.json @@ -94,6 +94,7 @@ "packageGroup": [ "@nrwl/jest", "@nrwl/linter", + "@nrwl/workspace", "@nrwl/angular", "@nrwl/cli", "@nrwl/cypress", @@ -116,7 +117,6 @@ "@nrwl/vite", "@nrwl/web", "@nrwl/webpack", - "@nrwl/workspace", { "package": "@nrwl/nx-cloud", "version": "latest" diff --git a/packages/nx/src/command-line/migrate.ts b/packages/nx/src/command-line/migrate.ts index 0d40bae7a58b0..9bf746bfaa232 100644 --- a/packages/nx/src/command-line/migrate.ts +++ b/packages/nx/src/command-line/migrate.ts @@ -1084,7 +1084,7 @@ function addSplitConfigurationMigrationIfAvailable( { version: '15.7.0-beta.0', description: - 'Spilt global configuration files into individual project.json files. This migration has been added automatically to the beginning of your migration set to retroactively make them work with the new version of Nx.', + 'Split global configuration files into individual project.json files. This migration has been added automatically to the beginning of your migration set to retroactively make them work with the new version of Nx.', cli: 'nx', implementation: './src/migrations/update-15-7-0/split-configuration-into-project-json-files', diff --git a/packages/workspace/migrations.json b/packages/workspace/migrations.json index 4f0afd0f15ee0..d8b0369aafbd5 100644 --- a/packages/workspace/migrations.json +++ b/packages/workspace/migrations.json @@ -80,7 +80,7 @@ }, "15-7-0-split-configuration-into-project-json-files": { "version": "15.7.0-beta.0", - "description": "Spilt global configuration files (e.g., workspace.json) into individual project.json files.", + "description": "Split global configuration files (e.g., workspace.json) into individual project.json files.", "cli": "nx", "implementation": "./src/migrations/update-15-7-0/split-configuration-into-project-json-files" } @@ -135,6 +135,7 @@ }, "14.8.0": { "version": "14.8.0-beta.0", + "x-prompt": "Do you want to update the TypeScript version to v4.8?", "packages": { "typescript": { "version": "~4.8.2",