Skip to content

Commit bf0514e

Browse files
committed
Add alias for "@bazel/karma"
1 parent ac831a5 commit bf0514e

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package(default_visibility = ["//visibility:public"])
2+
3+
# Create an alias so that "@npm//@bazel/karma" is a valid Bazel target that refers to the actual
4+
# files required by the TypeScript webtesting rule. This is required because by default the
5+
# "ts_web_test_suite" rule expects the JavaScript output to be available in the "npm" workspace.
6+
# https://github.com/bazelbuild/rules_typescript/blob/master/internal/karma/ts_web_test.bzl#L26
7+
alias(
8+
name = "karma",
9+
actual = "@matdeps//@bazel/karma",
10+
)

tools/npm-workspace/@bazel/typescript/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package(default_visibility = ["//visibility:public"])
22

3-
# Create an alias so that "@npm//@angular/typescript" is a valid Bazel target that refers to the
3+
# Create an alias so that "@npm//@bazel/typescript" is a valid Bazel target that refers to the
44
# actual TypeScript rules output from NPM. This is required because by default the TypeScript
55
# rules expect the "tsc-wrapped" code to be available in the "npm" workspace.
66
# See: https://github.com/bazelbuild/rules_typescript/blob/master/BUILD.bazel#L66

0 commit comments

Comments
 (0)