chore(deps): upgrade Angular 20 → 21

Migrates to Angular 21.0.0: updates tsconfig lib to es2022, migrates
bootstrap options in main.ts, and completes control flow migration
(*ngFor/*ngIf → @for/@if) in jumps and jumps-by-month templates to
resolve duplicate ng-template name conflicts skipped by the schematic.
Also fixes pre-commit hook to load nvm before running tests.
This commit is contained in:
2026-04-26 06:49:50 +02:00
parent be5f5775ef
commit 8c898cd652
13 changed files with 2098 additions and 1982 deletions
+20 -20
View File
@@ -21,18 +21,18 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^20.3.19",
"@angular/cdk": "^20.2.14",
"@angular/common": "^20.3.19",
"@angular/compiler": "^20.3.19",
"@angular/core": "^20.3.19",
"@angular/forms": "^20.3.19",
"@angular/google-maps": "^20.2.14",
"@angular/localize": "^20.3.19",
"@angular/material": "^20.2.14",
"@angular/platform-browser": "^20.3.19",
"@angular/platform-browser-dynamic": "^20.3.19",
"@angular/router": "^20.3.19",
"@angular/animations": "^21.2.10",
"@angular/cdk": "^21.2.8",
"@angular/common": "^21.2.10",
"@angular/compiler": "^21.2.10",
"@angular/core": "^21.2.10",
"@angular/forms": "^21.2.10",
"@angular/google-maps": "^21.2.8",
"@angular/localize": "^21.2.10",
"@angular/material": "^21.2.8",
"@angular/platform-browser": "^21.2.10",
"@angular/platform-browser-dynamic": "^21.2.10",
"@angular/router": "^21.2.10",
"bootstrap": "^5.3.7",
"chart.js": "^4.4.2",
"chartist": "^1.3.0",
@@ -43,14 +43,14 @@
"zone.js": "^0.15.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "^20.3.24",
"@angular-eslint/builder": "20.7.0",
"@angular-eslint/eslint-plugin": "20.7.0",
"@angular-eslint/eslint-plugin-template": "20.7.0",
"@angular-eslint/schematics": "20.7.0",
"@angular-eslint/template-parser": "20.7.0",
"@angular/cli": "^20.3.24",
"@angular/compiler-cli": "^20.3.19",
"@angular-devkit/build-angular": "^21.2.8",
"@angular-eslint/builder": "21.3.1",
"@angular-eslint/eslint-plugin": "21.3.1",
"@angular-eslint/eslint-plugin-template": "21.3.1",
"@angular-eslint/schematics": "21.3.1",
"@angular-eslint/template-parser": "21.3.1",
"@angular/cli": "^21.2.8",
"@angular/compiler-cli": "^21.2.10",
"@types/jasmine": "~5.1.0",
"@typescript-eslint/eslint-plugin": "7.2.0",
"@typescript-eslint/parser": "7.2.0",