Releases: bazel-contrib/rules_nodejs
Releases · bazel-contrib/rules_nodejs
v6.3.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.3.1")
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 = "0514c6530feb7abf94c9e3aeb4e33c89a21e2e9c9d9ed44cc217393bbf05ca9c",
strip_prefix = "rules_nodejs-6.3.1",
url = "https://github.com/bazel-contrib/rules_nodejs/releases/download/v6.3.1/rules_nodejs-v6.3.1.tar.gz",
)
What's Changed
- chore: update dependency io_bazel_stardoc to v0.7.1 by @renovate in #3788
- chore: update dependency aspect_bazel_lib to v2.9.0 by @renovate in #3787
- Update Node.js Versions by @mattem in #3790
- chore: update dependency aspect_bazel_lib to v2.9.1 by @renovate in #3789
- fix(runfiles): @bazel/runfiles usage with non-bzlmod repos by @jbedard in #3794
Full Changelog: v6.3.0...v6.3.1
v6.3.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.3.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 = "83d2bb029c2a9a06a474c8748d1221a92a7ca02222dcf49a0b567825c4e3f1ce",
strip_prefix = "rules_nodejs-6.3.0",
url = "https://github.com/bazel-contrib/rules_nodejs/releases/download/v6.3.0/rules_nodejs-v6.3.0.tar.gz",
)
What's Changed
- Update Node.js Versions by @mattem in #3762
- Update Node.js Versions by @mattem in #3766
- feat: expose latest known node version by @gzm0 in #3767
- Update Node.js Versions by @mattem in #3768
- Delete .github/workflows/stale.yml by @alexeagle in #3769
- Update .bazelversion by @meteorcloudy in #3776
- chore: update dependency io_bazel_stardoc to v0.7.0 by @renovate in #3777
- fix link to documentation in README.md by @kopp in #3780
- chore: update dependency aspect_bazel_lib to v2.8.1 by @renovate in #3774
- chore: update dependency buildifier_prebuilt to v7 by @renovate in #3778
- chore: update rules_codeowners digest to 4f44c38 by @renovate in #3773
- Update Node.js Versions by @mattem in #3784
- fix(runfiles): support bzlmod repo mappings by @jbedard in #3771
- refactor(runfiles): do not export private BAZEL_OUT_REGEX by @jbedard in #3786
- Explicitly enable workspace by @Wyverald in #3785
- chore: remove mention of yarn by @alexeagle in #3783
- feat: add
node_urls
parameter to bzlmodtoolchain
in thenode
extension by @redsun82 in #3763
New Contributors
- @gzm0 made their first contribution in #3767
- @kopp made their first contribution in #3780
- @redsun82 made their first contribution in #3763
Full Changelog: v6.2.0...v6.3.0
v6.2.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.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
v6.1.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.1.3")
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 = "0c060a1ee1fb131775064011273b4bcdc5d82a499f199da9f04d700013c2433b",
strip_prefix = "rules_nodejs-6.1.3",
url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.1.3/rules_nodejs-v6.1.3.tar.gz",
)
What's Changed
- chore: re-enable GitHub Actions CI for PRs and green up main by @gregmagolan in #3751
- chore: enable and green up e2e/smoke and e2e/nodejs_host tests on GitHub Actions by @gregmagolan in #3752
- fix: remove unused bad symlink in nodejs_repo_host_os_alias by @gregmagolan in #3753
- chore: cleanup test targets by @gregmagolan in #3754
- chore: misc cleanup by @gregmagolan in #3755
- chore: green up macos & windows CI by @gregmagolan in #3756
Full Changelog: v6.1.2...v6.1.3
v6.1.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.1.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 = "b6016a89a12a3d339ece93f2b3988f5e812f452ad497bc963634646ff4aa100b",
strip_prefix = "rules_nodejs-6.1.2",
url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.1.2/rules_nodejs-v6.1.2.tar.gz",
)
What's Changed
- Update Node.js Versions by @mattem in #3747
- Update Node.js Versions by @mattem in #3748
- fix: register Node.js toolchains in correct order by @gregmagolan in #3750
Full Changelog: v6.1.1...v6.1.2
5.8.5
upgrade with:
http_archive(
name = "rules_nodejs",
sha256 = "0c2277164b1752bb71ecfba3107f01c6a8fb02e4835a790914c71dfadcf646ba",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.8.5/rules_nodejs-core-5.8.5.tar.gz"],
)
# OR
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "a1295b168f183218bc88117cf00674bcd102498f294086ff58318f830dd9d9d1",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.8.5/rules_nodejs-5.8.5.tar.gz"],
)
Full Changelog: 5.8.4...5.8.5
v6.1.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.1.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 = "3e8369256ad63197959d2253c473a9dcc57c2841d176190e59b91d25d4fe9e67",
strip_prefix = "rules_nodejs-6.1.1",
url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.1.1/rules_nodejs-v6.1.1.tar.gz",
)
What's Changed
- Update Node.js Versions by @mattem in #3743
- chore: bump to bazel-lib 2.7.1 (dev dep) by @gregmagolan in #3744
- chore: don't cancel concurrent main builds by @gregmagolan in #3746
- Update Node.js Versions by @mattem in #3745
Full Changelog: v6.1.0...v6.1.1
v6.1.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.1.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 = "dddd60acc3f2f30359bef502c9d788f67e33814b0ddd99aa27c5a15eb7a41b8c",
strip_prefix = "rules_nodejs-6.1.0",
url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.1.0/rules_nodejs-v6.1.0.tar.gz",
)
What's Changed
- Update presubmit.yml by @alexeagle in #3719
- chore: disable RBE on CI to work-around cc toolchain failures at HEAD by @gregmagolan in #3726
- refactor: remove unused run_npm from NodeInfo provider by @gregmagolan in #3725
- Update NodeJS Versions by @mattem in #3723
- chore: misc cleanup by @gregmagolan in #3729
- chore: upgrade to Bazel 7.1.1 by @gregmagolan in #3728
- chore: re-enable macos on Bazel CI by @gregmagolan in #3732
- fix: support node_version_from_nvmrc with bzlmod by @gregmagolan in #3730
- fix: use default node url if the user happens to explicitly set [] by @gregmagolan in #3731
- chore: add .bazelversion to e2e/smoke by @gregmagolan in #3733
- chore: correct NodeJS spelling to Node.js by @gregmagolan in #3734
- chore: support local development on MacOS ARM by @gregmagolan in #3735
- feat: update node toolchain to provide File objects by @gregmagolan in #3736
- chore: upgrade GHA CI to bazel-contrib/.github/.github/workflows/bazel.yaml@v6 by @gregmagolan in #3737
- refactor: deprecate npm_files list attribute in favor of npm_srcs depset by @gregmagolan in #3738
- refactor: all public rules and macros should be prefixed with 'nodejs_' to match convention by @gregmagolan in #3739
- refactor: rename NodeInfo npm_srcs to npm_sources by @gregmagolan in #3740
- fix: fixup backward compat on npm_path by @gregmagolan in #3741
- Update Node.js Versions by @mattem in #3742
Full Changelog: v6.0.5...v6.1.0
v6.0.5
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.5")
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 = "a50986c7d2f2dc43a5b9b81a6245fd89bdc4866f1d5e316d9cef2782dd859292",
strip_prefix = "rules_nodejs-6.0.5",
url = "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.0.5/rules_nodejs-v6.0.5.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.5
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