Updated to Angular CLI 21

This commit is contained in:
Mats Paul Tončik
2026-05-26 11:36:20 +02:00
parent b6bc2197b9
commit 18328e2dfc
4 changed files with 1082 additions and 1478 deletions
+1070 -1463
View File
File diff suppressed because it is too large Load Diff
+9 -9
View File
@@ -10,14 +10,14 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^20.3.21",
"@angular/animations": "^21.2.14",
"@angular/cdk": "^20.2.14",
"@angular/common": "^20.3.21",
"@angular/compiler": "^20.3.21",
"@angular/core": "^20.3.21",
"@angular/common": "^21.2.14",
"@angular/compiler": "^21.2.14",
"@angular/core": "^21.2.14",
"@angular/forms": "^20.3.21",
"@angular/material": "^20.2.14",
"@angular/platform-browser": "^20.3.21",
"@angular/platform-browser": "^21.2.14",
"@angular/platform-browser-dynamic": "^20.3.21",
"@angular/router": "^20.3.21",
"rxjs": "~7.8.0",
@@ -25,9 +25,9 @@
"zone.js": "~0.15.1"
},
"devDependencies": {
"@angular/build": "^20.3.26",
"@angular/cli": "^20.3.26",
"@angular/compiler-cli": "^20.3.21",
"@angular/build": "^21.2.12",
"@angular/cli": "^21.2.12",
"@angular/compiler-cli": "^21.2.14",
"@types/jasmine": "~5.1.0",
"jasmine-core": "~5.1.0",
"karma": "~6.4.0",
@@ -35,6 +35,6 @@
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"typescript": "~5.8.3"
"typescript": "~5.9.3"
}
}
+2 -1
View File
@@ -1,6 +1,7 @@
import { provideZoneChangeDetection } from "@angular/core";
import { bootstrapApplication } from '@angular/platform-browser';
import { appConfig } from './app/app.config';
import { AppComponent } from './app/app.component';
bootstrapApplication(AppComponent, appConfig)
bootstrapApplication(AppComponent, {...appConfig, providers: [provideZoneChangeDetection(), ...appConfig.providers]})
.catch((err) => console.error(err));
+1 -5
View File
@@ -17,11 +17,7 @@
"importHelpers": true,
"target": "ES2022",
"module": "ES2022",
"useDefineForClassFields": false,
"lib": [
"ES2022",
"dom"
]
"useDefineForClassFields": false
},
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,