feat: upgrade angular and nx

This commit is contained in:
thomas
2024-07-19 10:31:15 +02:00
parent f3cf214ee9
commit 44f0ea2270
5 changed files with 8032 additions and 3663 deletions

1
.gitignore vendored
View File

@@ -41,3 +41,4 @@ Thumbs.db
TODO.md
.nx/cache
.nx/workspace-data

View File

@@ -5,4 +5,5 @@
.angular
/.nx/cache
/.nx/cache
/.nx/workspace-data

57
migrations.json Normal file
View File

@@ -0,0 +1,57 @@
{
"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",
"package": "nx",
"name": "19-2-0-move-graph-cache-directory"
},
{
"cli": "nx",
"version": "19.2.2-beta.0",
"description": "Updates the nx wrapper.",
"implementation": "./src/migrations/update-17-3-0/update-nxw",
"package": "nx",
"name": "19-2-2-update-nx-wrapper"
},
{
"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"
},
{
"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",
"package": "@nx/angular",
"name": "add-typescript-eslint-utils"
},
{
"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",
"package": "@nx/angular",
"name": "update-angular-cli-version-18-1-0"
},
{
"version": "18.1.0",
"description": "Updates calls to afterRender with an explicit phase to the new API",
"factory": "./migrations/after-render-phase/bundle",
"package": "@angular/core",
"name": "migration-after-render-phase"
}
]
}

11543
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -14,25 +14,25 @@
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/github": "^6.0.0",
"@angular/animations": "18.0.0",
"@angular/cdk": "18.0.0",
"@angular/common": "18.0.0",
"@angular/compiler": "18.0.0",
"@angular/core": "18.0.0",
"@angular/forms": "18.0.0",
"@angular/material": "18.0.0",
"@angular/platform-browser": "18.0.0",
"@angular/platform-browser-dynamic": "18.0.0",
"@angular/router": "18.0.0",
"@angular/animations": "18.1.1",
"@angular/cdk": "18.1.1",
"@angular/common": "18.1.1",
"@angular/compiler": "18.1.1",
"@angular/core": "18.1.1",
"@angular/forms": "18.1.1",
"@angular/material": "18.1.1",
"@angular/platform-browser": "18.1.1",
"@angular/platform-browser-dynamic": "18.1.1",
"@angular/router": "18.1.1",
"@ngneat/falso": "^6.4.0",
"@ngrx/component": "18.0.0-beta.1",
"@ngrx/component-store": "18.0.0-beta.1",
"@ngrx/effects": "18.0.0-beta.1",
"@ngrx/entity": "18.0.0-beta.1",
"@ngrx/router-store": "18.0.0-beta.1",
"@ngrx/store": "18.0.0-beta.1",
"@nx/angular": "19.1.0",
"@swc/helpers": "0.5.3",
"@ngrx/component": "18.0.1",
"@ngrx/component-store": "18.0.1",
"@ngrx/effects": "18.0.1",
"@ngrx/entity": "18.0.1",
"@ngrx/router-store": "18.0.1",
"@ngrx/store": "18.0.1",
"@nx/angular": "19.5.0",
"@swc/helpers": "0.5.12",
"@tanstack/angular-query-experimental": "^5.12.1",
"rxjs": "7.8.1",
"tailwindcss": "3.4.3",
@@ -40,32 +40,32 @@
"zone.js": "0.14.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "18.0.1",
"@angular-devkit/core": "18.0.1",
"@angular-devkit/schematics": "18.0.1",
"@angular-eslint/eslint-plugin": "17.5.1",
"@angular-eslint/eslint-plugin-template": "17.5.1",
"@angular-eslint/template-parser": "17.5.1",
"@angular/cli": "~18.0.0",
"@angular/compiler-cli": "18.0.0",
"@angular/language-service": "18.0.0",
"@angular-devkit/build-angular": "18.1.1",
"@angular-devkit/core": "18.1.1",
"@angular-devkit/schematics": "18.1.1",
"@angular-eslint/eslint-plugin": "18.1.0",
"@angular-eslint/eslint-plugin-template": "18.1.0",
"@angular-eslint/template-parser": "18.1.0",
"@angular/cli": "~18.1.0",
"@angular/compiler-cli": "18.1.1",
"@angular/language-service": "18.1.1",
"@commitlint/cli": "^17.2.0",
"@commitlint/config-conventional": "^17.2.0",
"@cypress/webpack-dev-server": "3.8.0",
"@hirez_io/observer-spy": "^2.2.0",
"@ngrx/schematics": "17.0.1",
"@nx/cypress": "19.1.0",
"@nx/devkit": "19.1.0",
"@nx/eslint": "19.1.0",
"@nx/eslint-plugin": "19.1.0",
"@nx/jest": "19.1.0",
"@nx/js": "19.1.0",
"@nx/plugin": "19.1.0",
"@nx/workspace": "19.1.0",
"@schematics/angular": "18.0.1",
"@swc-node/register": "1.8.0",
"@ngrx/schematics": "18.0.1",
"@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",
"@schematics/angular": "18.1.1",
"@swc-node/register": "1.9.2",
"@swc/cli": "0.3.12",
"@swc/core": "1.3.94",
"@swc/core": "1.5.7",
"@tailwindcss/forms": "^0.5.7",
"@tanstack/angular-query-devtools-experimental": "5.38.0",
"@testing-library/angular": "16.0.0",
@@ -74,11 +74,12 @@
"@testing-library/user-event": "14.5.2",
"@types/jest": "29.4.0",
"@types/node": "18.16.9",
"@typescript-eslint/eslint-plugin": "7.9.0",
"@typescript-eslint/parser": "7.9.0",
"@typescript-eslint/eslint-plugin": "7.16.1",
"@typescript-eslint/parser": "7.16.1",
"@typescript-eslint/utils": "^7.16.0",
"all-contributors-cli": "^6.26.1",
"autoprefixer": "^10.4.0",
"cypress": "13.9.0",
"cypress": "13.13.1",
"eslint": "8.57.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-cypress": "2.15.1",
@@ -89,8 +90,8 @@
"jest-preset-angular": "14.1.0",
"jsonc-eslint-parser": "^2.1.0",
"lint-staged": "^13.0.3",
"ng-packagr": "18.0.0",
"nx": "19.1.0",
"ng-packagr": "18.1.0",
"nx": "19.5.0",
"postcss": "^8.4.5",
"postcss-import": "~14.1.0",
"postcss-preset-env": "~7.5.0",
@@ -102,7 +103,7 @@
"testing-library-selector": "^0.3.1",
"ts-jest": "29.1.0",
"ts-node": "10.9.1",
"typescript": "5.4.5"
"typescript": "5.5.3"
},
"lint-staged": {
"*.{ts,json,md}": [