mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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
34 lines
632 B
Text
34 lines
632 B
Text
load("//tools:defaults.bzl", "ts_library")
|
|
|
|
package(default_visibility = ["//visibility:private"])
|
|
|
|
ts_library(
|
|
name = "utils",
|
|
srcs = [
|
|
"index.ts",
|
|
],
|
|
visibility = ["//adev/shared-docs:__subpackages__"],
|
|
deps = [
|
|
":lib",
|
|
],
|
|
)
|
|
|
|
ts_library(
|
|
name = "lib",
|
|
srcs = glob(
|
|
[
|
|
"**/*.ts",
|
|
],
|
|
exclude = [
|
|
"index.ts",
|
|
"**/*.spec.ts",
|
|
],
|
|
),
|
|
deps = [
|
|
"//adev/shared-docs/interfaces",
|
|
"//adev/shared-docs/providers",
|
|
"//packages/core",
|
|
"//packages/router",
|
|
"@npm//fflate",
|
|
],
|
|
)
|