Skip to content

Commit e2dff5b

Browse files
committed
chore(dependencies): update to Angular 21
1 parent e08a22d commit e2dff5b

File tree

4 files changed

+22
-28
lines changed

4 files changed

+22
-28
lines changed

package.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -19,39 +19,39 @@
1919
},
2020
"private": true,
2121
"dependencies": {
22-
"@angular/animations": "^20.3.14",
23-
"@angular/cdk": "^20.2.14",
24-
"@angular/common": "^20.3.14",
25-
"@angular/compiler": "^20.3.14",
26-
"@angular/core": "^20.3.14",
27-
"@angular/forms": "^20.3.14",
28-
"@angular/language-service": "^20.3.14",
29-
"@angular/localize": "^20.3.14",
30-
"@angular/platform-browser": "^20.3.14",
31-
"@angular/platform-browser-dynamic": "^20.3.14",
32-
"@angular/router": "^20.3.14",
33-
"@coreui/angular": "^5.5.24",
34-
"@coreui/angular-chartjs": "~5.5.24",
22+
"@angular/animations": "^21.0.3",
23+
"@angular/cdk": "^21.0.2",
24+
"@angular/common": "^21.0.3",
25+
"@angular/compiler": "^21.0.3",
26+
"@angular/core": "^21.0.3",
27+
"@angular/forms": "^21.0.3",
28+
"@angular/language-service": "^21.0.3",
29+
"@angular/localize": "^21.0.3",
30+
"@angular/platform-browser": "^21.0.3",
31+
"@angular/platform-browser-dynamic": "^21.0.3",
32+
"@angular/router": "^21.0.3",
33+
"@coreui/angular": "^5.6.0-next.1",
34+
"@coreui/angular-chartjs": "~5.6.0",
3535
"@coreui/chartjs": "~4.1.0",
3636
"@coreui/coreui": "~5.4.3",
3737
"@coreui/icons": "^3.0.1",
38-
"@coreui/icons-angular": "~5.5.24",
38+
"@coreui/icons-angular": "~5.6.0",
3939
"@coreui/utils": "^2.0.2",
4040
"chart.js": "^4.5.1",
4141
"lodash-es": "^4.17.21",
4242
"ngx-scrollbar": "^13.0.3",
4343
"rxjs": "~7.8.2",
4444
"tslib": "^2.8.1",
45-
"zone.js": "~0.15.1"
45+
"zone.js": "~0.16.0"
4646
},
4747
"devDependencies": {
48-
"@angular/build": "^20.3.12",
49-
"@angular/cli": "^20.3.12",
50-
"@angular/compiler-cli": "^20.3.14",
48+
"@angular/build": "^21.0.2",
49+
"@angular/cli": "^21.0.2",
50+
"@angular/compiler-cli": "^21.0.3",
5151
"@types/jasmine": "^5.1.13",
5252
"@types/lodash-es": "^4.17.12",
53-
"@types/node": "^22.19.1",
54-
"jasmine-core": "^5.12.1",
53+
"@types/node": "^24.10.2",
54+
"jasmine-core": "^5.13.0",
5555
"karma": "^6.4.4",
5656
"karma-chrome-launcher": "^3.2.0",
5757
"karma-coverage": "^2.2.1",
@@ -61,7 +61,7 @@
6161
},
6262
"engines": {
6363
"node": "^20.19.0 || ^22.12.0 || ^24.0.0",
64-
"npm": ">= 9"
64+
"npm": ">= 10"
6565
},
6666
"bugs": {
6767
"url": "https://github.com/coreui/coreui-free-angular-admin-template/issues"

src/main.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/// <reference types="@angular/localize" />
2-
32
import { bootstrapApplication } from '@angular/platform-browser';
43

54
import { AppComponent } from './app/app.component';

src/test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
22

3-
import 'zone.js/testing';
43
import { getTestBed } from '@angular/core/testing';
54
import { BrowserTestingModule, platformBrowserTesting } from '@angular/platform-browser/testing';
65

tsconfig.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,7 @@
2121
"importHelpers": true,
2222
"target": "ES2022",
2323
"module": "preserve",
24-
"useDefineForClassFields": false,
25-
"lib": [
26-
"ES2022",
27-
"dom"
28-
]
24+
"useDefineForClassFields": false
2925
},
3026
"angularCompilerOptions": {
3127
"enableI18nLegacyMessageIdFormat": false,

0 commit comments

Comments
 (0)