Skip to content

Commit 9498043

Browse files
chore: remove unused Angular Material/CDK before v22 upgrade
Material and CDK were installed but no component from either package was used in any template - only the indigo-pink.css prebuilt theme was loaded. Removing them shrinks the surface area for the upcoming Angular 17 to 22 migration. Also fixes app.component.spec.ts, which asserted on a `title` property and an `<h1>` that no longer exist on AppComponent (stale CLI boilerplate), so `ng test` can be used as a gate at each migration step.
1 parent 8af8681 commit 9498043

4 files changed

Lines changed: 2 additions & 858 deletions

File tree

angular.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"tsConfig": "tsconfig.app.json",
2121
"assets": ["src/favicon.ico", "src/assets"],
2222
"styles": [
23-
"@angular/material/prebuilt-themes/indigo-pink.css",
2423
"src/styles.css"
2524
],
2625
"scripts": [
@@ -75,7 +74,6 @@
7574
"tsConfig": "tsconfig.spec.json",
7675
"assets": ["src/favicon.ico", "src/assets"],
7776
"styles": [
78-
"@angular/material/prebuilt-themes/indigo-pink.css",
7977
"src/styles.css"
8078
],
8179
"scripts": [

0 commit comments

Comments
 (0)