Skip to content

Commit 6e62a03

Browse files
authored
build: add unlisted dependencies to package.json (#24152)
* Adds `@angular/platform-browser` to the `material` package.json since we have dependencies on it in a lot of modules. * Adds several missing dependencies (`animations`, `cdk`, `common`, `forms` and `platform-browser`) to the package.json in `material-experimental`. Fixes #24146.
1 parent d9a1b81 commit 6e62a03

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/material-experimental/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@
2323
}
2424
},
2525
"peerDependencies": {
26+
"@angular/animations": "0.0.0-NG",
27+
"@angular/cdk": "0.0.0-PLACEHOLDER",
2628
"@angular/core": "0.0.0-NG",
29+
"@angular/common": "0.0.0-NG",
30+
"@angular/forms": "0.0.0-NG",
31+
"@angular/platform-browser": "0.0.0-NG",
2732
"@angular/material": "0.0.0-PLACEHOLDER",
2833
"material-components-web": "0.0.0-MDC"
2934
},

src/material/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"@angular/core": "0.0.0-NG",
5050
"@angular/common": "0.0.0-NG",
5151
"@angular/forms": "0.0.0-NG",
52+
"@angular/platform-browser": "0.0.0-NG",
5253
"rxjs": "0.0.0-RXJS"
5354
},
5455
"dependencies": {

0 commit comments

Comments
 (0)