From aeb30fb04f58144b7558a5a78766e1304159552e Mon Sep 17 00:00:00 2001 From: Greg Magolan Date: Fri, 29 Mar 2024 09:06:46 -0400 Subject: [PATCH] refactor: remove deprecated //js/private:enable_runfiles and //js/private:experimental_allow_unresolved_symlinks --- js/private/BUILD.bazel | 12 ------------ js/private/test/coverage/BUILD.bazel | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/js/private/BUILD.bazel b/js/private/BUILD.bazel index 5b8bddc84..6d91b2c73 100644 --- a/js/private/BUILD.bazel +++ b/js/private/BUILD.bazel @@ -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"], diff --git a/js/private/test/coverage/BUILD.bazel b/js/private/test/coverage/BUILD.bazel index 3c6d04457..7fd523aad 100644 --- a/js/private/test/coverage/BUILD.bazel +++ b/js/private/test/coverage/BUILD.bazel @@ -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",