v0.16.2
Pre-release
Pre-release
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_jest",
sha256 = "2f62b6356afd2b04a2bd6298e19aaf031b001f79af42c7081b9001d71a9d9602",
strip_prefix = "rules_jest-0.16.2",
url = "https://github.com/aspect-build/rules_jest/releases/download/v0.16.2/rules_jest-v0.16.2.tar.gz",
)
####################
# rules_jest setup #
####################
# Fetches the 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()
# Fetches the npm packages for jest-cli.
load("@aspect_rules_jest//jest:repositories.bzl", "jest_repositories")
jest_repositories(name = "jest")
load("@jest//:npm_repositories.bzl", jest_npm_repositories = "npm_repositories")
jest_npm_repositories()
# Register a nodejs toolchain, if you haven't already done so.
load("@rules_nodejs//nodejs:repositories.bzl", "DEFAULT_NODE_VERSION", "nodejs_register_toolchains")
nodejs_register_toolchains(
name = "nodejs",
node_version = DEFAULT_NODE_VERSION,
)
What's Changed
- chore: update snapshots hint by @gregmagolan in #104
- chore: update to aspect_bazel_lib 1.27.2 by @gregmagolan in #106
- chore: update to Aspect CLI 5.2.0-rc0 by @gregmagolan in #108
- chore: update to Aspect CLI 5.2.1 by @gregmagolan in #109
- fix: timeout/size shouldn't be passed to js_binary by @alexeagle in #110
- fix: remove other attributes that don't belong on js_binary by @alexeagle in #111
- chore: update dependencies by @gregmagolan in #112
- fix: also pass data to js_binary tool for jest snapshot updates by @gregmagolan in #114
- fix: env is valid for js_test, js_binary and js_run_binary by @gregmagolan in #115
- test: add test case for #114 by @gregmagolan in #116
Full Changelog: v0.16.1...v0.16.2