Skip to content

v6.0.0-beta0

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 12 Apr 21:01
· 118 commits to main since this release
817cdc3

Good News

rules_nodejs is alive again, thanks to @jbedard who removed all the deprecated, unmaintained code.

This is a significantly smaller scope - it is only the "core" Bazel Module we used to ship in 5.x and earlier.
The 5.x branch is your reference to the code before this removal.

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.0.0-beta0")

Using WORKSPACE

Paste this snippet into your file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_nodejs",
    sha256 = "e53d58cf072240bba7b48c0fbd3dfaa5ebf2e005cee0bfce5f3a4ba6b813df4e",
    strip_prefix = "rules_nodejs-6.0.0-beta0",
    url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.0.0-beta0/rules_nodejs-v6.0.0-beta0.tar.gz",
)

What's Changed

Full Changelog: 5.8.1...v6.0.0-beta0