From bcf0c2ba6a6fda157b6e20841cda76523a838aa3 Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Wed, 15 Feb 2017 20:02:53 +0000 Subject: [PATCH] build(@angular/cli): fix @angular dep warnings (#4592) We still need these dependencies as they are peerDeps of @ngtools/webpack. Partially revert #4473 Fix #4575 --- packages/@angular/cli/lib/cli/index.js | 1 + packages/@angular/cli/package.json | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/packages/@angular/cli/lib/cli/index.js b/packages/@angular/cli/lib/cli/index.js index 9e3dcaf89660..10952734a829 100644 --- a/packages/@angular/cli/lib/cli/index.js +++ b/packages/@angular/cli/lib/cli/index.js @@ -3,6 +3,7 @@ // Prevent the dependency validation from tripping because we don't import these. We need // it as a peer dependency of @angular/core. // require('zone.js') +// require('@angular/tsc-wrapped') // This file hooks up on require calls to transpile TypeScript. diff --git a/packages/@angular/cli/package.json b/packages/@angular/cli/package.json index 6461c4ce51a3..eefb059b101f 100644 --- a/packages/@angular/cli/package.json +++ b/packages/@angular/cli/package.json @@ -26,6 +26,10 @@ }, "homepage": "https://github.com/angular/angular-cli", "dependencies": { + "@angular/compiler": ">=2.3.1 <5.0.0", + "@angular/compiler-cli": ">=2.3.1 <5.0.0", + "@angular/core": ">=2.3.1 <5.0.0", + "@angular/tsc-wrapped": ">=0.5.0 <5.0.0", "@ngtools/json-schema": "1.0.3", "@ngtools/webpack": "1.2.9", "autoprefixer": "^6.5.3",