Skip to content

Commit db78228

Browse files
Keen Yee Liauvikerman
Keen Yee Liau
authored andcommitted
build: add external block for tsconfig in test targets (#12879)
1 parent 3139cba commit db78228

File tree

7 files changed

+20
-0
lines changed

7 files changed

+20
-0
lines changed

packages/angular_devkit/benchmark/BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ ts_library(
5555
"@npm//@types/jasmine",
5656
],
5757
testonly = True,
58+
# @external_begin
5859
tsconfig = "//:tsconfig-test.json",
60+
# @external_end
5961
)
6062

6163
jasmine_node_test(

packages/angular_devkit/build_optimizer/BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ ts_library(
4747
"@npm//@types/source-map",
4848
],
4949
testonly = True,
50+
# @external_begin
5051
tsconfig = "//:tsconfig-test.json",
52+
# @external_end
5153
)
5254

5355
jasmine_node_test(

packages/angular_devkit/core/BUILD

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ ts_library(
5757
"src/workspace/test/test-workspace.json"
5858
],
5959
testonly = True,
60+
# @external_begin
6061
tsconfig = "//:tsconfig-test.json",
62+
# @external_end
6163
)
6264

6365
jasmine_node_test(
@@ -111,7 +113,9 @@ ts_library(
111113
"@npm//@types/jasmine",
112114
],
113115
testonly = True,
116+
# @external_begin
114117
tsconfig = "//:tsconfig-test.json",
118+
# @external_end
115119
)
116120

117121
jasmine_node_test(

packages/angular_devkit/schematics/BUILD

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ ts_library(
5151
"@npm//@types/jasmine",
5252
],
5353
testonly = True,
54+
# @external_begin
5455
tsconfig = "//:tsconfig-test.json",
56+
# @external_end
5557
)
5658

5759
jasmine_node_test(
@@ -141,7 +143,9 @@ ts_library(
141143
"@npm//@types/jasmine",
142144
],
143145
testonly = True,
146+
# @external_begin
144147
tsconfig = "//:tsconfig-test.json",
148+
# @external_end
145149
)
146150

147151

@@ -205,7 +209,9 @@ ts_library(
205209
"@npm//@types/jasmine",
206210
],
207211
testonly = True,
212+
# @external_begin
208213
tsconfig = "//:tsconfig-test.json",
214+
# @external_end
209215
)
210216

211217
jasmine_node_test(

packages/schematics/angular/BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ ts_library(
8484
"@npm//typescript",
8585
],
8686
testonly = True,
87+
# @external_begin
8788
tsconfig = "//:tsconfig-test.json",
89+
# @external_end
8890
)
8991

9092
jasmine_node_test(

packages/schematics/schematics/BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ ts_json_schema(
8080
# "@npm//@types/jasmine",
8181
# ],
8282
# testonly = True,
83+
# # @external_begin
8384
# tsconfig = "//:tsconfig-test.json",
85+
# # @external_end
8486
# )
8587

8688
# jasmine_node_test(

packages/schematics/update/BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ ts_library(
7070
"@npm//pacote",
7171
],
7272
testonly = True,
73+
# @external_begin
7374
tsconfig = "//:tsconfig-test.json",
75+
# @external_end
7476
)
7577

7678
jasmine_node_test(

0 commit comments

Comments
 (0)