chore: update to v15

This commit is contained in:
thomas
2022-12-02 09:28:07 +01:00
parent 2d61342db5
commit 9648414f83
23 changed files with 8474 additions and 18924 deletions

View File

@@ -1,16 +0,0 @@
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
# For the full list of supported browsers by the Angular framework, please see:
# https://angular.io/guide/browser-support
# You can see what browsers were selected by your queries by running:
# npx browserslist
last 1 Chrome version
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major versions
last 2 iOS major versions
Firefox ESR

View File

@@ -2,7 +2,9 @@
"extends": "./tsconfig.json", "extends": "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "../../dist/out-tsc", "outDir": "../../dist/out-tsc",
"types": [] "types": [],
"target": "ES2022",
"useDefineForClassFields": false
}, },
"files": ["src/main.ts", "src/polyfills.ts"], "files": ["src/main.ts", "src/polyfills.ts"],
"include": ["src/**/*.d.ts"], "include": ["src/**/*.d.ts"],

View File

@@ -1,16 +0,0 @@
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
# For the full list of supported browsers by the Angular framework, please see:
# https://angular.io/guide/browser-support
# You can see what browsers were selected by your queries by running:
# npx browserslist
last 1 Chrome version
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major versions
last 2 iOS major versions
Firefox ESR

View File

@@ -2,7 +2,9 @@
"extends": "./tsconfig.json", "extends": "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "../../dist/out-tsc", "outDir": "../../dist/out-tsc",
"types": [] "types": [],
"target": "ES2022",
"useDefineForClassFields": false
}, },
"files": ["src/main.ts", "src/polyfills.ts"], "files": ["src/main.ts", "src/polyfills.ts"],
"include": ["src/**/*.d.ts"], "include": ["src/**/*.d.ts"],

View File

@@ -1,16 +0,0 @@
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
# For the full list of supported browsers by the Angular framework, please see:
# https://angular.io/guide/browser-support
# You can see what browsers were selected by your queries by running:
# npx browserslist
last 1 Chrome version
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major versions
last 2 iOS major versions
Firefox ESR

View File

@@ -2,7 +2,9 @@
"extends": "./tsconfig.json", "extends": "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "../../dist/out-tsc", "outDir": "../../dist/out-tsc",
"types": [] "types": [],
"target": "ES2022",
"useDefineForClassFields": false
}, },
"files": ["src/main.ts", "src/polyfills.ts"], "files": ["src/main.ts", "src/polyfills.ts"],
"include": ["src/**/*.d.ts"], "include": ["src/**/*.d.ts"],

View File

@@ -1,16 +0,0 @@
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
# For the full list of supported browsers by the Angular framework, please see:
# https://angular.io/guide/browser-support
# You can see what browsers were selected by your queries by running:
# npx browserslist
last 1 Chrome version
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major versions
last 2 iOS major versions
Firefox ESR

View File

@@ -2,7 +2,9 @@
"extends": "./tsconfig.json", "extends": "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "../../dist/out-tsc", "outDir": "../../dist/out-tsc",
"types": [] "types": [],
"target": "ES2022",
"useDefineForClassFields": false
}, },
"files": ["src/main.ts", "src/polyfills.ts"], "files": ["src/main.ts", "src/polyfills.ts"],
"include": ["src/**/*.d.ts"], "include": ["src/**/*.d.ts"],

View File

@@ -1,16 +0,0 @@
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
# For the full list of supported browsers by the Angular framework, please see:
# https://angular.io/guide/browser-support
# You can see what browsers were selected by your queries by running:
# npx browserslist
last 1 Chrome version
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major versions
last 2 iOS major versions
Firefox ESR

View File

@@ -2,7 +2,9 @@
"extends": "./tsconfig.json", "extends": "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "../../dist/out-tsc", "outDir": "../../dist/out-tsc",
"types": [] "types": [],
"target": "ES2022",
"useDefineForClassFields": false
}, },
"files": ["src/main.ts", "src/polyfills.ts"], "files": ["src/main.ts", "src/polyfills.ts"],
"include": ["src/**/*.d.ts"], "include": ["src/**/*.d.ts"],

View File

