Skip to content

Commit

Permalink
refactor: remove deprecated //js/private:enable_runfiles and //js/pri…
Browse files Browse the repository at this point in the history
…vate:experimental_allow_unresolved_symlinks (#1577)
  • Loading branch information
gregmagolan committed Apr 22, 2024
1 parent b5a10f9 commit 079737f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
12 changes: 0 additions & 12 deletions js/private/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,6 @@ exports_files([
"npm_wrapper.sh",
])

# rules_jest and friends refer to these two private targets via the js_binary lib (naughty)
# TODO(2.0): remove
alias(
name = "enable_runfiles",
actual = "//js:enable_runfiles",
)

alias(
name = "experimental_allow_unresolved_symlinks",
actual = "//js:allow_unresolved_symlinks",
)

bzl_library(
name = "js_filegroup",
srcs = ["js_filegroup.bzl"],
Expand Down
2 changes: 1 addition & 1 deletion js/private/test/coverage/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ coverage_pass_test(
name = "pass",
data = ["lib.js"],
enable_runfiles = select({
"@aspect_rules_js//js/private:enable_runfiles": True,
"@aspect_rules_js//js:enable_runfiles": True,
"//conditions:default": False,
}),
entry_point = "lib.js",
Expand Down

0 comments on commit 079737f

Please sign in to comment.