Browse Source

Merge pull request #21964 from abpframework/ng-update/19.1

Angular - Update version to 19.1.x
pull/21983/head
Masum ULU 1 year ago
committed by GitHub
parent
commit
c2f4f20eaa
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 156
      npm/ng-packs/migrations.json
  2. 56
      npm/ng-packs/package.json
  3. 8
      npm/ng-packs/packages/schematics/package.json
  4. 2
      npm/ng-packs/packages/theme-shared/package.json
  5. 26
      templates/app-nolayers/angular/package.json
  6. 26
      templates/app/angular/package.json
  7. 28
      templates/module/angular/package.json
  8. 4
      templates/module/angular/projects/my-project-name/package.json

156
npm/ng-packs/migrations.json

@ -1,159 +1,19 @@
{ {
"migrations": [ "migrations": [
{ {
"version": "20.0.0-beta.7", "version": "20.3.0-beta.1",
"description": "Migration for v20.0.0-beta.7", "description": "Update ESLint flat config to include .cjs, .mjs, .cts, and .mts files in overrides (if needed)",
"implementation": "./src/migrations/update-20-0-0/move-use-daemon-process", "implementation": "./src/migrations/update-20-3-0/add-file-extensions-to-overrides",
"package": "nx",
"name": "move-use-daemon-process"
},
{
"version": "20.0.1",
"description": "Set `useLegacyCache` to true for migrating workspaces",
"implementation": "./src/migrations/update-20-0-1/use-legacy-cache",
"x-repair-skip": true,
"package": "nx",
"name": "use-legacy-cache"
},
{
"version": "20.2.0-beta.5",
"description": "Update TypeScript ESLint packages to v8.13.0 if they are already on v8",
"implementation": "./src/migrations/update-20-2-0/update-typescript-eslint-v8-13-0",
"package": "@nx/eslint", "package": "@nx/eslint",
"name": "update-typescript-eslint-v8.13.0" "name": "add-file-extensions-to-overrides"
},
{
"cli": "nx",
"version": "19.6.0-beta.4",
"description": "Update ciWebServerCommand to use static serve for the application.",
"implementation": "./src/migrations/update-19-6-0/update-ci-webserver-for-static-serve",
"package": "@nx/cypress",
"name": "update-19-6-0-update-ci-webserver-for-vite"
},
{
"cli": "nx",
"version": "20.0.0-beta.5",
"description": "replace getJestProjects with getJestProjectsAsync",
"implementation": "./src/migrations/update-20-0-0/replace-getJestProjects-with-getJestProjectsAsync",
"package": "@nx/jest",
"name": "replace-getJestProjects-with-getJestProjectsAsync"
},
{
"cli": "nx",
"version": "19.6.0-beta.4",
"description": "Ensure Module Federation DTS is turned off by default.",
"factory": "./src/migrations/update-19-6-0/turn-off-dts-by-default",
"package": "@nx/angular",
"name": "update-19-6-0"
},
{
"cli": "nx",
"version": "19.6.0-beta.7",
"requires": { "@angular/core": ">=18.2.0" },
"description": "Update the @angular/cli package version to ~18.2.0.",
"factory": "./src/migrations/update-19-6-0/update-angular-cli",
"package": "@nx/angular",
"name": "update-angular-cli-version-18-2-0"
},
{
"cli": "nx",
"version": "19.6.1-beta.0",
"description": "Ensure Target Defaults are set correctly for Module Federation.",
"factory": "./src/migrations/update-19-6-1/ensure-depends-on-for-mf",
"package": "@nx/angular",
"name": "update-19-6-1-ensure-module-federation-target-defaults"
},
{
"cli": "nx",
"version": "20.2.0-beta.2",
"description": "Update the ModuleFederationConfig import use @nx/module-federation.",
"factory": "./src/migrations/update-20-2-0/migrate-mf-imports-to-new-package",
"package": "@nx/angular",
"name": "update-20-2-0-update-module-federation-config-import"
},
{
"cli": "nx",
"version": "20.2.0-beta.2",
"description": "Update the withModuleFederation import use @nx/module-federation/angular.",
"factory": "./src/migrations/update-20-2-0/migrate-with-mf-import-to-new-package",
"package": "@nx/angular",
"name": "update-20-2-0-update-with-module-federation-import"
},
{
"cli": "nx",
"version": "20.2.0-beta.5",
"requires": { "@angular/core": ">=19.0.0" },
"description": "Update the @angular/cli package version to ~19.0.0.",
"factory": "./src/migrations/update-20-2-0/update-angular-cli",
"package": "@nx/angular",
"name": "update-angular-cli-version-19-0-0"
},
{
"cli": "nx",
"version": "20.2.0-beta.5",
"requires": { "@angular/core": ">=19.0.0" },
"description": "Add the '@angular/localize/init' polyfill to the 'polyfills' option of targets using esbuild-based executors.",
"factory": "./src/migrations/update-20-2-0/add-localize-polyfill-to-targets",
"package": "@nx/angular",
"name": "add-localize-polyfill-to-targets"
},
{
"cli": "nx",
"version": "20.2.0-beta.5",
"requires": { "@angular/core": ">=19.0.0" },
"description": "Update '@angular/ssr' import paths to use the new '/node' entry point when 'CommonEngine' is detected.",
"factory": "./src/migrations/update-20-2-0/update-angular-ssr-imports-to-use-node-entry-point",
"package": "@nx/angular",
"name": "update-angular-ssr-imports-to-use-node-entry-point"
}, },
{ {
"cli": "nx", "cli": "nx",
"version": "20.2.0-beta.6", "version": "20.3.0-beta.2",
"requires": { "@angular/core": ">=19.0.0" }, "description": "If workspace includes Module Federation projects, ensure the new @nx/module-federation package is installed.",
"description": "Disable the Angular ESLint prefer-standalone rule if not set.", "factory": "./src/migrations/update-20-3-0/ensure-nx-module-federation-package",
"factory": "./src/migrations/update-20-2-0/disable-angular-eslint-prefer-standalone",
"package": "@nx/angular", "package": "@nx/angular",
"name": "disable-angular-eslint-prefer-standalone" "name": "ensure-nx-module-federation-package"
},
{
"cli": "nx",
"version": "20.2.0-beta.8",
"requires": { "@angular/core": ">=19.0.0" },
"description": "Remove Angular ESLint rules that were removed in v19.0.0.",
"factory": "./src/migrations/update-20-2-0/remove-angular-eslint-rules",
"package": "@nx/angular",
"name": "remove-angular-eslint-rules"
},
{
"cli": "nx",
"version": "20.2.0-beta.8",
"requires": { "@angular/core": ">=19.0.0" },
"description": "Remove the deprecated 'tailwindConfig' option from ng-packagr executors. Tailwind CSS configurations located at the project or workspace root will be picked up automatically.",
"factory": "./src/migrations/update-20-2-0/remove-tailwind-config-from-ng-packagr-executors",
"package": "@nx/angular",
"name": "remove-tailwind-config-from-ng-packagr-executors"
},
{
"version": "19.0.0",
"description": "Updates non-standalone Directives, Component and Pipes to 'standalone:false' and removes 'standalone:true' from those who are standalone",
"factory": "./bundles/explicit-standalone-flag#migrate",
"package": "@angular/core",
"name": "explicit-standalone-flag"
},
{
"version": "19.0.0",
"description": "Updates ExperimentalPendingTasks to PendingTasks",
"factory": "./bundles/pending-tasks#migrate",
"package": "@angular/core",
"name": "pending-tasks"
},
{
"version": "19.0.0",
"description": "Replaces `APP_INITIALIZER`, `ENVIRONMENT_INITIALIZER` & `PLATFORM_INITIALIZER` respectively with `provideAppInitializer`, `provideEnvironmentInitializer` & `providePlatformInitializer`.",
"factory": "./bundles/provide-initializer#migrate",
"optional": true,
"package": "@angular/core",
"name": "provide-initializer"
} }
] ]
} }