@@ -1,16 +0,0 @@
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
# For the full list of supported browsers by the Angular framework, please see:
# https://angular.io/guide/browser-support
# You can see what browsers were selected by your queries by running:
# npx browserslist
last 1 Chrome version
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major versions
last 2 iOS major versions
Firefox ESR

View File

@@ -2,7 +2,9 @@
"extends": "./tsconfig.json", "extends": "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "../../dist/out-tsc", "outDir": "../../dist/out-tsc",
"types": [] "types": [],
"target": "ES2022",
"useDefineForClassFields": false
}, },
"files": ["src/main.ts", "src/polyfills.ts"], "files": ["src/main.ts", "src/polyfills.ts"],
"include": ["src/**/*.d.ts"], "include": ["src/**/*.d.ts"],

View File

@@ -1,16 +0,0 @@
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
# For the full list of supported browsers by the Angular framework, please see:
# https://angular.io/guide/browser-support
# You can see what browsers were selected by your queries by running:
# npx browserslist
last 1 Chrome version
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major versions
last 2 iOS major versions
Firefox ESR

View File

@@ -2,7 +2,9 @@
"extends": "./tsconfig.json", "extends": "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "../../dist/out-tsc", "outDir": "../../dist/out-tsc",
"types": [] "types": [],
"target": "ES2022",
"useDefineForClassFields": false
}, },
"files": ["src/main.ts", "src/polyfills.ts"], "files": ["src/main.ts", "src/polyfills.ts"],
"include": ["src/**/*.d.ts"], "include": ["src/**/*.d.ts"],

View File

@@ -1,16 +0,0 @@
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
# For the full list of supported browsers by the Angular framework, please see:
# https://angular.io/guide/browser-support
# You can see what browsers were selected by your queries by running:
# npx browserslist
last 1 Chrome version
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major versions
last 2 iOS major versions
Firefox ESR

View File

@@ -2,7 +2,9 @@
"extends": "./tsconfig.json", "extends": "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "../../dist/out-tsc", "outDir": "../../dist/out-tsc",
"types": [] "types": [],
"target": "ES2022",
"useDefineForClassFields": false
}, },
"files": ["src/main.ts", "src/polyfills.ts"], "files": ["src/main.ts", "src/polyfills.ts"],
"include": ["src/**/*.d.ts"], "include": ["src/**/*.d.ts"],

View File

@@ -1,16 +0,0 @@
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
# For the full list of supported browsers by the Angular framework, please see:
# https://angular.io/guide/browser-support
# You can see what browsers were selected by your queries by running:
# npx browserslist
last 1 Chrome version
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major versions
last 2 iOS major versions
Firefox ESR

View File

@@ -2,7 +2,9 @@
"extends": "./tsconfig.json", "extends": "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "../../dist/out-tsc", "outDir": "../../dist/out-tsc",
"types": [] "types": [],
"target": "ES2022",
"useDefineForClassFields": false
}, },
"files": ["src/main.ts", "src/polyfills.ts"], "files": ["src/main.ts", "src/polyfills.ts"],
"include": ["src/**/*.d.ts"], "include": ["src/**/*.d.ts"],

View File

@@ -1,16 +0,0 @@
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
# For the full list of supported browsers by the Angular framework, please see:
# https://angular.io/guide/browser-support
# You can see what browsers were selected by your queries by running:
# npx browserslist
last 1 Chrome version
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major versions
last 2 iOS major versions
Firefox ESR

View File

@@ -2,7 +2,9 @@
"extends": "./tsconfig.json", "extends": "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "../../dist/out-tsc", "outDir": "../../dist/out-tsc",
"types": [] "types": [],
"target": "ES2022",
"useDefineForClassFields": false
}, },
"files": ["src/main.ts", "src/polyfills.ts"], "files": ["src/main.ts", "src/polyfills.ts"],
"include": ["src/**/*.d.ts"], "include": ["src/**/*.d.ts"],

96
migrations.json Normal file
View File

