angular/tools/symbol-extractor/BUILD.bazel
Joey Perrott aa92f19307 build: update to bazel version 8.4.2
Update bazel to use version 8.4.2
2025-12-08 10:21:59 -08:00

44 lines
969 B
Text

load("//tools:defaults.bzl", "jasmine_test", "ts_project")
package(default_visibility = ["//visibility:public"])
ts_project(
name = "lib",
testonly = True,
srcs = glob(
["**/*.mts"],
exclude = [
"**/*_spec.mts",
"**/*_spec",
],
),
tsconfig = "//tools:tsconfig_build",
deps = [
"//:node_modules/@types/jasmine",
"//:node_modules/tinyglobby",
"//:node_modules/typescript",
],
)
ts_project(
name = "test_lib",
testonly = 1,
srcs = glob(
["**/*_spec.mts"],
exclude = ["symbol_extractor_spec/**"],
),
tsconfig = "//tools:tsconfig_test",
deps = [
":lib",
"//:node_modules/typescript",
],
)
jasmine_test(
name = "test",
data = [
":test_lib",
"//tools/symbol-extractor/symbol_extractor_spec:es2015_class_output",
"//tools/symbol-extractor/symbol_extractor_spec:fixtures",
],
)