From f4c07c90df756ea758938e10acf27836add726ab Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Fri, 10 Feb 2017 11:33:59 +0000 Subject: [PATCH] build(@angular/cli): fix @angular dep warnings 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 7d2dba146932..0f0fece07aa8 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", "async": "^2.1.4",