angular/packages/BUILD.bazel
Pei Wang 916487a873 build: Auto-gen tsec tsconfig files (#43440)
Previously, tsec-related tsconfig.json files are manually managed.
Switch to automatically generated ones.

PR Close #43440
2021-09-17 17:17:34 +00:00

37 lines
673 B
Text

load("//tools:defaults.bzl", "ts_config", "ts_library")
package(default_visibility = ["//visibility:public"])
exports_files([
"tsconfig-build.json",
"tsconfig.json",
])
ts_library(
name = "types",
srcs = glob(["*.ts"]),
deps = [
"//packages/zone.js/lib:zone_d_ts",
"@npm//@types/hammerjs",
],
)
ts_config(
name = "tsconfig-test",
src = "tsconfig-test.json",
deps = [":tsconfig-build.json"],
)
ts_config(
name = "tsec_config",
src = "tsconfig-tsec-base.json",
deps = [
":tsconfig-build.json",
":tsec-exemption.json",
],
)
exports_files([
"license-banner.txt",
"README.md",
])