Upgrade angular material from 20 to 21.

This commit is contained in:
Florian THIERRY
2025-12-30 17:29:08 +01:00
parent db48f0b504
commit 01ef7c66b7
3 changed files with 18 additions and 19 deletions

View File

@@ -9,12 +9,12 @@
"version": "0.0.0", "version": "0.0.0",
"dependencies": { "dependencies": {
"@angular/animations": "^21.0.6", "@angular/animations": "^21.0.6",
"@angular/cdk": "^20.2.14", "@angular/cdk": "^21.0.5",
"@angular/common": "^21.0.6", "@angular/common": "^21.0.6",
"@angular/compiler": "^21.0.6", "@angular/compiler": "^21.0.6",
"@angular/core": "^21.0.6", "@angular/core": "^21.0.6",
"@angular/forms": "^21.0.6", "@angular/forms": "^21.0.6",
"@angular/material": "^20.2.14", "@angular/material": "^21.0.5",
"@angular/platform-browser": "^21.0.6", "@angular/platform-browser": "^21.0.6",
"@angular/platform-browser-dynamic": "^21.0.6", "@angular/platform-browser-dynamic": "^21.0.6",
"@angular/router": "^21.0.6", "@angular/router": "^21.0.6",
@@ -1056,17 +1056,17 @@
} }
}, },
"node_modules/@angular/cdk": { "node_modules/@angular/cdk": {
"version": "20.2.14", "version": "21.0.5",
"resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-20.2.14.tgz", "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-21.0.5.tgz",
"integrity": "sha512-7bZxc01URbiPiIBWThQ69XwOxVduqEKN4PhpbF2AAyfMc/W8Hcr4VoIJOwL0O1Nkq5beS8pCAqoOeIgFyXd/kg==", "integrity": "sha512-yO/IRYEZ5wJkpwg3GT3b6RST4pqNFTAhuyPdEdLcE81cs283K3aKOsCYh2xUR3bR4WxBh2kBPSJ31AFZyJXbSA==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"parse5": "^8.0.0", "parse5": "^8.0.0",
"tslib": "^2.3.0" "tslib": "^2.3.0"
}, },
"peerDependencies": { "peerDependencies": {
"@angular/common": "^20.0.0 || ^21.0.0", "@angular/common": "^21.0.0 || ^22.0.0",
"@angular/core": "^20.0.0 || ^21.0.0", "@angular/core": "^21.0.0 || ^22.0.0",
"rxjs": "^6.5.3 || ^7.4.0" "rxjs": "^6.5.3 || ^7.4.0"
} }
}, },
@@ -1339,19 +1339,19 @@
} }
}, },
"node_modules/@angular/material": { "node_modules/@angular/material": {
"version": "20.2.14", "version": "21.0.5",
"resolved": "https://registry.npmjs.org/@angular/material/-/material-20.2.14.tgz", "resolved": "https://registry.npmjs.org/@angular/material/-/material-21.0.5.tgz",
"integrity": "sha512-IbAgV6XLsvmHiJzxycVhcNC1PA4M30qi+ERCOir6cT333Bxm8vDV32gsOjfL52uzG5YRARroPC+8s1XqR2oxeA==", "integrity": "sha512-LcDotwwTl2GFtFK1BqcKjj0eRAkOjTSj1C6ux0rOlpU2hJaECxue/ZqEyB/KMHngFAqMJpecxF4zGy/ISCp2xA==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"tslib": "^2.3.0" "tslib": "^2.3.0"
}, },
"peerDependencies": { "peerDependencies": {
"@angular/cdk": "20.2.14", "@angular/cdk": "21.0.5",
"@angular/common": "^20.0.0 || ^21.0.0", "@angular/common": "^21.0.0 || ^22.0.0",
"@angular/core": "^20.0.0 || ^21.0.0", "@angular/core": "^21.0.0 || ^22.0.0",
"@angular/forms": "^20.0.0 || ^21.0.0", "@angular/forms": "^21.0.0 || ^22.0.0",
"@angular/platform-browser": "^20.0.0 || ^21.0.0", "@angular/platform-browser": "^21.0.0 || ^22.0.0",
"rxjs": "^6.5.3 || ^7.4.0" "rxjs": "^6.5.3 || ^7.4.0"
} }
}, },

View File

@@ -18,12 +18,12 @@
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^21.0.6", "@angular/animations": "^21.0.6",
"@angular/cdk": "^20.2.14", "@angular/cdk": "^21.0.5",
"@angular/common": "^21.0.6", "@angular/common": "^21.0.6",
"@angular/compiler": "^21.0.6", "@angular/compiler": "^21.0.6",
"@angular/core": "^21.0.6", "@angular/core": "^21.0.6",
"@angular/forms": "^21.0.6", "@angular/forms": "^21.0.6",
"@angular/material": "^20.2.14", "@angular/material": "^21.0.5",
"@angular/platform-browser": "^21.0.6", "@angular/platform-browser": "^21.0.6",
"@angular/platform-browser-dynamic": "^21.0.6", "@angular/platform-browser-dynamic": "^21.0.6",
"@angular/router": "^21.0.6", "@angular/router": "^21.0.6",

View File

@@ -1,9 +1,8 @@
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, providers: [provideZoneChangeDetection(), ...appConfig.providers]}) bootstrapApplication(AppComponent, appConfig)
.catch((err) => console.error(err)); .catch((err) => console.error(err));