From dd10159baa91487a419105ca0e0d1ab99eb3fec8 Mon Sep 17 00:00:00 2001 From: Vladimir Moskva Date: Tue, 27 Aug 2024 17:40:17 +0200 Subject: [PATCH] Make npm packages explicitly publishable --- MODULE.bazel | 2 +- buildifier/npm/BUILD.bazel | 1 + buildozer/npm/BUILD.bazel | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/MODULE.bazel b/MODULE.bazel index ca7ced753..0efc6561e 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -4,7 +4,7 @@ module( ) bazel_dep(name = "aspect_bazel_lib", version = "2.7.9") -bazel_dep(name = "aspect_rules_js", version = "2.0.0-rc9") +bazel_dep(name = "aspect_rules_js", version = "2.0.1") bazel_dep(name = "bazel_features", version = "1.14.0") bazel_dep(name = "bazel_skylib", version = "1.7.1") bazel_dep(name = "gazelle", version = "0.37.0", repo_name = "bazel_gazelle") diff --git a/buildifier/npm/BUILD.bazel b/buildifier/npm/BUILD.bazel index 7fffc0fee..61c519825 100644 --- a/buildifier/npm/BUILD.bazel +++ b/buildifier/npm/BUILD.bazel @@ -53,6 +53,7 @@ npm_package( ":package", ] + _PARENT_PACKAGE_FILES, package = "@bazel/buildifier", + publishable = True, ) js_test( diff --git a/buildozer/npm/BUILD.bazel b/buildozer/npm/BUILD.bazel index e32c10456..48e85d2a8 100644 --- a/buildozer/npm/BUILD.bazel +++ b/buildozer/npm/BUILD.bazel @@ -54,6 +54,7 @@ npm_package( ":package", ] + _PARENT_PACKAGE_FILES, package = "@bazel/buildozer", + publishable = True, ) js_test(