Skip to content
Permalink
Browse files

fix(bazel): do not typecheck core schematic files (#29876)

Currently for Angular Bazel projects, NGC needs to be run in the
"postinstall" NPM script in order to generate required summary files.

We need to update the postinstall `tsconfig` to not check/re-build the
`@angular/core` schematic code which has transitive dependencies
which are only available inside of a CLI project. As this is not guaranteed
to be the case with Angular Bazel projects, we need to make sure that
we don't check/re-build these files.

PR Close #29876
  • Loading branch information...
devversion authored and benlesh committed Apr 13, 2019
1 parent 22294df commit 2ba799ddc796d56cbf58a3a926d595d45ba1144c
@@ -20,6 +20,7 @@
],
"exclude": [
"node_modules/@angular/bazel/**",
"node_modules/@angular/core/schematics/**",
"node_modules/@angular/compiler-cli/**",
"node_modules/@angular/**/testing/**",
"node_modules/@angular/router/upgrade*"
@@ -17,6 +17,7 @@
],
"exclude": [
"node_modules/@angular/bazel/**",
"node_modules/@angular/core/schematics/**",
"node_modules/@angular/compiler-cli/**",
"node_modules/@angular/**/testing/**",
"node_modules/@angular/router/upgrade*"

0 comments on commit 2ba799d

Please sign in to comment.
You can’t perform that action at this time.