Skip to content

v6.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 08 Jun 18:56
· 33 commits to main since this release
111e65b

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_nodejs", version = "6.2.0")

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 = "87c6171c5be7b69538d4695d9ded29ae2626c5ed76a9adeedce37b63c73bef67",
    strip_prefix = "rules_nodejs-6.2.0",
    url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.2.0/rules_nodejs-v6.2.0.tar.gz",
)

What's Changed

  • chore: add --check_direct_dependencies to .bazelrc by @gregmagolan in #3757
  • chore: in rules_js MODULE.bazel use default value for name of node.toolchain() by @gregmagolan in #3759
  • fix: make CcInfo/cc dep in nodejs toolchain opt-in via include_headers attribute by @gregmagolan in #3760

Full Changelog: v6.1.3...v6.2.0