forked from angular/angular
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
45 lines (38 loc) · 966 Bytes
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
load("//tools:defaults.bzl", "ts_config", "ts_library")
load("//:packages.bzl", "DOCS_ENTRYPOINTS")
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",
"examples",
])
# All docgen targets for AIO. Add package entrypoints to DOCS_ENTRYPOINTS in `packages.bzl`.
filegroup(
name = "files_for_docgen",
srcs = ["//packages/%s:files_for_docgen" % entrypoint for entrypoint in DOCS_ENTRYPOINTS],
)