ng update @angular/core@21 @angular/cli@21

This commit is contained in:
Tomasi - Developing 2026-02-17 13:16:29 +01:00
parent ef4c9d643a
commit 3c91001dd2
4 changed files with 1412 additions and 798 deletions

2177
Ui/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -10,14 +10,14 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^20.3.16",
"@angular/common": "^20.3.16",
"@angular/compiler": "^20.3.16",
"@angular/core": "^20.3.16",
"@angular/forms": "^20.3.16",
"@angular/platform-browser": "^20.3.16",
"@angular/platform-browser-dynamic": "^20.3.16",
"@angular/router": "^20.3.16",
"@angular/animations": "^21.1.4",
"@angular/common": "^21.1.4",
"@angular/compiler": "^21.1.4",
"@angular/core": "^21.1.4",
"@angular/forms": "^21.1.4",
"@angular/platform-browser": "^21.1.4",
"@angular/platform-browser-dynamic": "^21.1.4",
"@angular/router": "^21.1.4",
"@auth0/angular-jwt": "^5.2.0",
"@ng-bootstrap/ng-bootstrap": "^17.0.1",
"@popperjs/core": "^2.11.8",
@ -39,10 +39,10 @@
"zone.js": "~0.15.1"
},
"devDependencies": {
"@angular/build": "^20.3.16",
"@angular/cli": "^20.3.16",
"@angular/compiler-cli": "^20.3.16",
"@angular/localize": "^20.3.16",
"@angular/build": "^21.1.4",
"@angular/cli": "^21.1.4",
"@angular/compiler-cli": "^21.1.4",
"@angular/localize": "^21.1.4",
"@types/jasmine": "~5.1.0",
"jasmine-core": "~5.3.0",
"karma": "~6.4.0",

View File

@ -1,3 +1,4 @@
import { provideZoneChangeDetection } from "@angular/core";
/// <reference types="@angular/localize" />
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
@ -5,5 +6,5 @@ import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app/app.module';
platformBrowserDynamic().bootstrapModule(AppModule)
platformBrowserDynamic().bootstrapModule(AppModule, { applicationProviders: [provideZoneChangeDetection()], })
.catch(err => console.error(err));

View File

@ -18,11 +18,7 @@
"importHelpers": true,
"target": "ES2022",
"module": "ES2022",
"useDefineForClassFields": false,
"lib": [
"ES2022",
"dom"
]
"useDefineForClassFields": false
},
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,