Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_nodejs", version = "6.3.3")
Using WORKSPACE
Paste this snippet into your WORKSPACE.bazel
file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_nodejs",
sha256 = "732aa2aeef9ba629cd7fa1cb30da07e6b696ed78706b08d84d5d8601982f38b1",
strip_prefix = "rules_nodejs-6.3.3",
url = "https://github.com/bazel-contrib/rules_nodejs/releases/download/v6.3.3/rules_nodejs-v6.3.3.tar.gz",
)
What's Changed
- Update Node.js Versions by @mattem in #3804
- Update Node.js Versions by @mattem in #3805
- chore: update dependency aspect_bazel_lib to v2.9.4 by @renovate in #3803
- chore: update dependency aspect_bazel_lib to v2.10.0 by @renovate in #3808
- Update Node.js Versions by @mattem in #3810
- fix: remove use of incompatible_use_toolchain_transition by @EdSchouten in #3812
- chore: update dependency buildifier_prebuilt to v8 by @renovate in #3811
- chore: update dependency aspect_bazel_lib to v2.11.0 by @renovate in #3813
New Contributors
- @EdSchouten made their first contribution in #3812
Full Changelog: v6.3.2...v6.3.3