Skip to content

Commit 5f29e7c

Browse files
cyongvertoclaude
andcommitted
chore: upgrade Angular 20 to 21
Ran ng update @angular/core@21 @angular/cli@21. Updated tsconfig lib to es2022. Build and all 84 tests pass. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent ce50a6d commit 5f29e7c

3 files changed

Lines changed: 956 additions & 1173 deletions

File tree

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,23 @@
2020
"caniuse-lite": "^1.0.30001799"
2121
},
2222
"dependencies": {
23-
"@angular/animations": "^20.3.25",
24-
"@angular/common": "^20.3.25",
25-
"@angular/compiler": "^20.3.25",
26-
"@angular/core": "^20.3.25",
27-
"@angular/elements": "20.3.25",
28-
"@angular/forms": "^20.3.25",
29-
"@angular/platform-browser": "^20.3.25",
30-
"@angular/platform-browser-dynamic": "^20.3.25",
31-
"@angular/router": "^20.3.25",
23+
"@angular/animations": "^21.2.18",
24+
"@angular/common": "^21.2.18",
25+
"@angular/compiler": "^21.2.18",
26+
"@angular/core": "^21.2.18",
27+
"@angular/elements": "21.2.18",
28+
"@angular/forms": "^21.2.18",
29+
"@angular/platform-browser": "^21.2.18",
30+
"@angular/platform-browser-dynamic": "^21.2.18",
31+
"@angular/router": "^21.2.18",
3232
"rxjs": "~7.5.0",
3333
"tslib": "^2.3.0",
3434
"zone.js": "~0.16.2"
3535
},
3636
"devDependencies": {
37-
"@angular-devkit/build-angular": "^20.3.30",
38-
"@angular/cli": "~20.3.30",
39-
"@angular/compiler-cli": "^20.3.25",
37+
"@angular-devkit/build-angular": "^21.2.19",
38+
"@angular/cli": "~21.2.19",
39+
"@angular/compiler-cli": "^21.2.18",
4040
"@babel/helper-remap-async-to-generator": "^7.18.9",
4141
"@types/jasmine": "~4.0.0",
4242
"@types/node": "22",
@@ -51,7 +51,7 @@
5151
"karma-jasmine": "~5.1.0",
5252
"karma-jasmine-html-reporter": "~2.2.0",
5353
"lite-server": "^2.6.1",
54-
"ng-packagr": "20.3.2",
54+
"ng-packagr": "21.2.5",
5555
"npm-run-all": "^4.1.5",
5656
"prettier": "^3.9.5",
5757
"primeicons": "^6.0.1",

tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"target": "ES2022",
2727
"module": "es2020",
2828
"allowSyntheticDefaultImports": true,
29-
"lib": ["es2020", "dom", "dom.iterable"],
3029
// Required: Angular's inject() field initializers depend on decorator-based class field semantics; removing this would silently break DI at runtime.
3130
"useDefineForClassFields": false
3231
},

0 commit comments

Comments
 (0)