WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_cypress",
sha256 = "050cddf7cb7c9e8a7fcd9434517dad69353b21782d91bc444129ec1f7d44e863",
strip_prefix = "rules_cypress-0.7.2",
url = "https://github.com/aspect-build/rules_cypress/releases/download/v0.7.2/rules_cypress-v0.7.2.tar.gz",
)
######################
# rules_cypress setup #
######################
# Fetches the rules_cypress 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_cypress//cypress:dependencies.bzl", "rules_cypress_dependencies")
rules_cypress_dependencies()
load("@aspect_rules_cypress//cypress:repositories.bzl", "cypress_register_toolchains")
cypress_register_toolchains(
name = "cypress",
cypress_version = "13.6.6",
)
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",
lifecycle_hooks_exclude = [
# Speed up installation by disabling cypress binary install. Optional.
"cypress",
],
npmrc = "//:.npmrc",
pnpm_lock = "//:pnpm-lock.yaml",
verify_node_modules_ignored = "//:.bazelignore",
)
load("@npm//:repositories.bzl", "npm_repositories")
npm_repositories()
What's Changed
- chore: publish attestations to BCR by @alexeagle in #101
- chore: Add few more versions of cypress by @ewianda in #102
- chore: add new version 14.5.2 by @udaya2899 in #103
- Don't mutate the potentially frozen
tags
list whendisable_sandbox
isTrue
. by @walkerburgin in #100
New Contributors
- @ewianda made their first contribution in #102
- @udaya2899 made their first contribution in #103
- @walkerburgin made their first contribution in #100
Full Changelog: v0.7.0...v0.7.2