Skip to content

Commit

Permalink
build(@angular/cli): fix @angular dep warnings (angular#4592)
Browse files Browse the repository at this point in the history
We still need these dependencies as they are peerDeps of @ngtools/webpack.

Partially revert angular#4473
Fix angular#4575
  • Loading branch information
filipesilva authored and Zhicheng Wang committed Mar 16, 2017
1 parent 5e96d51 commit bcf0c2b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/@angular/cli/lib/cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions packages/@angular/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit bcf0c2b

Please sign in to comment.