v0.18.0
Pre-release
Pre-release
WORKSPACE
users that are pinning aspect_rules_js
, this bumps the minimum rules_js version required for rules_jest compatibility to v1.24.0. WORKSPACE
users that get rules_js transitively from rules_jest_dependencies
are not affected. bzlmod users are also not affected since bzlmod ensure the minimum version of rules_js that rules_jest requires is used.
WORKSPACE snippet
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_jest",
sha256 = "e8b2714a27fbafed778c6a53e4294c8cf9ba9ffeca8d81ad76c7981a5f861f70",
strip_prefix = "rules_jest-0.18.0",
url = "https://github.com/aspect-build/rules_jest/releases/download/v0.18.0/rules_jest-v0.18.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: fix typo in docstring by @gregmagolan in #118
- chore: bzlmod by @alexeagle in #113
- perf: use rules_js Bazel 6 optimized fs patches if using Bazel 6 and experimental_allow_unresolved_symlinks is on by @gregmagolan in #119
Full Changelog: v0.17.0...v0.18.0