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
34 lines
967 B
Text
34 lines
967 B
Text
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
|
|
|
|
ts_library(
|
|
name = "test_lib",
|
|
testonly = True,
|
|
srcs = glob(
|
|
["**/*.ts"],
|
|
),
|
|
visibility = ["//packages/localize/tools/test:__subpackages__"],
|
|
deps = [
|
|
"//packages:types",
|
|
"//packages/compiler",
|
|
"//packages/compiler-cli/private",
|
|
"//packages/compiler-cli/src/ngtsc/file_system",
|
|
"//packages/compiler-cli/src/ngtsc/file_system/testing",
|
|
"//packages/compiler-cli/src/ngtsc/logging/testing",
|
|
"//packages/localize",
|
|
"//packages/localize/src/utils",
|
|
"//packages/localize/tools",
|
|
"//packages/localize/tools/test/helpers",
|
|
"@npm//@babel/generator",
|
|
"@npm//@types/babel__generator",
|
|
"@npm//tinyglobby",
|
|
],
|
|
)
|
|
|
|
jasmine_node_test(
|
|
name = "test",
|
|
bootstrap = ["//tools/testing:node_no_angular"],
|
|
deps = [
|
|
":test_lib",
|
|
"@npm//tinyglobby",
|
|
],
|
|
)
|