Skip to content

Commit b4ed1e5

Browse files
committed
chore: update to Angular 13
1 parent 9f65841 commit b4ed1e5

File tree

3 files changed

+18
-31
lines changed

3 files changed

+18
-31
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ chrome-profiler-events*.json
3232
.history/*
3333

3434
# misc
35+
/.angular/cache
3536
/.sass-cache
3637
/connect.lock
3738
/coverage

package.json

+17-19
Original file line numberDiff line numberDiff line change
@@ -27,24 +27,23 @@
2727
},
2828
"private": true,
2929
"dependencies": {
30-
"@angular/animations": "^12.2.16",
31-
"@angular/cdk": "^12.2.13",
32-
"@angular/common": "^12.2.16",
33-
"@angular/compiler": "^12.2.16",
34-
"@angular/core": "^12.2.16",
35-
"@angular/forms": "^12.2.16",
36-
"@angular/localize": "^12.2.16",
37-
"@angular/platform-browser": "^12.2.16",
38-
"@angular/platform-browser-dynamic": "^12.2.16",
39-
"@angular/router": "^12.2.16",
40-
"@coreui/angular": "~2.12.0",
30+
"@angular/animations": "^13.3.0",
31+
"@angular/cdk": "^13.3.0",
32+
"@angular/common": "^13.3.0",
33+
"@angular/compiler": "^13.3.0",
34+
"@angular/core": "^13.3.0",
35+
"@angular/forms": "^13.3.0",
36+
"@angular/localize": "^13.3.0",
37+
"@angular/platform-browser": "^13.3.0",
38+
"@angular/platform-browser-dynamic": "^13.3.0",
39+
"@angular/router": "^13.3.0",
40+
"@coreui/angular": "~2.13.0",
4141
"@coreui/coreui": "^2.1.16",
4242
"@coreui/coreui-plugin-chartjs-custom-tooltips": "^1.3.1",
4343
"@coreui/icons": "^2.1.0",
4444
"@coreui/icons-angular": "1.0.0-alpha.3",
4545
"bootstrap": "^4.6.1",
4646
"chart.js": "^2.9.4",
47-
"classlist.js": "^1.1.20150312",
4847
"core-js": "^3.21.1",
4948
"flag-icon-css": "^3.5.0",
5049
"font-awesome": "^4.7.0",
@@ -55,14 +54,13 @@
5554
"simple-line-icons": "^2.5.5",
5655
"ts-helpers": "^1.1.2",
5756
"tslib": "^2.3.1",
58-
"web-animations-js": "^2.3.2",
5957
"zone.js": "~0.11.4"
6058
},
6159
"devDependencies": {
62-
"@angular-devkit/build-angular": "^12.2.16",
63-
"@angular/cli": "^12.2.16",
64-
"@angular/compiler-cli": "^12.2.16",
65-
"@angular/language-service": "^12.2.16",
60+
"@angular-devkit/build-angular": "^13.3.0",
61+
"@angular/cli": "^13.3.0",
62+
"@angular/compiler-cli": "^13.3.0",
63+
"@angular/language-service": "^13.3.0",
6664
"@types/jasmine": "~3.8.0",
6765
"@types/jasminewd2": "^2.0.10",
6866
"@types/node": "^14.18.12",
@@ -75,10 +73,10 @@
7573
"karma-jasmine-html-reporter": "^1.7.0",
7674
"protractor": "~7.0.0",
7775
"ts-node": "^9.1.1",
78-
"typescript": "~4.3.5"
76+
"typescript": "~4.6.2"
7977
},
8078
"engines": {
81-
"node": ">= 12.20",
79+
"node": "^12.20.0 || ^14.15.0 || >=16.10.0",
8280
"npm": ">= 6"
8381
}
8482
}

src/polyfills.ts

-12
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,6 @@ import '@angular/localize/init';
2323
* BROWSER POLYFILLS
2424
*/
2525

26-
/**
27-
* IE11 requires the following for NgClass support on SVG elements
28-
*/
29-
// import 'classlist.js'; // Run `npm install --save classlist.js`.
30-
31-
/**
32-
* Web Animations `@angular/platform-browser/animations`
33-
* Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
34-
* Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
35-
*/
36-
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
37-
3826
/**
3927
* By default, zone.js will patch all possible macroTask and DomEvents
4028
* user can disable parts of macroTask/DomEvents patch by setting following flags

0 commit comments

Comments
 (0)