Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 4021ec0

Browse files
authored
chore(bazel): bump rules_js to address permissions denied warning (#63419)
Previously we were having soft-warnings around permissions in badly made npm packages ``` (21:31:30) WARNING: Remote Cache: /mnt/ephemeral/output/__main__/execroot/__main__/bazel-out/k8-fastbuild/bin/node_modules/.aspect_rules_js/[email protected]_react_18.1.0/node_modules/its-fine/src/index.tsx (Permission denied) ``` When trying to enable compact execution log, this becomes a hard fail ``` (14:44:58) ERROR: /mnt/ephemeral/workdir/sourcegraph/sourcegraph/BUILD.bazel:33:22: Extracting npm package [email protected]_react_18.1.0 failed: IOException while logging spawn: /mnt/ephemeral/output/__main__/execroot/__main__/bazel-out/k8-fastbuild/bin/node_modules/.aspect_rules_js/[email protected]_react_18.1.0/node_modules/its-fine/dist/index.cjs (Permission denied) ``` This bump should fix that ## Test plan CI still builds successfully ## Changelog
1 parent cc9ecd9 commit 4021ec0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

WORKSPACE

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ http_archive(
3535

3636
http_archive(
3737
name = "aspect_rules_js",
38-
sha256 = "3dfccf2713288e0518c0485b65574ca66426c6e06495299abe6f5c64e3bc6314",
39-
strip_prefix = "rules_js-2.0.0-rc3",
40-
url = "https://github.com/aspect-build/rules_js/releases/download/v2.0.0-rc3/rules_js-v2.0.0-rc3.tar.gz",
38+
sha256 = "3bad4ab669d4d38d0d137275b946a46ce6f8f17fecc6c7affba64966a9054246",
39+
strip_prefix = "rules_js-2.0.0-rc5",
40+
url = "https://github.com/aspect-build/rules_js/releases/download/v2.0.0-rc5/rules_js-v2.0.0-rc5.tar.gz",
4141
)
4242

4343
http_archive(
@@ -197,7 +197,7 @@ rules_js_dependencies()
197197

198198
load("@aspect_rules_js//js:toolchains.bzl", "rules_js_register_toolchains")
199199

200-
rules_js_register_toolchains(node_version = "20.8.0")
200+
rules_js_register_toolchains(node_version = "20.8.1")
201201

202202
# rules_js npm setup ============================
203203
load("@aspect_rules_js//npm:repositories.bzl", "npm_translate_lock")

0 commit comments

Comments
 (0)