Releases: aspect-build/rules_jest
v0.22.0
Using Bzlmod with Bazel 6 or greater
- (Bazel 6 only) Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_rules_jest", version = "0.22.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 = "aspect_rules_jest",
sha256 = "7fc6798dc566f8ec83867f636739716d81097bd3cead9c0fedb098c58fae6567",
strip_prefix = "rules_jest-0.22.0",
url = "https://github.com/aspect-build/rules_jest/releases/download/v0.22.0/rules_jest-v0.22.0.tar.gz",
)
####################
# aspect_rules_jest setup #
####################
# Fetches the aspect_rules_jest dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@aspect_rules_jest//jest:dependencies.bzl", "rules_jest_dependencies")
rules_jest_dependencies()
load("@aspect_rules_js//js:toolchains.bzl", "DEFAULT_NODE_VERSION", "rules_js_register_toolchains")
rules_js_register_toolchains(node_version = DEFAULT_NODE_VERSION)
load("@aspect_rules_js//npm:repositories.bzl", "npm_translate_lock")
npm_translate_lock(
name = "npm",
npmrc = "//:.npmrc",
pnpm_lock = "//:pnpm-lock.yaml",
verify_node_modules_ignored = "//:.bazelignore",
)
load("@npm//:repositories.bzl", "npm_repositories")
npm_repositories()
What's Changed
- chore: bump to GHA actions/cache@v4 by @gregmagolan in #282
- feat: upgrade to rules_js 2.0 by @gregmagolan in #269
- chore: bump rules_swc in e2e/swc to 2.0.0-rc0 by @gregmagolan in #283
- chore: bump miminum dep to aspect_bazel_lib 2.7.6 by @gregmagolan in #284
- chore: bump to rules_js 2.0.0-rc1 and minimum aspect_bazel_lib 2.7.7 by @gregmagolan in #285
- chore: add --check_direct_dependencies to .bazelrc by @gregmagolan in #286
- chore: bump minimum rules_nodejs to 6.2.0 by @gregmagolan in #287
- build: upgrade to rules_js v2 by @jbedard in #290
Full Changelog: v0.21.0...v0.22.0
v0.22.0-rc0
Important
This release requires requires rules_js 2.x. It is not compatible with rules_js 1.x. rules_js 2 is currently in RC: https://github.com/aspect-build/rules_js/releases/tag/v2.0.0-rc0
Using Bzlmod with Bazel 6 or greater
- (Bazel 6 only) Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_rules_jest", version = "0.22.0-rc0")
Using WORKSPACE
Paste this snippet into your WORKSPACE.bazel
file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_jest",
sha256 = "af34029aaf1700079a287afe1e084a154027ba2227502b383d8200ce6987bccc",
strip_prefix = "rules_jest-0.22.0-rc0",
url = "https://github.com/aspect-build/rules_jest/releases/download/v0.22.0-rc0/rules_jest-v0.22.0-rc0.tar.gz",
)
####################
# aspect_rules_jest setup #
####################
# Fetches the aspect_rules_jest dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@aspect_rules_jest//jest:dependencies.bzl", "rules_jest_dependencies")
rules_jest_dependencies()
load("@aspect_rules_js//js:toolchains.bzl", "DEFAULT_NODE_VERSION", "rules_js_register_toolchains")
rules_js_register_toolchains(node_version = DEFAULT_NODE_VERSION)
load("@aspect_rules_js//npm:repositories.bzl", "npm_translate_lock")
npm_translate_lock(
name = "npm",
npmrc = "//:.npmrc",
pnpm_lock = "//:pnpm-lock.yaml",
verify_node_modules_ignored = "//:.bazelignore",
)
load("@npm//:repositories.bzl", "npm_repositories")
npm_repositories()
What's Changed
- chore: bump to GHA actions/cache@v4 by @gregmagolan in #282
- feat: upgrade to rules_js 2.0 by @gregmagolan in #269
- chore: bump rules_swc in e2e/swc to 2.0.0-rc0 by @gregmagolan in #283
Full Changelog: v0.21.0...v0.22.0-rc0
v0.22.0-alpha.0
Important
rules_js maintainers are working towards a rules_js 2.0 RC release. Breakings changes in the underlying provider API require that all downstream rulesets have major releases such as this one. We don't recommended upgrading to this alpha release. For more information on the rules_js 2.0 release see the tracking issue aspect-build/rules_js#1671.
Using Bzlmod with Bazel 6 or greater
- (Bazel 6 only) Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_rules_jest", version = "0.22.0-alpha.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 = "aspect_rules_jest",
sha256 = "70cbb341e8ff013ab60143e69b5f3b3c50636495c54b9a66f4bd0b6c6a7e6ed1",
strip_prefix = "rules_jest-0.22.0-alpha.0",
url = "https://github.com/aspect-build/rules_jest/releases/download/v0.22.0-alpha.0/rules_jest-v0.22.0-alpha.0.tar.gz",
)
####################
# aspect_rules_jest setup #
####################
# Fetches the aspect_rules_jest dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@aspect_rules_jest//jest:dependencies.bzl", "rules_jest_dependencies")
rules_jest_dependencies()
load("@aspect_rules_js//js:toolchains.bzl", "DEFAULT_NODE_VERSION", "rules_js_register_toolchains")
rules_js_register_toolchains(node_version = DEFAULT_NODE_VERSION)
load("@aspect_rules_js//npm:repositories.bzl", "npm_translate_lock")
npm_translate_lock(
name = "npm",
npmrc = "//:.npmrc",
pnpm_lock = "//:pnpm-lock.yaml",
verify_node_modules_ignored = "//:.bazelignore",
)
load("@npm//:repositories.bzl", "npm_repositories")
npm_repositories()
Full Changelog: v0.21.0...v0.22.0-alpha.0
v0.21.0
Using Bzlmod with Bazel 6 or greater
- (Bazel 6 only) Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_rules_jest", version = "0.21.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 = "aspect_rules_jest",
sha256 = "ac072ee1962743259660c46616d812882c65a99c2b6fba415fb457fe99fddc5a",
strip_prefix = "rules_jest-0.21.0",
url = "https://github.com/aspect-build/rules_jest/releases/download/v0.21.0/rules_jest-v0.21.0.tar.gz",
)
####################
# aspect_rules_jest setup #
####################
# Fetches the aspect_rules_jest dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@aspect_rules_jest//jest:dependencies.bzl", "rules_jest_dependencies")
rules_jest_dependencies()
load("@rules_nodejs//nodejs:repositories.bzl", "DEFAULT_NODE_VERSION", "nodejs_register_toolchains")
nodejs_register_toolchains(
name = "nodejs",
node_version = DEFAULT_NODE_VERSION,
)
load("@aspect_rules_js//npm:npm_import.bzl", "npm_translate_lock")
npm_translate_lock(
name = "npm",
npmrc = "//:.npmrc",
pnpm_lock = "//:pnpm-lock.yaml",
verify_node_modules_ignored = "//:.bazelignore",
)
load("@npm//:repositories.bzl", "npm_repositories")
npm_repositories()
What's Changed
- chore: BCR testing on Bazel 6 and 7 by @alexeagle in #233
- chore: green up //jest/tests/fixed_args:fixed_args_test on CI by @gregmagolan in #234
- chore: remove gofmt by @alexeagle in #240
- chore: fix GHA concurrency check to not apply to main branch by @gregmagolan in #249
- snapshots: only create
*_update_snapshots
target upon request by @vpanta in #246 - docs: bzlmod install instructions by @alexeagle in #256
- test: remove unnecessary aspect_bazel_lib dep in e2e/smoke by @jbedard in #260
- test: add e2e test example using rules_swc by @jbedard in #261
- docs: adding troubleshooting.md for common challenges by @jbedard in #262
- feat(env_inherit): add ability to pass env variables from system by @KatSick in #204
- docs: add troubleshooting note about ts-jest/node by @jbedard in #263
- docs: merge troubleshooting docs by @jbedard in #264
- readme: fix broken link by @mattnworb in #265
- chore: enable workflows github annotations by @kormide in #266
- chore: track bazel server memory usage after test task by @gregmagolan in #271
- chore: bump to Bazel 7 by @gregmagolan in #273
- chore: bump to buildifier 6.4.0 by @gregmagolan in #274
- chore: bump to latest stardoc by @gregmagolan in #275
- fix: refactor case10 and case10a tests so they don't have duplicate outputs by @gregmagolan in #276
- chore: don't cancel concurrent main builds by @gregmagolan in #277
- chore: misc cleanup by @gregmagolan in #279
- ci: add missing --bazelrc flag to include ci.bazelrc in bazel test call by @gregmagolan in #278
- chore: add Aspect bazelrc presets and align ci patterns by @gregmagolan in #280
- Merge haste configs if they are available by @colinta in #281
New Contributors
- @vpanta made their first contribution in #246
- @KatSick made their first contribution in #204
- @mattnworb made their first contribution in #265
- @colinta made their first contribution in #281
Full Changelog: v0.20.0...v0.21.0
v0.21.0-alpha.0
Important
rules_js maintainers are working towards a rules_js 2.0 RC release. Breakings changes in the underlying provider API require that all downstream rulesets have major releases such as this one. We don't recommended upgrading to this alpha release. For more information on the rules_js 2.0 release see the tracking issue aspect-build/rules_js#1671.
Using Bzlmod with Bazel 6 or greater
- (Bazel 6 only) Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_rules_jest", version = "0.21.0-alpha.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 = "aspect_rules_jest",
sha256 = "9f8a89933e20ba710809bd6f73ad17bae26f806b01d9876669b62f2e466b52cd",
strip_prefix = "rules_jest-0.21.0-alpha.0",
url = "https://github.com/aspect-build/rules_jest/releases/download/v0.21.0-alpha.0/rules_jest-v0.21.0-alpha.0.tar.gz",
)
####################
# aspect_rules_jest setup #
####################
# Fetches the aspect_rules_jest dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@aspect_rules_jest//jest:dependencies.bzl", "rules_jest_dependencies")
rules_jest_dependencies()
load("@aspect_rules_js//js:toolchains.bzl", "DEFAULT_NODE_VERSION", "rules_js_register_toolchains")
rules_js_register_toolchains(node_version = DEFAULT_NODE_VERSION)
load("@aspect_rules_js//npm:repositories.bzl", "npm_translate_lock")
npm_translate_lock(
name = "npm",
npmrc = "//:.npmrc",
pnpm_lock = "//:pnpm-lock.yaml",
verify_node_modules_ignored = "//:.bazelignore",
)
load("@npm//:repositories.bzl", "npm_repositories")
npm_repositories()
What's Changed
- chore: BCR testing on Bazel 6 and 7 by @alexeagle in #233
- chore: green up //jest/tests/fixed_args:fixed_args_test on CI by @gregmagolan in #234
- chore: upgrade to Aspect Workflows 5.9.0 by @gregmagolan in #235
- chore: upgrade to Aspect Workflows 5.9.1 by @gregmagolan in #236
- chore: upgrade to Aspect Workflows 5.9.2 by @gregmagolan in #237
- chore: add example of using Aspect Workflows task hooks by @gregmagolan in #238
- chore: remove gofmt by @alexeagle in #240
- chore: upgrade to Aspect Workflows 5.9.4 by @gregmagolan in #241
- chore: upgrade to Aspect Workflows 5.9.5 by @gregmagolan in #242
- chore: update always_delivery to auto_delivery by @gregmagolan in #243
- chore: upgrade to Aspect Worklfows 5.9.9 by @gregmagolan in #244
- chore: set reaper_sleep_minutes on reaper lambda to reduce Buildkite API calls by @gregmagolan in #245
- chore: upgrade to Aspect Workflows 5.9.10 by @gregmagolan in #247
- chore: upgrade to Aspect Workflows 5.9.11 by @gregmagolan in #248
- chore: fix GHA concurrency check to not apply to main branch by @gregmagolan in #249
- chore: upgrade to Aspect Workflows 5.9.14 by @gregmagolan in #250
- chore: upgrade to Aspect Workflows 5.9.15 by @gregmagolan in #251
- snapshots: only create
*_update_snapshots
target upon request by @vpanta in #246 - chore: upgrade to Aspect Workflows 5.9.16 by @gregmagolan in #252
- chore: add vmstat hooks example by @gregmagolan in #253
- chore: upgrade to Aspect Workflows 5.9.18 by @gregmagolan in #254
- chore: upgrade to Aspect Workflows 5.9.20 by @gregmagolan in #255
- docs: bzlmod install instructions by @alexeagle in #256
- chore: upgrade to Aspect Workflows 5.9.22 by @gregmagolan in #257
- chore: switch to new Aspect Workflows OSS staging deployment by @gregmagolan in #258
- chore: reduce vmstat reporting delay to 1 second by @gregmagolan in #259
- test: remove unnecessary aspect_bazel_lib dep in e2e/smoke by @jbedard in #260
- test: add e2e test example using rules_swc by @jbedard in #261
- docs: adding troubleshooting.md for common challenges by @jbedard in #262
- feat(env_inherit): add ability to pass env variables from system by @KatSick in #204
- docs: add troubleshooting note about ts-jest/node by @jbedard in #263
- docs: merge troubleshooting docs by @jbedard in #264
- readme: fix broken link by @mattnworb in #265
- chore: enable workflows github annotations by @kormide in #266
- chore: track bazel server memory usage after test task by @gregmagolan in #271
- chore: bump to Bazel 7 by @gregmagolan in #273
- chore: bump to buildifier 6.4.0 by @gregmagolan in #274
- chore: bump to latest stardoc by @gregmagolan in #275
- fix: refactor case10 and case10a tests so they don't have duplicate outputs by @gregmagolan in #276
- chore: don't cancel concurrent main builds by @gregmagolan in #277
- chore: misc cleanup by @gregmagolan in #279
- ci: add missing --bazelrc flag to include ci.bazelrc in bazel test call by @gregmagolan in #278
New Contributors
- @vpanta made their first contribution in #246
- @KatSick made their first contribution in #204
- @mattnworb made their first contribution in #265
Full Changelog: v0.20.0...v0.21.0-alpha.0
v0.20.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_jest",
sha256 = "49c688e3838c855a9acf3b77bc25cfb18bdd70b03ff0810fbfd6353dd6055feb",
strip_prefix = "rules_jest-0.20.0",
url = "https://github.com/aspect-build/rules_jest/releases/download/v0.20.0/rules_jest-v0.20.0.tar.gz",
)
####################
# aspect_rules_jest setup #
####################
# Fetches the aspect_rules_jest dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@aspect_rules_jest//jest:dependencies.bzl", "rules_jest_dependencies")
rules_jest_dependencies()
load("@rules_nodejs//nodejs:repositories.bzl", "DEFAULT_NODE_VERSION", "nodejs_register_toolchains")
nodejs_register_toolchains(
name = "nodejs",
node_version = DEFAULT_NODE_VERSION,
)
load("@aspect_rules_js//npm:npm_import.bzl", "npm_translate_lock")
npm_translate_lock(
name = "npm",
npmrc = "//:.npmrc",
pnpm_lock = "//:pnpm-lock.yaml",
verify_node_modules_ignored = "//:.bazelignore",
)
load("@npm//:repositories.bzl", "npm_repositories")
npm_repositories()
What's Changed
- chore: update bcr maintainer list by @kormide in #194
- chore: upgrade to Aspect Workflows 5.8.15 by @gregmagolan in #202
- chore: bring in aspect_rules_lint and add format task to Aspect Workflows by @gregmagolan in #207
- chore: upgrade to buildifier pre-build 6.3.3 by @gregmagolan in #208
- chore: bazel run //:format by @gregmagolan in #209
- chore: run Aspect Workflows setup step on small instances by @gregmagolan in #211
- chore: use ARM instances for small runner group by @gregmagolan in #213
- chore: enable workflows delivery on demostration target by @gregmagolan in #214
- chore: switch to smaller 'small' instances without nvme drives by @gregmagolan in #217
- chore: update Workflows Buildkite canonical pipeline examples by @gregmagolan in #219
- chore: add managed grafana to Aspect Workflows deployment by @gregmagolan in #223
- chore: reduce size of remote cache to tune deployment costs by @gregmagolan in #225
- chore: enable workflows updates in code review thread by @alexeagle in #226
- chore: add external remote cache for local development by @gregmagolan in #232
- feat: default cacheDirectory to TEST_TMPDIR by @sallustfire in #231
New Contributors
- @sallustfire made their first contribution in #231
Full Changelog: v0.19.6...v0.20.0
v0.19.6
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_jest",
sha256 = "cae44cf7862b71f30c2ba6df6473bc8021c7a6c92c7d1771a58ebf5c99eb5776",
strip_prefix = "rules_jest-0.19.6",
url = "https://github.com/aspect-build/rules_jest/releases/download/v0.19.6/rules_jest-v0.19.6.tar.gz",
)
####################
# aspect_rules_jest setup #
####################
# Fetches the aspect_rules_jest dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@aspect_rules_jest//jest:dependencies.bzl", "rules_jest_dependencies")
rules_jest_dependencies()
load("@rules_nodejs//nodejs:repositories.bzl", "DEFAULT_NODE_VERSION", "nodejs_register_toolchains")
nodejs_register_toolchains(
name = "nodejs",
node_version = DEFAULT_NODE_VERSION,
)
load("@aspect_rules_js//npm:npm_import.bzl", "npm_translate_lock")
npm_translate_lock(
name = "npm",
npmrc = "//:.npmrc",
pnpm_lock = "//:pnpm-lock.yaml",
verify_node_modules_ignored = "//:.bazelignore",
)
load("@npm//:repositories.bzl", "npm_repositories")
npm_repositories()
What's Changed
- chore: update README so it slurps to docs.aspect.build by @alexeagle in #153
- chore: add Aspect Workflows CI (on AWS + Buildkite) by @gregmagolan in #154
- chore: fix warming queue name in Aspect Workflows terraform by @gregmagolan in #156
- chore: update to Aspect Workflows 5.7.0 by @gregmagolan in #159
- docs: add troubleshooting guide by @jbedard in #160
- chore: update to Aspect Workflows 5.7.5 by @gregmagolan in #163
- chore: increase size, shards & replicates of the Aspect Workflows remote cache by @gregmagolan in #166
- chore: enable Aspect Workflows k8s observability by @gregmagolan in #169
- chore: set --remote_download_minimal and --nobuild_runfile_links for all Workflows tasks by @gregmagolan in #172
- chore: bump remote cache to 384 gb by @gregmagolan in #174
- chore: enable coverage on Workflows by @gregmagolan in #175
- chore: update to Aspect CLI 5.7.2 by @gregmagolan in #178
- chore: set Workflows flags in .aspect/workflows/terraform/.bazelrc file by @gregmagolan in #179
- chore: add gazelle task to Aspect Workflows config by @gregmagolan in #180
- chore: upgrade to Aspect Workflows 5.8.2 by @gregmagolan in #187
- Add quotes around config path by @pwalker in #152
New Contributors
Full Changelog: v0.19.5...v0.19.6
v0.19.5
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_jest",
sha256 = "098186ffc450f2a604843d8ba14217088a0e259ea6a03294af5360a7f1bcd3e8",
strip_prefix = "rules_jest-0.19.5",
url = "https://github.com/aspect-build/rules_jest/releases/download/v0.19.5/rules_jest-v0.19.5.tar.gz",
)
####################
# aspect_rules_jest setup #
####################
# Fetches the aspect_rules_jest dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@aspect_rules_jest//jest:dependencies.bzl", "rules_jest_dependencies")
rules_jest_dependencies()
load("@rules_nodejs//nodejs:repositories.bzl", "DEFAULT_NODE_VERSION", "nodejs_register_toolchains")
nodejs_register_toolchains(
name = "nodejs",
node_version = DEFAULT_NODE_VERSION,
)
load("@aspect_rules_js//npm:npm_import.bzl", "npm_translate_lock")
npm_translate_lock(
name = "npm",
npmrc = "//:.npmrc",
pnpm_lock = "//:pnpm-lock.yaml",
verify_node_modules_ignored = "//:.bazelignore",
)
load("@npm//:repositories.bzl", "npm_repositories")
npm_repositories()
What's Changed
- fix: fixup windows test target filter to use target_compatible_with so it applies on BCR presumbit by @gregmagolan in #149
- chore: bump CI workflows template to v3 which has the exclude attribute by @gregmagolan in #150
Full Changelog: v0.19.4...v0.19.5
v0.19.4
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_jest",
sha256 = "b6566496542b21c35fb0047efbbe1f50b7c806d24702a217a71bb0565d5c6987",
strip_prefix = "rules_jest-0.19.4",
url = "https://github.com/aspect-build/rules_jest/releases/download/v0.19.4/rules_jest-v0.19.4.tar.gz",
)
####################
# aspect_rules_jest setup #
####################
# Fetches the aspect_rules_jest dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@aspect_rules_jest//jest:dependencies.bzl", "rules_jest_dependencies")
rules_jest_dependencies()
load("@rules_nodejs//nodejs:repositories.bzl", "DEFAULT_NODE_VERSION", "nodejs_register_toolchains")
nodejs_register_toolchains(
name = "nodejs",
node_version = DEFAULT_NODE_VERSION,
)
load("@aspect_rules_js//npm:npm_import.bzl", "npm_translate_lock")
npm_translate_lock(
name = "npm",
npmrc = "//:.npmrc",
pnpm_lock = "//:pnpm-lock.yaml",
verify_node_modules_ignored = "//:.bazelignore",
)
load("@npm//:repositories.bzl", "npm_repositories")
npm_repositories()
What's Changed
- fix: windows file URL issue by @gregmagolan in #148
Full Changelog: v0.19.3...v0.19.4
v0.19.3
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_jest",
sha256 = "fe85325ccf15ed1bd77fd1c5156dfee19999c1581e865a20b044eaf5b6429d62",
strip_prefix = "rules_jest-0.19.3",
url = "https://github.com/aspect-build/rules_jest/releases/download/v0.19.3/rules_jest-v0.19.3.tar.gz",
)
####################
# aspect_rules_jest setup #
####################
# Fetches the aspect_rules_jest dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@aspect_rules_jest//jest:dependencies.bzl", "rules_jest_dependencies")
rules_jest_dependencies()
load("@rules_nodejs//nodejs:repositories.bzl", "DEFAULT_NODE_VERSION", "nodejs_register_toolchains")
nodejs_register_toolchains(
name = "nodejs",
node_version = DEFAULT_NODE_VERSION,
)
load("@aspect_rules_js//npm:npm_import.bzl", "npm_translate_lock")
npm_translate_lock(
name = "npm",
npmrc = "//:.npmrc",
pnpm_lock = "//:pnpm-lock.yaml",
verify_node_modules_ignored = "//:.bazelignore",
)
load("@npm//:repositories.bzl", "npm_repositories")
npm_repositories()
What's Changed
- test: add jest_test(config) target tests by @jbedard in #139
- ci: enable buildifier check on ci by @jbedard in #140
- chore: disable buildifier on windows by @jbedard in #141
- chore: bump rules_js dep to 1.29.2 to pickup Windows fix by @gregmagolan in #143
Full Changelog: v0.19.2...v0.19.3