Using Bzlmod with Bazel 6 or greater
- (Bazel 6 only) Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_nodejs", version = "6.3.4")
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 = "b361863788b15d9d0cebf6803c22e8d1afa689a0eefef96dec46bcce30527090",
strip_prefix = "rules_nodejs-6.3.4",
url = "https://github.com/bazel-contrib/rules_nodejs/releases/download/v6.3.4/rules_nodejs-v6.3.4.tar.gz",
)
What's Changed
- Update Node.js Versions by @mattem in #3814
- Update Node.js Versions by @mattem in #3817
- Update Node.js Versions by @mattem in #3818
- chore: update dependency aspect_bazel_lib to v2.13.0 - autoclosed by @renovate in #3816
- Update Node.js Versions by @mattem in #3819
- chore: update dependency aspect_bazel_lib to v2.14.0 by @renovate in #3820
- chore: add auto-release by @alexeagle in #3822
Full Changelog: v6.3.3...v6.3.4