v0.22.0
Pre-release
Pre-release
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