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
36 lines
659 B
Python
36 lines
659 B
Python
load("//adev/shared-docs:defaults.bzl", "ts_project")
|
|
|
|
package(default_visibility = ["//visibility:private"])
|
|
|
|
ts_project(
|
|
name = "interfaces",
|
|
srcs = [
|
|
"index.ts",
|
|
],
|
|
visibility = ["//adev/shared-docs:__subpackages__"],
|
|
deps = [
|
|
":lib_rjs",
|
|
],
|
|
)
|
|
|
|
ts_project(
|
|
name = "lib",
|
|
srcs = glob(
|
|
[
|
|
"**/*.ts",
|
|
],
|
|
exclude = [
|
|
"index.ts",
|
|
"**/*.spec.ts",
|
|
],
|
|
),
|
|
interop_deps = [
|
|
"//packages/core",
|
|
"//packages/router",
|
|
],
|
|
deps = [
|
|
"//:node_modules/@types/node",
|
|
"//:node_modules/@webcontainer/api",
|
|
],
|
|
)
|