56
npm/ng-packs/package.json

@ -46,38 +46,38 @@
"devDependencies": { "devDependencies": {
"@abp/ng.theme.lepton-x": "~4.1.0-rc.1", "@abp/ng.theme.lepton-x": "~4.1.0-rc.1",
"@abp/utils": "~9.1.0-rc.1", "@abp/utils": "~9.1.0-rc.1",
"@angular-devkit/build-angular": "~19.0.0", "@angular-devkit/build-angular": "~19.1.0",
"@angular-devkit/core": "~19.0.0", "@angular-devkit/core": "~19.1.0",
"@angular-devkit/schematics": "~19.0.0", "@angular-devkit/schematics": "~19.1.0",
"@angular-devkit/schematics-cli": "~19.0.0", "@angular-devkit/schematics-cli": "~19.1.0",
"@angular-eslint/eslint-plugin": "~19.0.0", "@angular-eslint/eslint-plugin": "~19.0.0",
"@angular-eslint/eslint-plugin-template": "~19.0.0", "@angular-eslint/eslint-plugin-template": "~19.0.0",
"@angular-eslint/template-parser": "~19.0.0", "@angular-eslint/template-parser": "~19.0.0",
"@angular/animations": "~19.0.0", "@angular/animations": "~19.1.0",
"@angular/cli": "~19.0.0", "@angular/cli": "~19.1.0",
"@angular/common": "~19.0.0", "@angular/common": "~19.1.0",
"@angular/compiler": "~19.0.0", "@angular/compiler": "~19.1.0",
"@angular/compiler-cli": "~19.0.0", "@angular/compiler-cli": "~19.1.0",
"@angular/core": "~19.0.0", "@angular/core": "~19.1.0",
"@angular/forms": "~19.0.0", "@angular/forms": "~19.1.0",
"@angular/language-service": "~19.0.0", "@angular/language-service": "~19.1.0",
"@angular/localize": "~19.0.0", "@angular/localize": "~19.1.0",
"@angular/platform-browser": "~19.0.0", "@angular/platform-browser": "~19.1.0",
"@angular/platform-browser-dynamic": "~19.0.0", "@angular/platform-browser-dynamic": "~19.1.0",
"@angular/router": "~19.0.0", "@angular/router": "~19.1.0",
"@fortawesome/fontawesome-free": "^6.0.0", "@fortawesome/fontawesome-free": "^6.0.0",
"@ng-bootstrap/ng-bootstrap": "~18.0.0-rc.0", "@ng-bootstrap/ng-bootstrap": "~18.0.0",
"@ngneat/spectator": "~19.1.0", "@ngneat/spectator": "~19.1.0",
"@ngx-validate/core": "^0.2.0", "@ngx-validate/core": "^0.2.0",
"@nx/angular": "~20.2.0", "@nx/angular": "~20.3.0",
"@nx/cypress": "~20.2.0", "@nx/cypress": "~20.3.0",
"@nx/devkit": "~20.2.0", "@nx/devkit": "~20.3.0",
"@nx/eslint": "~20.2.0", "@nx/eslint": "~20.3.0",
"@nx/eslint-plugin": "~20.2.0", "@nx/eslint-plugin": "~20.3.0",
"@nx/jest": "~20.2.0", "@nx/jest": "~20.3.0",
"@nx/js": "~20.2.0", "@nx/js": "~20.3.0",
"@nx/plugin": "~20.2.0", "@nx/plugin": "~20.3.0",
"@nx/workspace": "~20.2.0", "@nx/workspace": "~20.3.0",
"@popperjs/core": "~2.11.0", "@popperjs/core": "~2.11.0",
"@schematics/angular": "~19.0.0", "@schematics/angular": "~19.0.0",
"@swc-node/register": "1.9.2", "@swc-node/register": "1.9.2",
@ -111,9 +111,9 @@
"just-compare": "^2.0.0", "just-compare": "^2.0.0",
"lerna": "^4.0.0", "lerna": "^4.0.0",
"lint-staged": "^13.0.0", "lint-staged": "^13.0.0",
"ng-packagr": "~19.0.0", "ng-packagr": "~19.1.0",
"ng-zorro-antd": "^19.0.0-beta.0", "ng-zorro-antd": "^19.0.0-beta.0",
"nx": "~20.2.0", "nx": "~20.3.0",
"postcss": "^8.0.0", "postcss": "^8.0.0",
"postcss-import": "14.1.0", "postcss-import": "14.1.0",
"postcss-preset-env": "7.5.0", "postcss-preset-env": "7.5.0",

8
npm/ng-packs/packages/schematics/package.json

@ -4,16 +4,16 @@
"author": "", "author": "",
"schematics": "./collection.json", "schematics": "./collection.json",
"dependencies": { "dependencies": {
"@angular-devkit/core": "~19.0.0", "@angular-devkit/core": "~19.1.0",
"@angular-devkit/schematics": "~19.0.0", "@angular-devkit/schematics": "~19.1.0",
"@angular/cli": "~19.0.0", "@angular/cli": "~19.1.0",
"got": "^11.5.2", "got": "^11.5.2",
"jsonc-parser": "^2.3.0", "jsonc-parser": "^2.3.0",
"should-quote": "^1.0.0", "should-quote": "^1.0.0",
"typescript": "~5.6.0" "typescript": "~5.6.0"
}, },
"devDependencies": { "devDependencies": {
"@schematics/angular": "~19.0.0", "@schematics/angular": "~19.1.0",
"@types/jest": "29.4.4", "@types/jest": "29.4.4",
"@types/node": "20.2.5", "@types/node": "20.2.5",
"jest": "29.4.3", "jest": "29.4.3",

2
npm/ng-packs/packages/theme-shared/package.json

@ -9,7 +9,7 @@
"dependencies": { "dependencies": {
"@abp/ng.core": "~9.1.0-rc.1", "@abp/ng.core": "~9.1.0-rc.1",
"@fortawesome/fontawesome-free": "^5.0.0", "@fortawesome/fontawesome-free": "^5.0.0",
"@ng-bootstrap/ng-bootstrap": "~17.0.0", "@ng-bootstrap/ng-bootstrap": "~18.0.0",
"@ngx-validate/core": "^0.2.0", "@ngx-validate/core": "^0.2.0",
"@popperjs/core": "~2.11.0", "@popperjs/core": "~2.11.0",
"@swimlane/ngx-datatable": "^20.0.0", "@swimlane/ngx-datatable": "^20.0.0",

26
templates/app-nolayers/angular/package.json

@ -21,15 +21,15 @@
"@abp/ng.tenant-management": "~9.1.0-rc.1", "@abp/ng.tenant-management": "~9.1.0-rc.1",
"@abp/ng.theme.lepton-x": "~4.1.0-rc.1", "@abp/ng.theme.lepton-x": "~4.1.0-rc.1",
"@abp/ng.theme.shared": "~9.1.0-rc.1", "@abp/ng.theme.shared": "~9.1.0-rc.1",
"@angular/animations": "~19.0.0", "@angular/animations": "~19.1.0",
"@angular/common": "~19.0.0", "@angular/common": "~19.1.0",
"@angular/compiler": "~19.0.0", "@angular/compiler": "~19.1.0",
"@angular/core": "~19.0.0", "@angular/core": "~19.1.0",
"@angular/forms": "~19.0.0", "@angular/forms": "~19.1.0",
"@angular/localize": "~19.0.0", "@angular/localize": "~19.1.0",
"@angular/platform-browser": "~19.0.0", "@angular/platform-browser": "~19.1.0",
"@angular/platform-browser-dynamic": "~19.0.0", "@angular/platform-browser-dynamic": "~19.1.0",
"@angular/router": "~19.0.0", "@angular/router": "~19.1.0",
"bootstrap-icons": "~1.8.0", "bootstrap-icons": "~1.8.0",
"rxjs": "~7.8.0", "rxjs": "~7.8.0",
"tslib": "^2.0.0", "tslib": "^2.0.0",
@ -37,15 +37,15 @@
}, },
"devDependencies": { "devDependencies": {
"@abp/ng.schematics": "~9.1.0-rc.1", "@abp/ng.schematics": "~9.1.0-rc.1",
"@angular-devkit/build-angular": "~19.0.0", "@angular-devkit/build-angular": "~19.1.0",
"@angular-eslint/builder": "~19.0.0", "@angular-eslint/builder": "~19.0.0",
"@angular-eslint/eslint-plugin": "~19.0.0", "@angular-eslint/eslint-plugin": "~19.0.0",
"@angular-eslint/eslint-plugin-template": "~19.0.0", "@angular-eslint/eslint-plugin-template": "~19.0.0",
"@angular-eslint/schematics": "~19.0.0", "@angular-eslint/schematics": "~19.0.0",
"@angular-eslint/template-parser": "~19.0.0", "@angular-eslint/template-parser": "~19.0.0",
"@angular/cli": "~19.0.0", "@angular/cli": "~19.1.0",
"@angular/compiler-cli": "~19.0.0", "@angular/compiler-cli": "~19.1.0",
"@angular/language-service": "~19.0.0", "@angular/language-service": "~19.1.0",
"@types/jasmine": "~3.6.0", "@types/jasmine": "~3.6.0",
"@types/node": "^12.11.1", "@types/node": "^12.11.1",
"@typescript-eslint/eslint-plugin": "7.16.0", "@typescript-eslint/eslint-plugin": "7.16.0",

26
templates/app/angular/package.json

@ -21,15 +21,15 @@
"@abp/ng.tenant-management": "~9.1.0-rc.1", "@abp/ng.tenant-management": "~9.1.0-rc.1",
"@abp/ng.theme.lepton-x": "~4.1.0-rc.1", "@abp/ng.theme.lepton-x": "~4.1.0-rc.1",
"@abp/ng.theme.shared": "~9.1.0-rc.1", "@abp/ng.theme.shared": "~9.1.0-rc.1",
"@angular/animations": "~19.0.0", "@angular/animations": "~19.1.0",
"@angular/common": "~19.0.0", "@angular/common": "~19.1.0",
"@angular/compiler": "~19.0.0", "@angular/compiler": "~19.1.0",
"@angular/core": "~19.0.0", "@angular/core": "~19.1.0",
"@angular/forms": "~19.0.0", "@angular/forms": "~19.1.0",
"@angular/localize": "~19.0.0", "@angular/localize": "~19.1.0",
"@angular/platform-browser": "~19.0.0", "@angular/platform-browser": "~19.1.0",
"@angular/platform-browser-dynamic": "~19.0.0", "@angular/platform-browser-dynamic": "~19.1.0",
"@angular/router": "~19.0.0", "@angular/router": "~19.1.0",
"bootstrap-icons": "~1.8.0", "bootstrap-icons": "~1.8.0",
"rxjs": "~7.8.0", "rxjs": "~7.8.0",
"tslib": "^2.0.0", "tslib": "^2.0.0",
@ -37,15 +37,15 @@
}, },
"devDependencies": { "devDependencies": {
"@abp/ng.schematics": "~9.1.0-rc.1", "@abp/ng.schematics": "~9.1.0-rc.1",
"@angular-devkit/build-angular": "~19.0.0", "@angular-devkit/build-angular": "~19.1.0",
"@angular-eslint/builder": "~19.0.0", "@angular-eslint/builder": "~19.0.0",
"@angular-eslint/eslint-plugin": "~19.0.0", "@angular-eslint/eslint-plugin": "~19.0.0",
"@angular-eslint/eslint-plugin-template": "~19.0.0", "@angular-eslint/eslint-plugin-template": "~19.0.0",
"@angular-eslint/schematics": "~19.0.0", "@angular-eslint/schematics": "~19.0.0",
"@angular-eslint/template-parser": "~19.0.0", "@angular-eslint/template-parser": "~19.0.0",
"@angular/cli": "~19.0.0", "@angular/cli": "~19.1.0",
"@angular/compiler-cli": "~19.0.0", "@angular/compiler-cli": "~19.1.0",
"@angular/language-service": "~19.0.0", "@angular/language-service": "~19.1.0",
"@types/jasmine": "~3.6.0", "@types/jasmine": "~3.6.0",
"@types/node": "^12.11.1", "@types/node": "^12.11.1",
"@typescript-eslint/eslint-plugin": "7.16.0", "@typescript-eslint/eslint-plugin": "7.16.0",

28
templates/module/angular/package.json

@ -22,30 +22,30 @@
"@abp/ng.tenant-management": "~9.1.0-rc.1", "@abp/ng.tenant-management": "~9.1.0-rc.1",
"@abp/ng.theme.basic": "~9.1.0-rc.1", "@abp/ng.theme.basic": "~9.1.0-rc.1",
"@abp/ng.theme.shared": "~9.1.0-rc.1", "@abp/ng.theme.shared": "~9.1.0-rc.1",
"@angular/animations": "~19.0.0", "@angular/animations": "~19.1.0",
"@angular/common": "~19.0.0", "@angular/common": "~19.1.0",
"@angular/compiler": "~19.0.0", "@angular/compiler": "~19.1.0",
"@angular/core": "~19.0.0", "@angular/core": "~19.1.0",
"@angular/forms": "~19.0.0", "@angular/forms": "~19.1.0",
"@angular/localize": "~19.0.0", "@angular/localize": "~19.1.0",
"@angular/platform-browser": "~19.0.0", "@angular/platform-browser": "~19.1.0",
"@angular/platform-browser-dynamic": "~19.0.0", "@angular/platform-browser-dynamic": "~19.1.0",
"@angular/router": "~19.0.0", "@angular/router": "~19.1.0",
"rxjs": "~7.8.0", "rxjs": "~7.8.0",
"tslib": "^2.0.0", "tslib": "^2.0.0",
"zone.js": "~0.15.0" "zone.js": "~0.15.0"
}, },
"devDependencies": { "devDependencies": {
"@abp/ng.schematics": "~9.1.0-rc.1", "@abp/ng.schematics": "~9.1.0-rc.1",
"@angular-devkit/build-angular": "~19.0.0", "@angular-devkit/build-angular": "~19.1.0",
"@angular-eslint/builder": "~19.0.0", "@angular-eslint/builder": "~19.0.0",
"@angular-eslint/eslint-plugin": "~19.0.0", "@angular-eslint/eslint-plugin": "~19.0.0",
"@angular-eslint/eslint-plugin-template": "~19.0.0", "@angular-eslint/eslint-plugin-template": "~19.0.0",
"@angular-eslint/schematics": "~19.0.0", "@angular-eslint/schematics": "~19.0.0",
"@angular-eslint/template-parser": "~19.0.0", "@angular-eslint/template-parser": "~19.0.0",
"@angular/cli": "~19.0.0", "@angular/cli": "~19.1.0",
"@angular/compiler-cli": "~19.0.0", "@angular/compiler-cli": "~19.1.0",
"@angular/language-service": "~19.0.0", "@angular/language-service": "~19.1.0",
"@types/jasmine": "~3.6.0", "@types/jasmine": "~3.6.0",
"@types/node": "^12.11.1", "@types/node": "^12.11.1",
"@typescript-eslint/eslint-plugin": "7.16.0", "@typescript-eslint/eslint-plugin": "7.16.0",
@ -57,7 +57,7 @@
"karma-coverage": "~2.1.0", "karma-coverage": "~2.1.0",
"karma-jasmine": "~4.0.0", "karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.7.0", "karma-jasmine-html-reporter": "^1.7.0",
"ng-packagr": "~19.0.0", "ng-packagr": "~19.1.0",
"symlink": "^2.0.0", "symlink": "^2.0.0",
"typescript": "~5.6.0" "typescript": "~5.6.0"
} }

4
templates/module/angular/projects/my-project-name/package.json

@ -2,8 +2,8 @@
"name": "@my-company-name/my-project-name", "name": "@my-company-name/my-project-name",
"version": "0.0.1", "version": "0.0.1",
"peerDependencies": { "peerDependencies": {
"@angular/common": "~19.0.0", "@angular/common": "~19.1.0",
"@angular/core": "~19.0.0", "@angular/core": "~19.1.0",
"@abp/ng.core": "~9.1.0-rc.1", "@abp/ng.core": "~9.1.0-rc.1",
"@abp/ng.theme.shared": "~9.1.0-rc.1" "@abp/ng.theme.shared": "~9.1.0-rc.1"
}, },

Loading…
Cancel
Save