Using Bzlmod with Bazel 6 or greater
- (Bazel 6 only) Enable with
common --enable_bzlmodin.bazelrc. - Add to your
MODULE.bazelfile:
bazel_dep(name = "rules_nodejs", version = "6.7.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 = "32894b914e4aed4245afdcece6fad94413f7f86eaefb863ff71e8ba6e5992b6b",
strip_prefix = "rules_nodejs-6.7.3",
url = "https://github.com/bazel-contrib/rules_nodejs/releases/download/v6.7.3/rules_nodejs-v6.7.3.tar.gz",
)What's Changed
- feat: change nodejs default to 22 by @jbedard in #3891
- chore: test on bazel 9 by @alexeagle in #3880
- chore: update gha deps by @jbedard in #3892
Full Changelog: v6.6.3...v6.7.3