@@ -0,0 +1,96 @@
{
"migrations": [
{
"cli": "nx",
"version": "15.0.12-beta.1",
"description": "Set project names in project.json files",
"implementation": "./src/migrations/update-15-1-0/set-project-names",
"package": "nx",
"name": "15.1.0-set-project-names"
},
{
"cli": "nx",
"version": "15.2.0-beta.0",
"description": "Update the @angular/cli package version to ~15.0.0.",
"factory": "./src/migrations/update-15-2-0/update-angular-cli",
"package": "@nrwl/angular",
"name": "update-angular-cli-version-15-0-0"
},
{
"cli": "nx",
"version": "15.2.0-beta.0",
"description": "Remove browserlist config as it's handled by build-angular",
"factory": "./src/migrations/update-15-2-0/remove-browserlist-config",
"package": "@nrwl/angular",
"name": "remove-browserlist-config"
},
{
"cli": "nx",
"version": "15.2.0-beta.0",
"description": "Update typescript target to ES2022",
"factory": "./src/migrations/update-15-2-0/update-typescript-target",
"package": "@nrwl/angular",
"name": "update-typescript-target"
},
{
"cli": "nx",
"version": "15.2.0-beta.0",
"description": "Remove bundleDependencies from server targets",
"factory": "./src/migrations/update-15-2-0/update-workspace-config",
"package": "@nrwl/angular",
"name": "update-workspace-config"
},
{
"cli": "ng",
"version": "15.2.0-beta.0",
"description": "Remove exported `@angular/platform-server` `renderModule` method. The `renderModule` method is now exported by the Angular CLI.",
"factory": "./src/migrations/update-15-2-0/remove-platform-server-exports",
"package": "@nrwl/angular",
"name": "update-platform-server-exports"
},
{
"cli": "ng",
"version": "15.2.0-beta.0",
"description": "Remove no longer needed require calls in Karma builder main file.",
"factory": "./src/migrations/update-15-2-0/update-karma-main-file",
"package": "@nrwl/angular",
"name": "update-karma-main-file"
},
{
"version": "15.0.0-beta",
"description": "Since Angular v15, the `RouterLink` contains the logic of the `RouterLinkWithHref` directive. This migration replaces all `RouterLinkWithHref` references with `RouterLink`.",
"factory": "./migrations/router-link-with-href/index",
"package": "@angular/core",
"name": "migration-v15-router-link-with-href"
},
{
"version": "15.0.0-beta",
"description": "In Angular version 15, the deprecated `relativeLinkResolution` config parameter of the Router is removed. This migration removes all `relativeLinkResolution` fields from the Router config objects.",
"factory": "./migrations/relative-link-resolution/index",
"package": "@angular/core",
"name": "migration-v15-relative-link-resolution"
},
{
"version": "15.0.0-0",
"description": "Updates the Angular Material to v15",
"factory": "./ng-update/index_bundled#updateToV15",
"package": "@angular/material",
"name": "migration-v15"
},
{
"version": "15.0.0-0",
"description": "Updates the Angular CDK to v15",
"factory": "./ng-update/index#updateToV15",
"package": "@angular/cdk",
"name": "migration-v15"
},
{
"cli": "nx",
"version": "15.1.0-beta.0",
"description": "Update to Cypress v11. This migration will only update if the workspace is already on v10. https://www.cypress.io/blog/2022/11/04/upcoming-changes-to-component-testing/",
"factory": "./src/migrations/update-15-1-0/cypress-11",
"package": "@nrwl/cypress",
"name": "update-to-cypress-11"
}
]
}

