From 2b59c96a29c6f25d37741c120a6adad6dd6196b8 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Mon, 31 Jul 2017 20:25:24 +0200 Subject: [PATCH] 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. --- src/material-examples/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/material-examples/package.json b/src/material-examples/package.json index 5ad0f1f5a52..bddb9cae984 100644 --- a/src/material-examples/package.json +++ b/src/material-examples/package.json @@ -23,9 +23,11 @@ }, "homepage": "https://github.com/angular/material2#readme", "peerDependencies": { + "@angular/cdk": "0.0.0-PLACEHOLDER", "@angular/core": "^4.0.0", "@angular/common": "^4.0.0", - "@angular/http": "^4.0.0" + "@angular/http": "^4.0.0", + "@angular/material": "0.0.0-PLACEHOLDER" }, "dependencies": { "tslib": "^1.7.1"