build: add tsconfig-test to dependency for tsconfig in core/test/strict_types (#31471)
PR Close #31471
This commit is contained in:
parent
80fa84c177
commit
32aa18be78
|
@ -37,5 +37,5 @@ build --verbose_failures=true
|
||||||
# > Example job: https://circleci.com/gh/angular/angular/385517
|
# > Example job: https://circleci.com/gh/angular/angular/385517
|
||||||
# We expect that TypeScript compilations will parallelize wider than the number of local cores anyway
|
# We expect that TypeScript compilations will parallelize wider than the number of local cores anyway
|
||||||
# so we should saturate remote workers with TS compilations
|
# so we should saturate remote workers with TS compilations
|
||||||
--strategy=TypeScriptCompile=standalone
|
build --strategy=TypeScriptCompile=standalone
|
||||||
--strategy=AngularTemplateCompile=standalone
|
build --strategy=AngularTemplateCompile=standalone
|
||||||
|
|
|
@ -1,14 +1,23 @@
|
||||||
package(default_visibility = ["//visibility:private"])
|
package(default_visibility = ["//visibility:private"])
|
||||||
|
|
||||||
|
load("@npm_bazel_typescript//:index.bzl", "ts_config")
|
||||||
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
|
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
|
||||||
|
|
||||||
|
ts_config(
|
||||||
|
name = "tsconfig",
|
||||||
|
src = "tsconfig.json",
|
||||||
|
deps = [
|
||||||
|
"//tools:tsconfig-test",
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|
||||||
ts_library(
|
ts_library(
|
||||||
name = "strict_types_lib",
|
name = "strict_types_lib",
|
||||||
testonly = True,
|
testonly = True,
|
||||||
srcs = glob(
|
srcs = glob(
|
||||||
["**/*.ts"],
|
["**/*.ts"],
|
||||||
),
|
),
|
||||||
tsconfig = ":tsconfig.json",
|
tsconfig = ":tsconfig",
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
],
|
],
|
||||||
|
|
|
@ -5,7 +5,6 @@ load("@npm_bazel_typescript//:index.bzl", "ts_config")
|
||||||
exports_files([
|
exports_files([
|
||||||
"tsconfig.json",
|
"tsconfig.json",
|
||||||
"jasmine-seed-generator.js",
|
"jasmine-seed-generator.js",
|
||||||
"tsconfig-test.json"
|
|
||||||
])
|
])
|
||||||
|
|
||||||
ts_config(
|
ts_config(
|
||||||
|
|
Loading…
Reference in New Issue