From 05a43ca8691004b66ff271dbeb3b0ee2cc3a49e7 Mon Sep 17 00:00:00 2001 From: Jeremy Elbourn Date: Mon, 3 Jun 2019 09:25:17 -0700 Subject: [PATCH] fix(bazel): exclude components schematics from build (#30825) See https://github.com/angular/components/issues/16189 Without this, bazel attempts to build schematics templates as srcs PR Close #30825 --- integration/bazel/angular-metadata.tsconfig.json | 4 +++- .../ng-add/files/angular-metadata.tsconfig.json.template | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/integration/bazel/angular-metadata.tsconfig.json b/integration/bazel/angular-metadata.tsconfig.json index 7ba3660257..918e261786 100644 --- a/integration/bazel/angular-metadata.tsconfig.json +++ b/integration/bazel/angular-metadata.tsconfig.json @@ -24,6 +24,8 @@ "node_modules/@angular/compiler-cli/**", "node_modules/@angular/**/testing/**", "node_modules/@angular/common/upgrade*", - "node_modules/@angular/router/upgrade*" + "node_modules/@angular/router/upgrade*", + "node_modules/@angular/cdk/schematics*", + "node_modules/@angular/material/schematics*" ] } diff --git a/packages/bazel/src/schematics/ng-add/files/angular-metadata.tsconfig.json.template b/packages/bazel/src/schematics/ng-add/files/angular-metadata.tsconfig.json.template index affaf68154..41cbd63733 100644 --- a/packages/bazel/src/schematics/ng-add/files/angular-metadata.tsconfig.json.template +++ b/packages/bazel/src/schematics/ng-add/files/angular-metadata.tsconfig.json.template @@ -21,6 +21,8 @@ "node_modules/@angular/compiler-cli/**", "node_modules/@angular/**/testing/**", "node_modules/@angular/common/upgrade*", - "node_modules/@angular/router/upgrade*" + "node_modules/@angular/router/upgrade*", + "node_modules/@angular/cdk/schematics*", + "node_modules/@angular/material/schematics*" ] }