Repository navigation
v0.24.3
Using Bzlmod with Bazel 6 or greater
- (Bazel 6 only) Enable with
common --enable_bzlmodin.bazelrc. - Add to your
MODULE.bazelfile:
bazel_dep(name = "aspect_rules_jest", version = "0.24.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 = "aspect_rules_jest",
sha256 = "83157c56ecb339f81b93a95a7600d398dcbf7e2273e2a0c9c7a607aeebc7de09",
strip_prefix = "rules_jest-0.24.3",
url = "https://github.com/aspect-build/rules_jest/releases/download/v0.24.3/rules_jest-v0.24.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("@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
- docs: fix link to SWC test in troubleshooting document by @hofbi in #326
- fix: wrap labels in macros with Label() by @jbedard in #327
New Contributors
Full Changelog: v0.24.2...v0.24.3