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
41 lines
744 B
Text
41 lines
744 B
Text
load("//tools:defaults.bzl", "ts_library")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
ts_library(
|
|
name = "stackblitz",
|
|
srcs = glob(
|
|
[
|
|
"*.ts",
|
|
],
|
|
exclude = [
|
|
"index.ts",
|
|
],
|
|
),
|
|
deps = [
|
|
"//adev/shared-docs/pipeline/examples/shared",
|
|
"//adev/shared-docs/pipeline/guides",
|
|
"@npm//@types/jsdom",
|
|
"@npm//@types/node",
|
|
"@npm//jsdom",
|
|
"@npm//tinyglobby",
|
|
],
|
|
)
|
|
|
|
ts_library(
|
|
name = "index",
|
|
srcs = [
|
|
"index.ts",
|
|
],
|
|
visibility = [
|
|
"//adev/shared-docs:__subpackages__",
|
|
],
|
|
deps = [
|
|
":stackblitz",
|
|
"@npm//@types/node",
|
|
],
|
|
)
|
|
|
|
exports_files([
|
|
"index.ts",
|
|
])
|