Skip to content

Commit c38e7ed

Browse files
committed
Update to Angular 21
This upgrade comes with a lot of package bumps, as expected. For the short term we have to override ng-mocks' peer dependencies. There is an open PR to add formal angular support. If tests pass, this is OK for now. We also need to use a release candidate for angular firebase. This is not ideal, but similarly if it works that's OK. It should be noted that angular firebase is not maintained at the cadence we would prefer and so this is another reason it's good we're moving away from it. Issue #869 Upgrade to Angular 21
1 parent 1d9ba0f commit c38e7ed

File tree

9 files changed

+4091
-5345
lines changed

9 files changed

+4091
-5345
lines changed

package-lock.json

Lines changed: 2721 additions & 4107 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 33 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -29,33 +29,33 @@
2929
},
3030
"private": true,
3131
"dependencies": {
32-
"@angular/animations": "20.3.12",
33-
"@angular/cdk": "^20.2.13",
34-
"@angular/common": "20.3.12",
35-
"@angular/compiler": "20.3.12",
36-
"@angular/core": "20.3.12",
37-
"@angular/fire": "^20.0.1",
38-
"@angular/forms": "20.3.12",
39-
"@angular/google-maps": "^20.2.13",
40-
"@angular/localize": "20.3.12",
41-
"@angular/platform-browser": "20.3.12",
42-
"@angular/platform-browser-dynamic": "20.3.12",
43-
"@angular/router": "20.3.12",
44-
"@fortawesome/angular-fontawesome": "^3.0.0",
32+
"@angular/animations": "21.1.0",
33+
"@angular/cdk": "^21.1.0",
34+
"@angular/common": "21.1.0",
35+
"@angular/compiler": "21.1.0",
36+
"@angular/core": "21.1.0",
37+
"@angular/fire": "21.0.0-rc.0",
38+
"@angular/forms": "21.1.0",
39+
"@angular/google-maps": "^21.0.0",
40+
"@angular/localize": "21.1.0",
41+
"@angular/platform-browser": "21.1.0",
42+
"@angular/platform-browser-dynamic": "21.1.0",
43+
"@angular/router": "21.1.0",
44+
"@fortawesome/angular-fontawesome": "^4.0.0",
4545
"@fortawesome/fontawesome-svg-core": "^1.2.28",
4646
"@fortawesome/free-regular-svg-icons": "^6.5.2",
4747
"@fortawesome/free-solid-svg-icons": "^5.13.0",
4848
"@fortawesome/pro-regular-svg-icons": "^6.7.1",
4949
"@fortawesome/pro-solid-svg-icons": "^6.7.1",
5050
"@newrelic/browser-agent": "^1.308.0",
51-
"@ng-bootstrap/ng-bootstrap": "^19.0.1",
51+
"@ng-bootstrap/ng-bootstrap": "^20.0.0",
5252
"@popperjs/core": "^2.11.8",
5353
"@sentry/browser": "7.119.1",
5454
"@types/debug": "4.1.12",
5555
"@types/hammerjs": "2.0.46",
5656
"@types/lodash": "4.17.20",
5757
"@types/openseadragon": "^4.1.0",
58-
"angular-shepherd": "^20.0.0",
58+
"angular-shepherd": "^21.0.0",
5959
"binaryjs": "0.2.1",
6060
"check-password-strength": "^3.0.0",
6161
"core-js": "3.45.1",
@@ -76,8 +76,8 @@
7676
"lodash": "^4.17.21",
7777
"moment": "^2.30.1",
7878
"ng-in-viewport": "^16.1.0",
79-
"ng-recaptcha-2": "^16.0.1",
80-
"ngx-cookie-service": "^20.1.0",
79+
"ng-recaptcha-2": "^21.0.1",
80+
"ngx-cookie-service": "^21.0.0",
8181
"ngx-countup": "^13.2.0",
8282
"openseadragon": "^5.0.1",
8383
"progressbar.js": "1.1.1",
@@ -92,10 +92,11 @@
9292
"zone.js": "~0.15.1"
9393
},
9494
"devDependencies": {
95-
"@angular/build": "^20.3.10",
96-
"@angular/cli": "20.3.10",
97-
"@angular/compiler-cli": "20.3.12",
98-
"@angular/language-service": "20.3.12",
95+
"@angular-devkit/build-angular": "^21.1.0",
96+
"@angular/build": "^21.1.0",
97+
"@angular/cli": "21.1.0",
98+
"@angular/compiler-cli": "21.1.0",
99+
"@angular/language-service": "21.1.0",
99100
"@chromatic-com/storybook": "^4.1.3",
100101
"@eslint/compat": "^2.0.0",
101102
"@eslint/eslintrc": "^3.3.1",
@@ -107,9 +108,9 @@
107108
"@types/jasmine": "^5.1.12",
108109
"@types/jasminewd2": "^2.0.8",
109110
"@types/mandrill-api": "^1.0.30",
110-
"@types/node": "^20.19.25",
111+
"@types/node": "^24.1.0",
111112
"@types/webpack-env": "^1.18.8",
112-
"angular-eslint": "^20.6.0",
113+
"angular-eslint": "^21.1.0",
113114
"dotenv": "^8.2.0",
114115
"eslint": "^9.39.1",
115116
"eslint-config-love": "^134.0.0",
@@ -139,5 +140,14 @@
139140
"tslib": "^2.0.0",
140141
"typescript": "5.9.3",
141142
"typescript-eslint": "^8.48.0"
143+
},
144+
"overrides": {
145+
"ng-mocks": {
146+
"@angular/core": "$@angular/core",
147+
"@angular/common": "$@angular/common",
148+
"@angular/forms": "$@angular/forms",
149+
"@angular/router": "$@angular/router",
150+
"@angular/platform-browser": "$@angular/platform-browser"
151+
}
142152
}
143153
}

0 commit comments

Comments
 (0)