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.5")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 = "5e803a42bd0af134529f0724edb4d26e295e3c17a0af0655e5265250c82ce9b5",
strip_prefix = "rules_nodejs-6.7.5",
url = "https://github.com/bazel-contrib/rules_nodejs/releases/download/v6.7.5/rules_nodejs-v6.7.5.tar.gz",
)What's Changed
- chore: update bcr maintainers by @jbedard in #3910
- Update Node.js Versions by @mattem in #3912
- chore: Update Node.js Versions by @mattem in #3913
- Update Node.js Versions by @mattem in #3914
- refactor: nest NODE_VERSIONS, version -> repositories by @gzm0 in #3917
- Update Node.js Versions by @mattem in #3918
- feat: auto-fetch node versions in module extension by @gzm0 in #3919
- Update Node.js Versions by @mattem in #3920
Full Changelog: v6.7.4...v6.7.5