mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
af19d98582
Move ts_project and ng_project into a macro for adev/ instead of providing a custom tsconfig on every target PR Close #61344
31 lines
538 B
Python
31 lines
538 B
Python
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",
|
|
],
|
|
)
|