Upgrade angular from 20 to 21.
This commit is contained in:
3052
frontend/package-lock.json
generated
3052
frontend/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -17,25 +17,25 @@
|
|||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "^20.3.15",
|
"@angular/animations": "^21.0.6",
|
||||||
"@angular/cdk": "^20.2.14",
|
"@angular/cdk": "^20.2.14",
|
||||||
"@angular/common": "^20.3.15",
|
"@angular/common": "^21.0.6",
|
||||||
"@angular/compiler": "^20.3.15",
|
"@angular/compiler": "^21.0.6",
|
||||||
"@angular/core": "^20.3.15",
|
"@angular/core": "^21.0.6",
|
||||||
"@angular/forms": "^20.3.15",
|
"@angular/forms": "^21.0.6",
|
||||||
"@angular/material": "^20.2.14",
|
"@angular/material": "^20.2.14",
|
||||||
"@angular/platform-browser": "^20.3.15",
|
"@angular/platform-browser": "^21.0.6",
|
||||||
"@angular/platform-browser-dynamic": "^20.3.15",
|
"@angular/platform-browser-dynamic": "^21.0.6",
|
||||||
"@angular/router": "^20.3.15",
|
"@angular/router": "^21.0.6",
|
||||||
"rxjs": "~7.8.0",
|
"rxjs": "~7.8.0",
|
||||||
"tslib": "^2.3.0",
|
"tslib": "^2.3.0",
|
||||||
"zone.js": "~0.15.1"
|
"zone.js": "~0.15.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular/build": "^20.3.13",
|
"@angular/build": "^21.0.4",
|
||||||
"@angular/cli": "^20.3.13",
|
"@angular/cli": "^21.0.4",
|
||||||
"@angular/compiler-cli": "^20.3.15",
|
"@angular/compiler-cli": "^21.0.6",
|
||||||
"@angular/localize": "^20.3.15",
|
"@angular/localize": "^21.0.6",
|
||||||
"@types/jasmine": "~5.1.0",
|
"@types/jasmine": "~5.1.0",
|
||||||
"jasmine-core": "~5.1.0",
|
"jasmine-core": "~5.1.0",
|
||||||
"karma": "~6.4.0",
|
"karma": "~6.4.0",
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
|
import { provideZoneChangeDetection } from "@angular/core";
|
||||||
/// <reference types="@angular/localize" />
|
/// <reference types="@angular/localize" />
|
||||||
|
|
||||||
import { bootstrapApplication } from '@angular/platform-browser';
|
import { bootstrapApplication } from '@angular/platform-browser';
|
||||||
import { appConfig } from './app/app.config';
|
import { appConfig } from './app/app.config';
|
||||||
import { AppComponent } from './app/app.component';
|
import { AppComponent } from './app/app.component';
|
||||||
|
|
||||||
bootstrapApplication(AppComponent, appConfig)
|
bootstrapApplication(AppComponent, {...appConfig, providers: [provideZoneChangeDetection(), ...appConfig.providers]})
|
||||||
.catch((err) => console.error(err));
|
.catch((err) => console.error(err));
|
||||||
|
|||||||
@@ -17,11 +17,7 @@
|
|||||||
"importHelpers": true,
|
"importHelpers": true,
|
||||||
"target": "ES2022",
|
"target": "ES2022",
|
||||||
"module": "ES2022",
|
"module": "ES2022",
|
||||||
"useDefineForClassFields": false,
|
"useDefineForClassFields": false
|
||||||
"lib": [
|
|
||||||
"ES2022",
|
|
||||||
"dom"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"angularCompilerOptions": {
|
"angularCompilerOptions": {
|
||||||
"enableI18nLegacyMessageIdFormat": false,
|
"enableI18nLegacyMessageIdFormat": false,
|
||||||
|
|||||||
Reference in New Issue
Block a user