angular/adev/shared-docs/pipeline/tutorials/BUILD.bazel
hawkgs 220608e4cc docs(docs-infra): generate errors and extended-diagnostics route NavigationItem-s (#59355)
Generate the `NavigationItem`-s as part of adev/shared-docs pipeline and use the output JSON files instead of the hardcoded objects in the `sub-navigation-data.ts`.

PR Close #59355
2025-01-14 11:00:06 -05:00

52 lines
967 B
Text

load("//tools:defaults.bzl", "ts_library")
package(default_visibility = ["//visibility:public"])
ts_library(
name = "editor",
srcs = glob(
[
"*.ts",
],
exclude = [
"playground.ts",
"tutorial.ts",
],
),
deps = [
"//adev/shared-docs/interfaces",
"@npm//@types/node",
"@npm//@webcontainer/api",
"@npm//fast-glob",
],
)
ts_library(
name = "playground",
srcs = [
"playground.ts",
],
visibility = [
"//adev/shared-docs:__subpackages__",
],
deps = [
":editor",
"//adev/shared-docs/interfaces",
"@npm//@types/node",
],
)
ts_library(
name = "tutorials",
srcs = [
"tutorial.ts",
],
visibility = [
"//adev/shared-docs:__subpackages__",
],
deps = [
":editor",
"//adev/shared-docs/interfaces",
"@npm//@types/node",
],
)