mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Move ts_project and ng_project into a macro for adev/ instead of providing a custom tsconfig on every target PR Close #61319
30 lines
538 B
Text
30 lines
538 B
Text
load("//adev/shared-docs:defaults.bzl", "ts_project")
|
|
|
|
package(default_visibility = ["//visibility:private"])
|
|
|
|
ts_project(
|
|
name = "testing",
|
|
srcs = [
|
|
"index.ts",
|
|
],
|
|
interop_deps = [
|
|
":lib",
|
|
],
|
|
visibility = ["//adev/shared-docs:__subpackages__"],
|
|
)
|
|
|
|
ts_project(
|
|
name = "lib",
|
|
srcs = glob(
|
|
["*.ts"],
|
|
exclude = [
|
|
"index.ts",
|
|
],
|
|
),
|
|
interop_deps = [
|
|
"//packages/core",
|
|
],
|
|
deps = [
|
|
"//:node_modules/@webcontainer/api",
|
|
],
|
|
)
|