Releases: bazel-contrib/rules_nodejs
5.4.0
Upgrade with
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "2b2004784358655f334925e7eadc7ba80f701144363df949b3293e1ae7a2fb7b",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.4.0/rules_nodejs-5.4.0.tar.gz"],
)
# or for the "core" package
http_archive(
name = "rules_nodejs",
sha256 = "1f9fca05f4643d15323c2dee12bd5581351873d45457f679f84d0fe0da6839b7",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.4.0/rules_nodejs-core-5.4.0.tar.gz"],
)
and update @bazel
-scoped npm packages.
What's Changed
- feat(builtin): add basic ESM support by @Toxicable in #3294
- Update esbuild versions by @mattem in #3376
- fix: exports_directories_only causes node to resolve from runfiles/node_modules by @thesayyn in #3380
- fix: use python3 instead of python in unittest.bash by @gregmagolan in #3382
- fix: use -R in copy_file(is_dir=True) so macos & linux behavior are the same by @gregmagolan in #3383
- Update esbuild versions by @mattem in #3385
- refactor: extract typescript support files to core by @alexeagle in #3386
- Update esbuild versions by @mattem in #3389
Full Changelog: 5.3.1...5.4.0
5.3.1
Upgrade with:
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "523da2d6b50bc00eaf14b00ed28b1a366b3ab456e14131e9812558b26599125c",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.3.1/rules_nodejs-5.3.1.tar.gz"],
)
# or for the core module:
http_archive(
name = "rules_nodejs",
sha256 = "f268b0ab459668073a33d7d5b156e45c258baf6238d8547b9ba626cc63ca45e5",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.3.1/rules_nodejs-core-5.3.1.tar.gz"],
)
What's Changed
- Update NodeJS Versions by @mattem in #3372
- fix(builtin): require correct runfiles path to chdir script by @kormide in #3374
- fix(builtin): allow static files to be specified in
pkg_npm
create_package
helper by @devversion in #3379 - fix: condition on target instead of exec by @thesayyn in #3373
Full Changelog: 5.3.0...5.3.1
5.3.0
Upgrade with:
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "3ceb1e5b5dcad5fa2ad8870a20201cfbb9c9c63cac4055c9ab370034c765297f",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.3.0/rules_nodejs-5.3.0.tar.gz"],
)
# Or for "core" module
http_archive(
name = "rules_nodejs",
sha256 = "dfcfc36aab6ecf5ea9c64bafbf18c594f2b870bb6d0b298d01662b9ce8c1cebb",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.3.0/rules_nodejs-core-5.3.0.tar.gz"],
)
and update @bazel
-scoped npm packages to latest
What's Changed
- fix(runfiles): use normalized paths when guarding runfiles root and node_modules on Windows by @mistic in #3331
- fix(builtin):
yarn_install
with vendored yarn.cjs
file breaks by @devversion in #3350 - chore(docs): update tsconfig link for ts_project documentation by @fredrik-w in #3351
- fix: update source for generated docs by @mattem in #3354
- Update esbuild versions by @mattem in #3352
- feat(builtin): add silent_on_success option to npm_package_bin by @ptarjan in #3336
- test: update environment spec to work with windows by @devversion in #3358
- fix: sharded test never fail when using Jasmine < 4 by @alan-agius4 in #3360
- Add type definitions to react example by @Chronojam in #3312
- Update NodeJS Versions by @mattem in #3359
- Add mnemonic to action run by npm_package_bin by @glukasiknuro in #3363
- Update NodeJS Versions by @mattem in #3362
- fix(builtin): default STDOUT_CAPTURE_IS_NOT_AN_OUTPUT to falsey by @ptarjan in #3364
- Update NodeJS Versions by @mattem in #3368
- Update yarn versions by @mattem in #3369
- fix(concatjs): tsc-wrapped compilation workers are subject to linker race-conditions by @devversion in #3370
- Update esbuild versions by @mattem in #3366
New Contributors
- @fredrik-w made their first contribution in #3351
- @Chronojam made their first contribution in #3312
- @glukasiknuro made their first contribution in #3363
Full Changelog: 5.2.0...5.3.0
5.2.0
Upgrade:
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "965ee2492a2b087cf9e0f2ca472aeaf1be2eb650e0cfbddf514b9a7d3ea4b02a",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.2.0/rules_nodejs-5.2.0.tar.gz"],
)
# or for the core module
http_archive(
name = "rules_nodejs",
sha256 = "1e03adc202a051335d21028b592d412100255e60901371ea44131b20e600778a",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.2.0/rules_nodejs-core-5.2.0.tar.gz"],
)
And update @bazel
-scoped npm packages.
What's Changed
- Update doc for executing the Bazel fetched yarn by @cgrindel in #3313
- Update esbuild versions by @mattem in #3310
- test: add test for use_nvmrc in toolchain creation by @jstuder-gh in #3325
- Update NodeJS Versions by @mattem in #3319
- esbuild - switch sourcemap test to ts_project, add sources_content test by @jbedard in #3300
- Update esbuild versions by @mattem in #3320
- fix(builtin): avoid unnecessary chdir to prevent worker threads from failing by @kormide in #3322
- feat(typescript): warn the user when rootDirs looks wrong in ts_proje⦠by @alexeagle in #3126
- write captured exit code into the right directory by @ptarjan in #3334
- Update esbuild versions by @mattem in #3332
- ci: disable a build step on Windows by @alexeagle in #3335
- feat(examples): example jest add junit reporter by @joeljeske in #3338
- Update NodeJS Versions by @mattem in #3337
- fix(builtin): take custom node_repositories value into account when checking if Node version exists for the platform by @mattem in #3339
- feat(builtin): perform make variable substitution in npm_package_bin env vars by @kormide in #3343
- docs: add data attribute to ts_project macro by @alexeagle in #3346
- fix(builtin): use srcs on genrule to not build tool for host by @mattem in #3344
- chore: followup to #3335 by @alexeagle in #3347
- fix(typescript): account for rootDir when predicting json output paths by @alexeagle in #3348
New Contributors
- @cgrindel made their first contribution in #3313
- @jstuder-gh made their first contribution in #3325
- @kormide made their first contribution in #3322
- @ptarjan made their first contribution in #3334
Full Changelog: 5.1.0...5.2.0
4.7.0
There are no npm packages published for this release, since they are the same as 4.6.x
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "6f15d75f9e99c19d9291ff8e64e4eb594a6b7d25517760a75ad3621a7a48c2df",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/4.7.0/rules_nodejs-4.7.0.tar.gz"],
)
# or for core package
http_archive(
name = "rules_nodejs",
sha256 = "028a98df48fd33c9932b3a442a3f55fee5f169d5e3670b3bc48b801f94e012a0",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/4.7.0/rules_nodejs-core-4.7.0.tar.gz"],
)
4.6.3
Note, no npm packages were published for this release, as there were no changes since 4.6.2
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "ad3e5afa52ef9aac4da426f61e339c054ecbc0e6665cec2109f8846b4c8339e3",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/4.6.3/rules_nodejs-4.6.3.tar.gz"],
)
# Or for core package
http_archive(
name = "rules_nodejs",
sha256 = "5107baea6eb4ca5ea114bd027e6cc7c92df33922d8af891e4a00c29a0183d267",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/4.6.3/rules_nodejs-core-4.6.3.tar.gz"],
)
What's Changed
- fix(builtin): take custom node_repositories value into account when checking if Node version exists for the platform by @mattem in #3342
Full Changelog: 4.6.2...4.6.3
4.6.2
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "2644a66772938db8d8c760334a252f1687455daa7e188073f2d46283f2f6fbb7",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/4.6.2/rules_nodejs-4.6.2.tar.gz"],
)
http_archive(
name = "rules_nodejs",
sha256 = "f596117040134b9497a1049efe7a785924b4ff22557669780a0fa37e22b827bd",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/4.6.2/rules_nodejs-core-4.6.2.tar.gz"],
)
note, npm packages are tagged lts
rather than latest
What's Changed
- chore: renovate stop sending PRs for examples by @alexeagle in #3246
- fix(cypress): use depsets for runfiles and data by @mrmeku in #3240
- fix(builtin): npm_package_bin include runfiles in DefaultInfo by @alexeagle in #3261
- fix(typescript): propagate tags to validate_options by @djmarcin in #3260
- Update NodeJS Versions by @mattem in #3265
New Contributors
Full Changelog: 4.6.1...4.6.2
5.1.0
Big thanks to @twheys for extending ts_project
to allow filegroup-like inputs (where the outputs cannot be pre-declared by the rule)
and to @fmeum for a signficant performance fix for npm packages in the analysis phase!
Upgrade:
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "c077680a307eb88f3e62b0b662c2e9c6315319385bc8c637a861ffdbed8ca247",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.1.0/rules_nodejs-5.1.0.tar.gz"],
)
load("@build_bazel_rules_nodejs//:repositories.bzl", "build_bazel_rules_nodejs_dependencies")
build_bazel_rules_nodejs_dependencies()
and update @bazel
-scoped npm packages.
For the "core" package
http_archive(
name = "rules_nodejs",
sha256 = "03b542b22a95c4b6591630f3f6b176294033e190e08e044bdb23883693702b6b",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.1.0/rules_nodejs-core-5.1.0.tar.gz"],
)
What's Changed
- Update esbuild versions by @mattem in #3303
- Add Glean as an organizational adopter by @tony-scio in #3305
- fix(builtin): make linker aspect run in constant time per target by @fmeum in #3301
- fix(builtin): reduce linker debug string allocations by @fmeum in #3309
- Update NodeJS Versions by @mattem in #3308
- Update esbuild versions by @mattem in #3307
- Changed calculation of outs in ts_project to support using rule outputs as srcs by @twheys in #3228
New Contributors
- @tony-scio made their first contribution in #3305
- @twheys made their first contribution in #3228
Full Changelog: 5.0.2...5.1.0
5.0.2
Upgrade with:
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "a09edc4ba3931a856a5ac6836f248c302d55055d35d36e390a0549799c33145b",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.0.2/rules_nodejs-5.0.2.tar.gz"],
)
# or
http_archive(
name = "rules_nodejs",
sha256 = "cc747e23225cde1811ca7a001b765011e9f84598fd8f0d7dfaeb61dec6b5bc1a",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.0.2/rules_nodejs-core-5.0.2.tar.gz"],
)
What's Changed
- fix(builtin): pass kwargs from node_repositories helper by @alexeagle in #3287
- Update esbuild versions by @mattem in #3288
- fix(jasmine): replace deprecated Jasmine APIs that have been removed in version 4 by @alan-agius4 in #3283
- fix: use robocopy in copy_file#is_directory so we don't hit file path length limit of xcopy by @gregmagolan in #3295
- fix(jasmine): can not reference runner when exports_directories_only=β¦ by @thesayyn in #3293
Full Changelog: 5.0.1...5.0.2
5.0.1
Upgrade to 5.0.0 first. Then, change WORKSPACE:
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "f690430f4d4cc403b5c90d0f0b21842183b56b732fff96cfe6555fe73189906a",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.0.1/rules_nodejs-5.0.1.tar.gz"],
)
load("@build_bazel_rules_nodejs//:repositories.bzl", "build_bazel_rules_nodejs_dependencies")
build_bazel_rules_nodejs_dependencies()
for Core package
http_archive(
name = "rules_nodejs",
sha256 = "4537c08222a171bf9d7f96bab7da04daa986ca1386c035daf8a54fbeeb6abdf2",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.0.1/rules_nodejs-core-5.0.1.tar.gz"],
)
Then update @bazel
-scoped npm packages.
What's Changed
- Update esbuild versions by @mattem in #3271
- fix(create): add missing workspace dependency call by @alexeagle in #3272
- Update esbuild versions by @mattem in #3275
- refactor: bbrnj re-exports rules_nodejs providers by @alexeagle in #3274
- refactor: promote directory_file_path to public API by @alexeagle in #3276
- fix(builtin): prevent usage with InputArtifact directories by @alexeagle in #3278
Full Changelog: 5.0.0...5.0.1