forked from angular/dev-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.bazel
45 lines (42 loc) · 1019 Bytes
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
ts_library(
name = "commit-message",
srcs = glob(
["**/*.ts"],
exclude = ["**/*.spec.ts"],
),
visibility = [
"//github-actions/commit-message-based-labels:__subpackages__",
"//ng-dev:__subpackages__",
],
deps = [
"//ng-dev/utils",
"@npm//@types/conventional-commits-parser",
"@npm//@types/git-raw-commits",
"@npm//@types/inquirer",
"@npm//@types/node",
"@npm//@types/yargs",
"@npm//conventional-commits-parser",
"@npm//git-raw-commits",
"@npm//inquirer",
"@npm//yargs",
],
)
ts_library(
name = "test_lib",
testonly = True,
srcs = glob(["**/*.spec.ts"]),
deps = [
":commit-message",
"//ng-dev/utils",
"@npm//@types/events",
"@npm//@types/jasmine",
"@npm//inquirer",
],
)
jasmine_node_test(
name = "test",
specs = [
":test_lib",
],
)