angular/adev/shared-docs/pipeline/tutorials/BUILD.bazel
Alan Agius 45f899a272 refactor: replace fast-glob usage with tinyglobby (#60264)
Usage of the `fast-glob` package has been replaced with the `tinyglobby` package. The change reduces the number of transitive dependencies related to these packages from 17 to 2 while also maintaining equivalent functionality. This was also changed in the Angular CLI packages.

PR Close #60264
2025-03-07 10:57:23 -08:00

52 lines
968 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//tinyglobby",
],
)
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",
],
)