diff --git a/npm/ng-packs/jest.config.ts b/npm/ng-packs/jest.config.ts index d0dbd1b889..6b3f2d6e24 100644 --- a/npm/ng-packs/jest.config.ts +++ b/npm/ng-packs/jest.config.ts @@ -1,5 +1,5 @@ -import { getJestProjects } from '@nx/jest'; +import { getJestProjectsAsync } from '@nx/jest'; -export default { - projects: getJestProjects(), -}; +export default async () => ({ + projects: await getJestProjectsAsync(), +}); diff --git a/npm/ng-packs/migrations.json b/npm/ng-packs/migrations.json index c7f89c3394..6fb305ede9 100644 --- a/npm/ng-packs/migrations.json +++ b/npm/ng-packs/migrations.json @@ -1,84 +1,159 @@ { "migrations": [ { - "cli": "nx", - "version": "19.2.0-beta.2", - "description": "Updates the default workspace data directory to .nx/workspace-data", - "implementation": "./src/migrations/update-19-2-0/move-workspace-data-directory", + "version": "20.0.0-beta.7", + "description": "Migration for v20.0.0-beta.7", + "implementation": "./src/migrations/update-20-0-0/move-use-daemon-process", "package": "nx", - "name": "19-2-0-move-graph-cache-directory" + "name": "move-use-daemon-process" }, { - "cli": "nx", - "version": "19.2.2-beta.0", - "description": "Updates the nx wrapper.", - "implementation": "./src/migrations/update-17-3-0/update-nxw", + "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": "19-2-2-update-nx-wrapper" + "name": "use-legacy-cache" }, { - "version": "19.2.4-beta.0", - "description": "Set project name in nx.json explicitly", - "implementation": "./src/migrations/update-19-2-4/set-project-name", - "x-repair-skip": true, - "package": "nx", - "name": "19-2-4-set-project-name" + "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", + "name": "update-typescript-eslint-v8.13.0" + }, + { + "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": "19.1.0-beta.6", - "description": "Migrate no-extra-semi rules into user config, out of nx extendable configs", - "implementation": "./src/migrations/update-19-1-0-migrate-no-extra-semi/migrate-no-extra-semi", - "package": "@nx/eslint-plugin", - "name": "update-19-1-0-rename-no-extra-semi" + "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", - "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-1-0/update-angular-cli", + "version": "20.2.0-beta.6", + "requires": { "@angular/core": ">=19.0.0" }, + "description": "Disable the Angular ESLint prefer-standalone rule if not set.", + "factory": "./src/migrations/update-20-2-0/disable-angular-eslint-prefer-standalone", "package": "@nx/angular", - "name": "update-angular-cli-version-18-0-0" + "name": "disable-angular-eslint-prefer-standalone" }, { "cli": "nx", - "version": "19.2.1-beta.0", - "requires": { "@angular-eslint/eslint-plugin": ">=18.0.0" }, - "description": "Installs the '@typescript-eslint/utils' package when having installed '@angular-eslint/eslint-plugin' or '@angular-eslint/eslint-plugin-template' with version >=18.0.0.", - "factory": "./src/migrations/update-19-2-1/add-typescript-eslint-utils", + "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": "add-typescript-eslint-utils" + "name": "remove-angular-eslint-rules" }, { "cli": "nx", - "version": "19.5.0-beta.1", - "requires": { "@angular/core": ">=18.1.0" }, - "description": "Update the @angular/cli package version to ~18.1.0.", - "factory": "./src/migrations/update-19-5-0/update-angular-cli", + "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": "update-angular-cli-version-18-1-0" + "name": "remove-tailwind-config-from-ng-packagr-executors" }, { - "version": "18.0.0", - "description": "Updates two-way bindings that have an invalid expression to use the longform expression instead.", - "factory": "./migrations/invalid-two-way-bindings/bundle", + "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": "invalid-two-way-bindings" + "name": "explicit-standalone-flag" }, { - "version": "18.0.0", - "description": "Replace deprecated HTTP related modules with provider functions", - "factory": "./migrations/http-providers/bundle", + "version": "19.0.0", + "description": "Updates ExperimentalPendingTasks to PendingTasks", + "factory": "./bundles/pending-tasks#migrate", "package": "@angular/core", - "name": "migration-http-providers" + "name": "pending-tasks" }, { - "version": "18.1.0", - "description": "Updates calls to afterRender with an explicit phase to the new API", - "factory": "./migrations/after-render-phase/bundle", + "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": "migration-after-render-phase" + "name": "provide-initializer" } ] } diff --git a/npm/ng-packs/package.json b/npm/ng-packs/package.json index 82972f3d70..f0c5b17e85 100644 --- a/npm/ng-packs/package.json +++ b/npm/ng-packs/package.json @@ -46,51 +46,51 @@ "devDependencies": { "@abp/ng.theme.lepton-x": "~4.0.3", "@abp/utils": "~9.0.2", - "@angular-devkit/build-angular": "~18.1.0", - "@angular-devkit/core": "~18.1.0", - "@angular-devkit/schematics": "~18.1.0", - "@angular-devkit/schematics-cli": "~18.1.0", - "@angular-eslint/eslint-plugin": "~18.1.0", - "@angular-eslint/eslint-plugin-template": "~18.1.0", - "@angular-eslint/template-parser": "~18.1.0", - "@angular/animations": "~18.1.0", - "@angular/cli": "~18.1.0", - "@angular/common": "~18.1.0", - "@angular/compiler": "~18.1.0", - "@angular/compiler-cli": "~18.1.0", - "@angular/core": "~18.1.0", - "@angular/forms": "~18.1.0", - "@angular/language-service": "~18.1.0", - "@angular/localize": "~18.1.0", - "@angular/platform-browser": "~18.1.0", - "@angular/platform-browser-dynamic": "~18.1.0", - "@angular/router": "~18.1.0", + "@angular-devkit/build-angular": "~19.0.0", + "@angular-devkit/core": "~19.0.0", + "@angular-devkit/schematics": "~19.0.0", + "@angular-devkit/schematics-cli": "~19.0.0", + "@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.0.0", + "@angular/cli": "~19.0.0", + "@angular/common": "~19.0.0", + "@angular/compiler": "~19.0.0", + "@angular/compiler-cli": "~19.0.0", + "@angular/core": "~19.0.0", + "@angular/forms": "~19.0.0", + "@angular/language-service": "~19.0.0", + "@angular/localize": "~19.0.0", + "@angular/platform-browser": "~19.0.0", + "@angular/platform-browser-dynamic": "~19.0.0", + "@angular/router": "~19.0.0", "@fortawesome/fontawesome-free": "^6.0.0", - "@ng-bootstrap/ng-bootstrap": "~17.0.0", - "@ngneat/spectator": "^16.0.0", + "@ng-bootstrap/ng-bootstrap": "~18.0.0-rc.0", + "@ngneat/spectator": "~19.1.0", "@ngx-validate/core": "^0.2.0", - "@nx/angular": "~19.5.0", - "@nx/cypress": "~19.5.0", - "@nx/devkit": "~19.5.0", - "@nx/eslint": "~19.5.0", - "@nx/eslint-plugin": "~19.5.0", - "@nx/jest": "~19.5.0", - "@nx/js": "~19.5.0", - "@nx/plugin": "~19.5.0", - "@nx/workspace": "~19.5.0", + "@nx/angular": "~20.2.0", + "@nx/cypress": "~20.2.0", + "@nx/devkit": "~20.2.0", + "@nx/eslint": "~20.2.0", + "@nx/eslint-plugin": "~20.2.0", + "@nx/jest": "~20.2.0", + "@nx/js": "~20.2.0", + "@nx/plugin": "~20.2.0", + "@nx/workspace": "~20.2.0", "@popperjs/core": "~2.11.0", - "@schematics/angular": "~18.1.0", + "@schematics/angular": "~19.0.0", "@swc-node/register": "1.9.2", "@swc/cli": "0.3.12", "@swc/core": "~1.5.0", "@swc/helpers": "~0.5.0", "@swimlane/ngx-datatable": "^20.0.0", - "@types/jest": "29.4.4", + "@types/jest": "29.5.14", "@types/node": "^20.0.0", "@typescript-eslint/eslint-plugin": "7.16.0", "@typescript-eslint/parser": "7.16.0", "@typescript-eslint/utils": "^7.16.0", - "angular-oauth2-oidc": "^17.0.0", + "angular-oauth2-oidc": "^19.0.0", "autoprefixer": "^10.0.0", "bootstrap": "^5.0.0", "bootstrap-icons": "^1.0.0", @@ -104,16 +104,16 @@ "jest": "^29.0.0", "jest-canvas-mock": "^2.0.0", "jest-environment-jsdom": "^29.0.0", - "jest-preset-angular": "14.1.1", + "jest-preset-angular": "14.4.2", "jsonc-eslint-parser": "^2.0.0", "jsonc-parser": "^2.0.0", "just-clone": "^6.0.0", "just-compare": "^2.0.0", "lerna": "^4.0.0", "lint-staged": "^13.0.0", - "ng-packagr": "~18.1.0", - "ng-zorro-antd": "^17.0.0", - "nx": "~19.5.0", + "ng-packagr": "~19.0.0", + "ng-zorro-antd": "^19.0.0-beta.0", + "nx": "~20.2.0", "perfect-scrollbar": "^1.0.0", "postcss": "^8.0.0", "postcss-import": "14.1.0", @@ -128,8 +128,8 @@ "ts-toolbelt": "^9.0.0", "tslib": "^2.0.0", "tslint": "~6.1.0", - "typescript": "~5.5.0", - "zone.js": "~0.14.0" + "typescript": "~5.6.0", + "zone.js": "~0.15.0" }, "lint-staged": { "**/*.{js,jsx,ts,tsx,html,css,scss}": [