Skip to content

Commit 2b59c96

Browse files
devversiontinayuangao
authored andcommitted
build: peer dependency for material-examples package (#6165)
* Adds peer dependencies for the CDK and Material to the examples package. This ensures that the API that is used in the examples is always compatible with the current installed version of the CDK or Material.
1 parent edcbb24 commit 2b59c96

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/material-examples/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,11 @@
2323
},
2424
"homepage": "https://github.com/angular/material2#readme",
2525
"peerDependencies": {
26+
"@angular/cdk": "0.0.0-PLACEHOLDER",
2627
"@angular/core": "^4.0.0",
2728
"@angular/common": "^4.0.0",
28-
"@angular/http": "^4.0.0"
29+
"@angular/http": "^4.0.0",
30+
"@angular/material": "0.0.0-PLACEHOLDER"
2931
},
3032
"dependencies": {
3133
"tslib": "^1.7.1"

0 commit comments

Comments
 (0)