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
This commit is contained in:
parent
22294dfad1
commit
2ba799ddc7
|
@ -20,6 +20,7 @@
|
||||||
],
|
],
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"node_modules/@angular/bazel/**",
|
"node_modules/@angular/bazel/**",
|
||||||
|
"node_modules/@angular/core/schematics/**",
|
||||||
"node_modules/@angular/compiler-cli/**",
|
"node_modules/@angular/compiler-cli/**",
|
||||||
"node_modules/@angular/**/testing/**",
|
"node_modules/@angular/**/testing/**",
|
||||||
"node_modules/@angular/router/upgrade*"
|
"node_modules/@angular/router/upgrade*"
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
],
|
],
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"node_modules/@angular/bazel/**",
|
"node_modules/@angular/bazel/**",
|
||||||
|
"node_modules/@angular/core/schematics/**",
|
||||||
"node_modules/@angular/compiler-cli/**",
|
"node_modules/@angular/compiler-cli/**",
|
||||||
"node_modules/@angular/**/testing/**",
|
"node_modules/@angular/**/testing/**",
|
||||||
"node_modules/@angular/router/upgrade*"
|
"node_modules/@angular/router/upgrade*"
|
||||||
|
|
Loading…
Reference in New Issue