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.2")
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 = "158619723f1d8bd535dd6b93521f4e03cf24a5e107126d05685fbd9540ccad10",
strip_prefix = "rules_nodejs-6.3.2",
url = "https://github.com/bazel-contrib/rules_nodejs/releases/download/v6.3.2/rules_nodejs-v6.3.2.tar.gz",
)
What's Changed
- Update update-nodejs-versions.js by @alexeagle in #3798
- Update Node.js Versions by @mattem in #3799
- chore: update dependency aspect_bazel_lib to v2.9.3 by @renovate in #3796
Full Changelog: v6.3.1...v6.3.2