v6.0.0-beta0
Pre-release
Pre-release
github-actions
released this
12 Apr 21:01
·
118 commits
to main
since this release
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
- Enable with
common --enable_bzlmod
in.bazelrc
. - 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
- fix: allow root repositories to override node toolchain version under bzlmod by @kormide in #3626
- Update NodeJS Versions by @mattem in #3622
- Update NodeJS Versions by @mattem in #3628
- chore: update release instructions by @alexeagle in #3632
- chore(6.0): remove concatjs package by @jbedard in #3637
- chore(6.0): remove packages by @jbedard in #3638
- chore(6.0): remove @bazel/esbuild package by @alexeagle in #3640
- chore(6.x): remove cypress package by @jbedard in #3641
- chore(6.0): remove terser package by @jbedard in #3642
- chore(6.0): remove jasmine package by @jbedard in #3643
- chore(6.0): remove rollup package by @jbedard in #3644
- chore(6.0): remove typescript package by @jbedard in #3645
- chore: update release automation by @alexeagle in #3646
- chore: bzlmod by @alexeagle in #3647
- chore(6.x): cleanup examples by @alexeagle in #3648
- chore(6.0): remove internal typescript tools by @jbedard in #3649
- chore(6.0): remove pkg_web by @jbedard in #3651
- chore(6.0): remove @bazel/create by @jbedard in #3650
- chore(6.0): move providers to build_bazel_rules_nodejs by @jbedard in #3652
- ci: add github actions testing by @alexeagle in #3654
- chore: bump to node 18 LTS as default by @alexeagle in #3656
- refactor: remove rules_nodejs dependency on bazel_skylib by @jbedard in #3659
- chore(6.0): remove all unsupported rules and packages by @jbedard in #3655
- chore: restore GHA CI just for main branch by @alexeagle in #3660
Full Changelog: 5.8.1...v6.0.0-beta0