Update to angular 20
This commit is contained in:
30
angular.json
30
angular.json
@@ -85,10 +85,10 @@
|
||||
"defaultConfiguration": "development"
|
||||
},
|
||||
"extract-i18n": {
|
||||
"builder": "@angular-devkit/build-angular:extract-i18n"
|
||||
"builder": "@angular/build:extract-i18n"
|
||||
},
|
||||
"test": {
|
||||
"builder": "@angular-devkit/build-angular:karma",
|
||||
"builder": "@angular/build:karma",
|
||||
"options": {
|
||||
"polyfills": [],
|
||||
"tsConfig": "tsconfig.spec.json",
|
||||
@@ -108,5 +108,31 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"schematics": {
|
||||
"@schematics/angular:component": {
|
||||
"type": "component"
|
||||
},
|
||||
"@schematics/angular:directive": {
|
||||
"type": "directive"
|
||||
},
|
||||
"@schematics/angular:service": {
|
||||
"type": "service"
|
||||
},
|
||||
"@schematics/angular:guard": {
|
||||
"typeSeparator": "."
|
||||
},
|
||||
"@schematics/angular:interceptor": {
|
||||
"typeSeparator": "."
|
||||
},
|
||||
"@schematics/angular:module": {
|
||||
"typeSeparator": "."
|
||||
},
|
||||
"@schematics/angular:pipe": {
|
||||
"typeSeparator": "."
|
||||
},
|
||||
"@schematics/angular:resolver": {
|
||||
"typeSeparator": "."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
25
package.json
25
package.json
@@ -11,18 +11,17 @@
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@angular-devkit/build-angular": "^19.2.5",
|
||||
"@angular/animations": "^19.2.4",
|
||||
"@angular/animations": "^20.0.0",
|
||||
"@angular/cdk": "^19.2.7",
|
||||
"@angular/common": "^19.2.4",
|
||||
"@angular/compiler": "^19.2.4",
|
||||
"@angular/core": "^19.2.4",
|
||||
"@angular/forms": "^19.2.4",
|
||||
"@angular/common": "^20.0.0",
|
||||
"@angular/compiler": "^20.0.0",
|
||||
"@angular/core": "^20.0.0",
|
||||
"@angular/forms": "^20.0.0",
|
||||
"@angular/material": "^19.2.7",
|
||||
"@angular/platform-browser": "^19.2.4",
|
||||
"@angular/platform-browser-dynamic": "^19.2.4",
|
||||
"@angular/router": "^19.2.4",
|
||||
"@angular/service-worker": "^19.2.4",
|
||||
"@angular/platform-browser": "^20.0.0",
|
||||
"@angular/platform-browser-dynamic": "^20.0.0",
|
||||
"@angular/router": "^20.0.0",
|
||||
"@angular/service-worker": "^20.0.0",
|
||||
"@tauri-apps/api": "^1.6.0",
|
||||
"@types/json-schema": "^7.0.15",
|
||||
"highlight.js": "^11.11.1",
|
||||
@@ -34,9 +33,9 @@
|
||||
"zone.js": "^0.15.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular/build": "^19.2.5",
|
||||
"@angular/cli": "^19.2.5",
|
||||
"@angular/compiler-cli": "^19.2.4",
|
||||
"@angular/build": "^20.0.0",
|
||||
"@angular/cli": "^20.0.0",
|
||||
"@angular/compiler-cli": "^20.0.0",
|
||||
"@tauri-apps/cli": "^1.6.3",
|
||||
"@types/jasmine": "^5.1.7",
|
||||
"@types/protobufjs": "^6.0.0",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import {
|
||||
ApplicationConfig,
|
||||
isDevMode,
|
||||
provideExperimentalZonelessChangeDetection,
|
||||
provideZonelessChangeDetection,
|
||||
provideAppInitializer,
|
||||
inject,
|
||||
} from '@angular/core';
|
||||
@@ -21,7 +21,7 @@ import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
|
||||
|
||||
export const appConfig: ApplicationConfig = {
|
||||
providers: [
|
||||
provideExperimentalZonelessChangeDetection(),
|
||||
provideZonelessChangeDetection(),
|
||||
provideRouter(routes),
|
||||
provideAnimationsAsync(),
|
||||
provideAppInitializer(() => {
|
||||
|
||||
Reference in New Issue
Block a user