Browse Source

ng version upgrade to v20

pull/23057/head
erdemcaygor 1 year ago
parent
commit
b6ad57cab3
  1. 96
      npm/ng-packs/migrations.json
  2. 26
      npm/ng-packs/package.json

96
npm/ng-packs/migrations.json

@ -1,33 +1,87 @@
{
"migrations": [
{
"version": "20.0.0",
"description": "Replaces usages of the deprecated InjectFlags enum",
"factory": "./bundles/inject-flags.cjs#migrate",
"package": "@angular/core",
"name": "inject-flags"
"version": "21.0.0-beta.8",
"description": "Removes the legacy cache configuration from nx.json",
"implementation": "./src/migrations/update-21-0-0/remove-legacy-cache",
"package": "nx",
"name": "remove-legacy-cache"
},
{
"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": "21.0.0-beta.8",
"description": "Removes the legacy cache configuration from nx.json",
"implementation": "./src/migrations/update-21-0-0/remove-custom-tasks-runner",
"package": "nx",
"name": "remove-custom-tasks-runner"
},
{
"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": "21.0.0-beta.11",
"description": "Updates release version config based on the breaking changes in Nx v21",
"implementation": "./src/migrations/update-21-0-0/release-version-config-changes",
"package": "nx",
"name": "release-version-config-changes"
},
{
"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"
"version": "21.0.0-beta.11",
"description": "Updates release changelog config based on the breaking changes in Nx v21",
"implementation": "./src/migrations/update-21-0-0/release-changelog-config-changes",
"package": "nx",
"name": "release-changelog-config-changes"
},
{
"version": "21.1.0-beta.2",
"description": "Adds **/nx-rules.mdc and **/nx.instructions.md to .gitignore if not present",
"implementation": "./src/migrations/update-21-1-0/add-gitignore-entry",
"package": "nx",
"name": "21-1-0-add-ignore-entries-for-nx-rule-files"
},
{
"version": "21.0.0-beta.10",
"description": "Removes the `tsConfig` and `copyFiles` options from the `@nx/cypress:cypress` executor.",
"implementation": "./src/migrations/update-21-0-0/remove-tsconfig-and-copy-files-options-from-cypress-executor",
"package": "@nx/cypress",
"name": "remove-tsconfig-and-copy-files-options-from-cypress-executor"
},
{
"cli": "nx",
"version": "21.0.0-beta.9",
"description": "Replace usage of `getJestProjects` with `getJestProjectsAsync`.",
"implementation": "./src/migrations/update-21-0-0/replace-getJestProjects-with-getJestProjectsAsync",
"package": "@nx/jest",
"name": "replace-getJestProjects-with-getJestProjectsAsync-v21"
},
{
"version": "21.0.0-beta.10",
"description": "Remove the previously deprecated and unused `tsConfig` option from the `@nx/jest:jest` executor.",
"implementation": "./src/migrations/update-21-0-0/remove-tsconfig-option-from-jest-executor",
"package": "@nx/jest",
"name": "remove-tsconfig-option-from-jest-executor"
},
{
"cli": "nx",
"version": "20.4.0-beta.1",
"requires": { "@angular/core": ">=19.1.0" },
"description": "Update the @angular/cli package version to ~19.1.0.",
"factory": "./src/migrations/update-20-4-0/update-angular-cli",
"package": "@nx/angular",
"name": "update-angular-cli-version-19-1-0"
},
{
"cli": "nx",
"version": "20.5.0-beta.5",
"requires": { "@angular/core": ">=19.2.0" },
"description": "Update the @angular/cli package version to ~19.2.0.",
"factory": "./src/migrations/update-20-5-0/update-angular-cli",
"package": "@nx/angular",
"name": "update-angular-cli-version-19-2-0"
},
{
"cli": "nx",
"version": "21.0.0-beta.3",
"description": "Set the `continuous` option to `true` for continuous tasks.",
"factory": "./src/migrations/update-21-0-0/set-continuous-option",
"package": "@nx/angular",
"name": "set-continuous-option"
}
]
}

26
npm/ng-packs/package.json

@ -69,19 +69,19 @@
"@ng-bootstrap/ng-bootstrap": "~18.0.0",
"@ngneat/spectator": "~19.1.0",
"@ngx-validate/core": "^0.2.0",
"@nx/angular": "~20.3.0",
"@nx/cypress": "~20.3.0",
"@nx/devkit": "~20.3.0",
"@nx/eslint": "~20.3.0",
"@nx/eslint-plugin": "~20.3.0",
"@nx/jest": "~20.3.0",
"@nx/js": "~20.3.0",
"@nx/plugin": "~20.3.0",
"@nx/workspace": "~20.3.0",
"@nx/angular": "~21.1.3",
"@nx/cypress": "~21.1.3",
"@nx/devkit": "~21.1.3",
"@nx/eslint": "~21.1.3",
"@nx/eslint-plugin": "~21.1.3",
"@nx/jest": "~21.1.3",
"@nx/js": "~21.1.3",
"@nx/plugin": "~21.1.3",
"@nx/workspace": "~21.1.3",
"@popperjs/core": "~2.11.0",
"@schematics/angular": "~19.0.0",
"@swc-node/register": "1.9.2",
"@swc/cli": "0.3.12",
"@swc/cli": "0.6.0",
"@swc/core": "~1.5.0",
"@swc/helpers": "~0.5.0",
"@swimlane/ngx-datatable": "^20.0.0",
@ -98,7 +98,7 @@
"cypress": "^7.0.0",
"dotenv": "10.0.0",
"eslint": "^8.0.0",
"eslint-config-prettier": "9.0.0",
"eslint-config-prettier": "10.0.0",
"eslint-plugin-cypress": "^2.10.3",
"got": "^11.0.0",
"jest": "^29.0.0",
@ -113,7 +113,7 @@
"lint-staged": "^13.0.0",
"ng-packagr": "~19.1.0",
"ng-zorro-antd": "~19.0.0",
"nx": "~20.3.0",
"nx": "~21.1.3",
"postcss": "^8.0.0",
"postcss-import": "14.1.0",
"postcss-preset-env": "7.5.0",
@ -127,7 +127,7 @@
"ts-toolbelt": "^9.0.0",
"tslib": "^2.0.0",
"tslint": "~6.1.0",
"typescript": "~5.6.0",
"typescript": "~5.7.3",
"zone.js": "~0.15.0"
},
"lint-staged": {

Loading…
Cancel
Save