Skip to content

Commit e0aa986

Browse files
authored
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
1 parent f8b5c94 commit e0aa986

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Diff for: packages/@angular/cli/lib/cli/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// Prevent the dependency validation from tripping because we don't import these. We need
44
// it as a peer dependency of @angular/core.
55
// require('zone.js')
6+
// require('@angular/tsc-wrapped')
67

78

89
// This file hooks up on require calls to transpile TypeScript.

Diff for: packages/@angular/cli/package.json

+4
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
},
2727
"homepage": "https://github.com/angular/angular-cli",
2828
"dependencies": {
29+
"@angular/compiler": ">=2.3.1 <5.0.0",
30+
"@angular/compiler-cli": ">=2.3.1 <5.0.0",
31+
"@angular/core": ">=2.3.1 <5.0.0",
32+
"@angular/tsc-wrapped": ">=0.5.0 <5.0.0",
2933
"@ngtools/json-schema": "1.0.3",
3034
"@ngtools/webpack": "1.2.9",
3135
"autoprefixer": "^6.5.3",

0 commit comments

Comments
 (0)