From 3b783a5dfb1c2165c21f766b868d56d0034bb0e1 Mon Sep 17 00:00:00 2001 From: Greg Magolan Date: Tue, 2 Apr 2024 20:30:09 -0400 Subject: [PATCH] refactor: remove deprecated //js/private:enable_runfiles and //js/private:experimental_allow_unresolved_symlinks (#1577) --- 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 2844995707..1c98fb3d3d 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 3c6d044575..7fd523aad1 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",