Releases: bazel-contrib/rules_nodejs
v6.0.4
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.4")
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 = "1acabd60b174a75436a78f921bbf4b03614cb892629f0f8ed0ee2ee3e48baf99",
strip_prefix = "rules_nodejs-6.0.4",
url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.0.4/rules_nodejs-v6.0.4.tar.gz",
)
What's Changed
- Update NodeJS Versions by @mattem in #3712
- chore: cancel previous GHA from the same PR by @gregmagolan in #3715
- Update NodeJS Versions by @mattem in #3717
Full Changelog: v6.0.3...v6.0.4
v6.0.3
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.3")
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 = "f36e4a4747210331767033dc30728ae3df0856e88ecfdc48a0077ba874db16c3",
strip_prefix = "rules_nodejs-6.0.3",
url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.0.3/rules_nodejs-v6.0.3.tar.gz",
)
What's Changed
- Disable Bzlmod explicitly in .bazelrc by @meteorcloudy in #3696
- Fix issue link by @meteorcloudy in #3697
- Avoid usage of uname and cleanup os_name logic by @dzbarsky in #3698
- Update NodeJS Versions by @mattem in #3699
- Update NodeJS Versions by @mattem in #3700
- Update NodeJS Versions by @mattem in #3701
- Use
headers
attribute for toolchains only if it is set by @avdv in #3704 - Update MODULE.bazel by @alexeagle in #3706
- Work properly on intel CPUs on macos. Normalize x86_64->amd64 naming in
osname()
method by @sfc-gh-ptabor in #3707 - Update NodeJS Versions by @mattem in #3708
- Update update-nodejs-versions.yml by @alexeagle in #3710
- Update NodeJS Versions by @mattem in #3709
New Contributors
- @avdv made their first contribution in #3704
- @sfc-gh-ptabor made their first contribution in #3707
Full Changelog: v6.0.2...v6.0.3
v6.0.2
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.2")
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 = "162f4adfd719ba42b8a6f16030a20f434dc110c65dc608660ef7b3411c9873f9",
strip_prefix = "rules_nodejs-6.0.2",
url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.0.2/rules_nodejs-v6.0.2.tar.gz",
)
What's Changed
- Fix
node_repositories
load path in docs/install.md (index.bzl no longer exists) by @jankeromnes in #3690 - Add current_node_cc_headers by @dzbarsky in #3694
- Update NodeJS Versions by @mattem in #3692
New Contributors
- @jankeromnes made their first contribution in #3690
Full Changelog: v6.0.1...v6.0.2
v6.0.1
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.1")
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 = "5ad078287b5f3069735652e1fc933cb2e2189b15d2c9fc826c889dc466c32a07",
strip_prefix = "rules_nodejs-6.0.1",
url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.0.1/rules_nodejs-v6.0.1.tar.gz",
)
What's Changed
- Update release.yml by @alexeagle in #3672
- chore: update stale issue message by @jbedard in #3673
- Update NodeJS Versions by @mattem in #3674
- Expose node headers as a cc_library by @dzbarsky in #3679
- Update NodeJS Versions by @mattem in #3680
- Build with incompatible_disallow_empty_glob by @limdor in #3621
- Add "npx" target to node repo by @matthewjh in #3429
- fix(windows): unbreak CI with allow_empty by @alexeagle in #3681
- Update release.yml by @alexeagle in #3682
New Contributors
Full Changelog: v6.0.0...v6.0.1
5.8.4
upgrade with:
http_archive(
name = "rules_nodejs",
sha256 = "8fc8e300cb67b89ceebd5b8ba6896ff273c84f6099fc88d23f24e7102319d8fd",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.8.4/rules_nodejs-core-5.8.4.tar.gz"],
)
# OR
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "709cc0dcb51cf9028dd57c268066e5bc8f03a119ded410a13b5c3925d6e43c48",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.8.4/rules_nodejs-5.8.4.tar.gz"],
)
Full Changelog: 5.8.3...5.8.4
v6.0.0
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")
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 = "a833b08fc846e27a73ac2b7062e4f48cace0e72a072c6c3fa756847dc44246dd",
strip_prefix = "rules_nodejs-6.0.0",
url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.0.0/rules_nodejs-v6.0.0.tar.gz",
)
What's Changed
- 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
- chore: disable a failing test on windows by @alexeagle in #3661
- Update NodeJS Versions by @mattem in #3662
- chore: update bcr metadata by @alexeagle in #3663
- chore(6.0): cleanup unused files, remove references to deleted files by @jbedard in #3664
- docs: restore accidentally deleted toolchains docs by @jbedard in #3667
- Update NodeJS versions by @paullewis in #3666
- fix typo in README.md by @troycarlson in #3670
- Update NodeJS Versions by @mattem in #3668
New Contributors
- @paullewis made their first contribution in #3666
- @troycarlson made their first contribution in #3670
Full Changelog: 5.8.2...v6.0.0
v6.0.0-rc0
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-rc0")
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 = "08bb7f0fd3f5252d19bbbb4b2144c0836d1fea028cd6188647ff346766d93002",
strip_prefix = "rules_nodejs-6.0.0-rc0",
url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.0.0-rc0/rules_nodejs-v6.0.0-rc0.tar.gz",
)
What's Changed
- chore: update bcr metadata by @alexeagle in #3663
- chore(6.0): cleanup unused files, remove references to deleted files by @jbedard in #3664
- docs: restore accidentally deleted toolchains docs by @jbedard in #3667
- Update NodeJS versions by @paullewis in #3666
- fix typo in README.md by @troycarlson in #3670
- Update NodeJS Versions by @mattem in #3668
New Contributors
- @paullewis made their first contribution in #3666
- @troycarlson made their first contribution in #3670
Full Changelog: v6.0.0-beta1...v6.0.0-rc0
5.8.3
This release has no npm packages, as they were not changed since 5.8.2
upgrade with:
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "5dd1e5dea1322174c57d3ca7b899da381d516220793d0adef3ba03b9d23baa8e",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.8.3/rules_nodejs-5.8.3.tar.gz"],
)
# or for the core package
http_archive(
name = "rules_nodejs",
sha256 = "be84fb5238a2034870810b60ae66f8555db385ff931bd6f61be204732df8d4a6",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.8.3/rules_nodejs-core-5.8.3.tar.gz"],
)
What's Changed
- Update NodeJS Versions by @mattem in #3622
- Update NodeJS Versions by @mattem in #3628
- chore: update release instructions by @alexeagle in #3632
- Update NodeJS Versions by @mattem in #3634
- chore: fix failing docs test by @jbedard in #3658
- refactor: remove rules_nodejs dependency on bazel_skylib by @jbedard in #3657
Full Changelog: 5.8.2...5.8.3
v6.0.0-beta1
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-beta1")
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 = "d124665ea12f89153086746821cf6c9ef93ab88360a50c1aeefa1fe522421704",
strip_prefix = "rules_nodejs-6.0.0-beta1",
url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.0.0-beta1/rules_nodejs-v6.0.0-beta1.tar.gz",
)
What's Changed
- chore: disable a failing test on windows by @alexeagle in #3661
- Update NodeJS Versions by @mattem in #3662
Full Changelog: v6.0.0-beta0...v6.0.0-beta1
v6.0.0-beta0
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