Skip to content

Commit 32aa18b

Browse files
josephperrottmatsko
authored andcommitted
build: add tsconfig-test to dependency for tsconfig in core/test/strict_types (angular#31471)
PR Close angular#31471
1 parent 80fa84c commit 32aa18b

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

.circleci/bazel.rc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ build --verbose_failures=true
3737
# > Example job: https://circleci.com/gh/angular/angular/385517
3838
# We expect that TypeScript compilations will parallelize wider than the number of local cores anyway
3939
# so we should saturate remote workers with TS compilations
40-
--strategy=TypeScriptCompile=standalone
41-
--strategy=AngularTemplateCompile=standalone
40+
build --strategy=TypeScriptCompile=standalone
41+
build --strategy=AngularTemplateCompile=standalone

packages/core/test/strict_types/BUILD.bazel

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
11
package(default_visibility = ["//visibility:private"])
22

3+
load("@npm_bazel_typescript//:index.bzl", "ts_config")
34
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
45

6+
ts_config(
7+
name = "tsconfig",
8+
src = "tsconfig.json",
9+
deps = [
10+
"//tools:tsconfig-test",
11+
],
12+
)
13+
514
ts_library(
615
name = "strict_types_lib",
716
testonly = True,
817
srcs = glob(
918
["**/*.ts"],
1019
),
11-
tsconfig = ":tsconfig.json",
20+
tsconfig = ":tsconfig",
1221
deps = [
1322
"//packages/core",
1423
],

tools/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ load("@npm_bazel_typescript//:index.bzl", "ts_config")
55
exports_files([
66
"tsconfig.json",
77
"jasmine-seed-generator.js",
8-
"tsconfig-test.json"
98
])
109

1110
ts_config(

0 commit comments

Comments
 (0)