mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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
52 lines
968 B
Text
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",
|
|
],
|
|
)
|