27033
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -12,60 +12,63 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "~14.2.0", "@angular/animations": "15.0.2",
"@angular/cdk": "^14.2.7", "@angular/cdk": "15.0.1",
"@angular/common": "~14.2.0", "@angular/common": "15.0.2",
"@angular/compiler": "~14.2.0", "@angular/compiler": "15.0.2",
"@angular/core": "~14.2.0", "@angular/core": "15.0.2",
"@angular/forms": "~14.2.0", "@angular/forms": "15.0.2",
"@angular/material": "^14.2.7", "@angular/material": "15.0.1",
"@angular/platform-browser": "~14.2.0", "@angular/platform-browser": "15.0.2",
"@angular/platform-browser-dynamic": "~14.2.0", "@angular/platform-browser-dynamic": "15.0.2",
"@angular/router": "~14.2.0", "@angular/router": "15.0.2",
"@hirez_io/observer-spy": "^2.2.0", "@hirez_io/observer-spy": "^2.2.0",
"@ngneat/falso": "^6.1.0", "@ngneat/falso": "^6.1.0",
"@ngrx/component-store": "^14.3.2", "@ngrx/component-store": "15.0.0",
"@ngrx/effects": "^14.3.2", "@ngrx/effects": "15.0.0",
"@ngrx/entity": "^14.3.2", "@ngrx/entity": "15.0.0",
"@ngrx/router-store": "^14.3.2", "@ngrx/router-store": "15.0.0",
"@ngrx/store": "^14.3.2", "@ngrx/store": "15.0.0",
"@nrwl/angular": "15.0.7", "@nrwl/angular": "15.2.4",
"rxjs": "~7.5.0", "rxjs": "~7.5.0",
"tailwindcss": "^3.2.1", "tailwindcss": "^3.2.1",
"tslib": "^2.3.0", "tslib": "^2.3.0",
"zone.js": "~0.11.4" "zone.js": "~0.11.4"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~14.2.0", "@angular-devkit/build-angular": "15.0.2",
"@angular-eslint/eslint-plugin": "~14.0.4", "@angular-devkit/core": "15.0.2",
"@angular-eslint/eslint-plugin-template": "~14.0.4", "@angular-devkit/schematics": "15.0.2",
"@angular-eslint/template-parser": "~14.0.4", "@angular-eslint/eslint-plugin": "15.1.0",
"@angular/cli": "~14.2.0", "@angular-eslint/eslint-plugin-template": "15.1.0",
"@angular/compiler-cli": "~14.2.0", "@angular-eslint/template-parser": "15.1.0",
"@angular/language-service": "~14.2.0", "@angular/cli": "~15.0.0",
"@angular/compiler-cli": "15.0.2",
"@angular/language-service": "15.0.2",
"@commitlint/cli": "^17.2.0", "@commitlint/cli": "^17.2.0",
"@commitlint/config-conventional": "^17.2.0", "@commitlint/config-conventional": "^17.2.0",
"@ngrx/schematics": "^14.3.2", "@ngrx/schematics": "15.0.0",
"@nrwl/cli": "15.0.7", "@nrwl/cli": "15.2.4",
"@nrwl/cypress": "15.0.7", "@nrwl/cypress": "15.2.4",
"@nrwl/eslint-plugin-nx": "15.0.7", "@nrwl/devkit": "15.2.4",
"@nrwl/jest": "15.0.7", "@nrwl/eslint-plugin-nx": "15.2.4",
"@nrwl/linter": "15.0.7", "@nrwl/jest": "15.2.4",
"@nrwl/workspace": "15.0.7", "@nrwl/linter": "15.2.4",
"@nrwl/workspace": "15.2.4",
"@types/jest": "28.1.1", "@types/jest": "28.1.1",
"@types/node": "16.11.7", "@types/node": "16.11.7",
"@typescript-eslint/eslint-plugin": "^5.36.1", "@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1", "@typescript-eslint/parser": "^5.36.1",
"cypress": "^10.7.0", "cypress": "^11.0.0",
"eslint": "~8.15.0", "eslint": "~8.15.0",
"eslint-config-prettier": "8.1.0", "eslint-config-prettier": "8.1.0",
"eslint-plugin-cypress": "^2.10.3", "eslint-plugin-cypress": "^2.10.3",
"husky": "^8.0.2", "husky": "^8.0.2",
"jest": "28.1.1", "jest": "28.1.1",
"jest-environment-jsdom": "28.1.1", "jest-environment-jsdom": "28.1.1",
"jest-preset-angular": "~12.2.2", "jest-preset-angular": "12.2.3",
"lint-staged": "^13.0.3", "lint-staged": "^13.0.3",
"nx": "15.0.7", "nx": "15.2.4",
"prettier": "^2.6.2", "prettier": "^2.6.2",
"ts-jest": "28.0.5", "ts-jest": "28.0.5",
"ts-node": "10.9.1", "ts-node": "10.9.1",