build: add tsconfig-test to dependency for tsconfig in core/test/strict_types (#31471)

PR Close #31471
This commit is contained in:
Joey Perrott 2019-07-11 14:00:27 -07:00 committed by Matias Niemelä
parent 80fa84c177
commit 32aa18be78
3 changed files with 12 additions and 4 deletions

View File

@ -37,5 +37,5 @@ build --verbose_failures=true
# > Example job: https://circleci.com/gh/angular/angular/385517
# We expect that TypeScript compilations will parallelize wider than the number of local cores anyway
# so we should saturate remote workers with TS compilations
--strategy=TypeScriptCompile=standalone
--strategy=AngularTemplateCompile=standalone
build --strategy=TypeScriptCompile=standalone
build --strategy=AngularTemplateCompile=standalone

View File

@ -1,14 +1,23 @@
package(default_visibility = ["//visibility:private"])
load("@npm_bazel_typescript//:index.bzl", "ts_config")
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
ts_config(
name = "tsconfig",
src = "tsconfig.json",
deps = [
"//tools:tsconfig-test",
],
)
ts_library(
name = "strict_types_lib",
testonly = True,
srcs = glob(
["**/*.ts"],
),
tsconfig = ":tsconfig.json",
tsconfig = ":tsconfig",
deps = [
"//packages/core",
],

View File

@ -5,7 +5,6 @@ load("@npm_bazel_typescript//:index.bzl", "ts_config")
exports_files([
"tsconfig.json",
"jasmine-seed-generator.js",
"tsconfig-test.json"
])
ts_config(