Skip to content

Commit 391d129

Browse files
committed
build(@angular/cli): fix @angular dep warnings
We still need these dependencies as they are peerDeps of @ngtools/webpack. Partially revert angular#4473 Fix angular#4575
1 parent c75eda7 commit 391d129

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

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.

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",
2933
"@ngtools/json-schema": "1.0.3",
3034
"@ngtools/webpack": "1.2.9",
3135
"async": "^2.1.4",

0 commit comments

Comments
 (0)