Releases: bazel-contrib/rules_nodejs
5.5.0
Upgrade with:
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "0fad45a9bda7dc1990c47b002fd64f55041ea751fafc00cd34efb96107675778",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.5.0/rules_nodejs-5.5.0.tar.gz"],
)
# OR for the core module
http_archive(
name = "rules_nodejs",
sha256 = "4d48998e3fa1e03c684e6bdf7ac98051232c7486bfa412e5b5475bbaec7bb257",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.5.0/rules_nodejs-core-5.5.0.tar.gz"],
)
and upgrade @bazel
-scoped npm packages to latest
.
What's Changed
- chore: include node.js 18 which is now LTS by @alexeagle in #3432
- Fix TsConfigInfo to use depset and deduplicate files (#3430) by @Andrius-B in #3431
- chore: update dependency com_github_google_go_cmp to v0.5.8 by @renovate-bot in #3427
- fix(concatjs): adding devmode to BazelOpts by @soldair in #3433
- feat: expose @nodejs_host//:bin/node without using alias by @alexeagle in #3434
- chore: Set permissions for GitHub actions by @naveensrinivasan in #3437
- run fasterci on pull requests by @apesternikov in #3436
- feat(rollup): support esm configurations to be provided by @devversion in #3435
- fix: set correct linking location for yarn_install using package.json from external repository by @gregmagolan in #3442
- fix(typescript): correctly process diagnostics in worker mode by @thesayyn in #3441
- fix(examples): fix architect example on m1 by @kormide in #3447
- fix(docs): stray text in npm_install docs by @jfirebaugh in #3450
- Update esbuild versions by @mattem in #3451
- Update NodeJS Versions by @mattem in #3443
- cleanup by @apesternikov in #3454
- feat(builtin): expand make vars in nodejs_binary/test env attr by @kormide in #3456
New Contributors
- @Andrius-B made their first contribution in #3431
- @naveensrinivasan made their first contribution in #3437
Full Changelog: 5.4.1...5.5.0
5.4.2
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "e328cb2c9401be495fa7d79c306f5ee3040e8a03b2ebb79b022e15ca03770096",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.4.2/rules_nodejs-5.4.2.tar.gz"],
)
# or for core module
http_archive(
name = "rules_nodejs",
sha256 = "26766278d815a6e2c43d2f6c9c72fde3fec8729e84138ffa4dabee47edc7702a",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.4.2/rules_nodejs-core-5.4.2.tar.gz"],
)
What's Changed
- chore: include node.js 18 which is now LTS by @alexeagle in #3432
- Fix TsConfigInfo to use depset and deduplicate files (#3430) by @Andrius-B in #3431
- chore: update dependency com_github_google_go_cmp to v0.5.8 by @renovate-bot in #3427
- fix(concatjs): adding devmode to BazelOpts by @soldair in #3433
New Contributors
- @Andrius-B made their first contribution in #3431
Full Changelog: 5.4.1...5.4.2
5.4.1
Upgrade:
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "280cefd3649b9648fdc444e9d6ed17c949152ff28d7e23638390ae8b93941d60",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.4.1/rules_nodejs-5.4.1.tar.gz"],
)
# Or for "core" module
http_archive(
name = "rules_nodejs",
sha256 = "2f8e1d44d7fc0aa34c499e0b284f257552f42a1e403ee41cedbed5e40434d9b9",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.4.1/rules_nodejs-core-5.4.1.tar.gz"],
)
and upgrade @bazel
-scoped npm packages.
What's Changed
- Update NodeJS Versions by @mattem in #3391
- Add FasterCI to adopters by @apesternikov in #3397
- fix(jasmine): allow cjs specs + add cjs/mjs tests in jasmine_node_test by @jstuder-gh in #3401
- Add more info on custom toolchains by @mari-crl in #3396
- Allow including rules_nodejs without npm by @sashamor in #3407
- fix(builtin): fix a bug where mjs entry points were not added to runfiles by @kormide in #3406
- Update NodeJS Versions by @mattem in #3398
- Update esbuild versions by @mattem in #3395
- Don't remote-cache npm directory copies by @alexeagle in #3410
- docs: add hyperlinks and escape
<>
by @kyliau in #3411 - FasterCI build by @apesternikov in #3412
- fix(builtin): improve execution requirements for copy file operations by @mistic in #3413
- Turn some URLs into links by @tetsuok in #3415
- test: demonstrate a native package in docker by @alexeagle in #3404
- fix: enable stardoc generation for rules that depend on ts in core by @alexeagle in #3394
- fix(concatjs): resolve error with TypeScript 4.7 by @crisbeto in #3420
- chore: update dependency com_github_kylelemons_godebug to v1 by @renovate-bot in #3426
- chore: update dependency com_github_mattn_go_isatty to v0.0.14 by @renovate-bot in #3425
- Update esbuild versions by @mattem in #3419
New Contributors
- @apesternikov made their first contribution in #3397
- @mari-crl made their first contribution in #3396
- @sashamor made their first contribution in #3407
- @tetsuok made their first contribution in #3415
- @crisbeto made their first contribution in #3420
Full Changelog: 5.4.0...5.4.1
4.7.1
This release doesn't include any npm packages, as they are identical to a previous release.
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "c911b5bd8aee8b0498cc387cacdb5f917098ce477fb4182db07b0ef8a9e045c0",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/4.7.1/rules_nodejs-4.7.1.tar.gz"],
)
# OR
http_archive(
name = "rules_nodejs",
sha256 = "2b66bad65cb67a10413be4e3e1660eae580758ea18ac42d46372391dbb4d003c",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/4.7.1/rules_nodejs-core-4.7.1.tar.gz"],
)
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