We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd1fefe commit 6984cc2Copy full SHA for 6984cc2
scripts/publish/validate_dependencies.js
@@ -29,7 +29,10 @@ const ANGULAR_PACKAGES = [
29
'@angular/core'
30
];
31
const OPTIONAL_PACKAGES = [
32
- '@angular/service-worker'
+ '@angular/service-worker',
33
+];
34
+const PEERDEP_HACK_PACKAGES = [
35
+ 'typescript',
36
37
38
@@ -168,7 +171,8 @@ const missingRootDeps = overallDeps.filter(d => allRootDeps.indexOf(d) == -1)
168
171
reportMissingDependencies(missingRootDeps);
169
172
170
173
const overRootDeps = allRootDeps.filter(d => overallDeps.indexOf(d) == -1)
- .filter(x => ANGULAR_PACKAGES.indexOf(x) == -1);
174
+ .filter(x => ANGULAR_PACKAGES.indexOf(x) == -1)
175
+ .filter(x => PEERDEP_HACK_PACKAGES.indexOf(x) == -1);
176
reportExcessiveDependencies(overRootDeps);
177
178
process.exit(exitCode);
0 commit comments