mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
91f250dab7
This commit adds path mapping and source dependencies necessary to fully resolve types during api doc extraction. PR Close #52499
33 lines
608 B
Python
33 lines
608 B
Python
load("//tools:defaults.bzl", "ts_library", "tsec_test")
|
|
|
|
package(default_visibility = [
|
|
"//packages:__pkg__",
|
|
"//packages/core:__subpackages__",
|
|
"//packages/rxjs-interop/test:__subpackages__",
|
|
"//tools/public_api_guard:__pkg__",
|
|
])
|
|
|
|
ts_library(
|
|
name = "signals",
|
|
srcs = glob(
|
|
[
|
|
"**/*.ts",
|
|
],
|
|
),
|
|
)
|
|
|
|
tsec_test(
|
|
name = "tsec_test",
|
|
target = "signals",
|
|
tsconfig = "//packages:tsec_config",
|
|
)
|
|
|
|
filegroup(
|
|
name = "files_for_docgen",
|
|
srcs = glob([
|
|
"*.ts",
|
|
"src/**/*.ts",
|
|
]),
|
|
visibility = ["//visibility:public"],
|
|
)
|