From b47065d85b17a7a6fcf385777e4c1e0e0e45897f Mon Sep 17 00:00:00 2001 From: erdemcaygor Date: Wed, 11 Jun 2025 14:49:17 +0300 Subject: [PATCH] ng version upgrade to v20 --- npm/ng-packs/migrations.json | 36 +++++++++++++++++++++++++----------- npm/ng-packs/package.json | 22 +++++++++++----------- 2 files changed, 36 insertions(+), 22 deletions(-) diff --git a/npm/ng-packs/migrations.json b/npm/ng-packs/migrations.json index e89bc86d78..3f9be45779 100644 --- a/npm/ng-packs/migrations.json +++ b/npm/ng-packs/migrations.json @@ -1,19 +1,33 @@ { "migrations": [ { - "version": "20.3.0-beta.1", - "description": "Update ESLint flat config to include .cjs, .mjs, .cts, and .mts files in overrides (if needed)", - "implementation": "./src/migrations/update-20-3-0/add-file-extensions-to-overrides", - "package": "@nx/eslint", - "name": "add-file-extensions-to-overrides" + "version": "20.0.0", + "description": "Replaces usages of the deprecated InjectFlags enum", + "factory": "./bundles/inject-flags.cjs#migrate", + "package": "@angular/core", + "name": "inject-flags" }, { - "cli": "nx", - "version": "20.3.0-beta.2", - "description": "If workspace includes Module Federation projects, ensure the new @nx/module-federation package is installed.", - "factory": "./src/migrations/update-20-3-0/ensure-nx-module-federation-package", - "package": "@nx/angular", - "name": "ensure-nx-module-federation-package" + "version": "20.0.0", + "description": "Replaces usages of the deprecated TestBed.get method with TestBed.inject", + "factory": "./bundles/test-bed-get.cjs#migrate", + "package": "@angular/core", + "name": "test-bed-get" + }, + { + "version": "20.0.0", + "description": "Converts the entire application to block control flow syntax", + "factory": "./bundles/control-flow-migration.cjs#migrate", + "optional": true, + "package": "@angular/core", + "name": "control-flow-migration" + }, + { + "version": "20.0.0", + "description": "Moves imports of `DOCUMENT` from `@angular/common` to `@angular/core`", + "factory": "./bundles/document-core.cjs#migrate", + "package": "@angular/core", + "name": "document-core" } ] } diff --git a/npm/ng-packs/package.json b/npm/ng-packs/package.json index 92326eadb4..1f6dc87885 100644 --- a/npm/ng-packs/package.json +++ b/npm/ng-packs/package.json @@ -53,18 +53,18 @@ "@angular-eslint/eslint-plugin": "~19.0.0", "@angular-eslint/eslint-plugin-template": "~19.0.0", "@angular-eslint/template-parser": "~19.0.0", - "@angular/animations": "~19.1.0", + "@angular/animations": "20.0.2", "@angular/cli": "~19.1.0", - "@angular/common": "~19.1.0", - "@angular/compiler": "~19.1.0", - "@angular/compiler-cli": "~19.1.0", - "@angular/core": "~19.1.0", - "@angular/forms": "~19.1.0", - "@angular/language-service": "~19.1.0", - "@angular/localize": "~19.1.0", - "@angular/platform-browser": "~19.1.0", - "@angular/platform-browser-dynamic": "~19.1.0", - "@angular/router": "~19.1.0", + "@angular/common": "20.0.2", + "@angular/compiler": "20.0.2", + "@angular/compiler-cli": "20.0.2", + "@angular/core": "20.0.2", + "@angular/forms": "20.0.2", + "@angular/language-service": "20.0.2", + "@angular/localize": "20.0.2", + "@angular/platform-browser": "20.0.2", + "@angular/platform-browser-dynamic": "20.0.2", + "@angular/router": "20.0.2", "@fortawesome/fontawesome-free": "^6.0.0", "@ng-bootstrap/ng-bootstrap": "~18.0.0", "@ngneat/spectator": "~19.1.0",