v0.6.0-alpha.0
Pre-release
Pre-release
github-actions
released this
18 May 16:40
·
7 commits
to main
since this release
Important
rules_js maintainers are working towards a rules_js 2.0 RC release. Breakings changes in the underlying provider API require that all downstream rulesets have major releases such as this one. We don't recommended upgrading to this alpha release. For more information on the rules_js 2.0 release see the tracking issue aspect-build/rules_js#1671.
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_cypress",
sha256 = "0f309cf66ac655a62ffdada50398a4a3edf4afbaa47874f0edeca6a699a84089",
strip_prefix = "rules_cypress-0.6.0-alpha.0",
url = "https://github.com/aspect-build/rules_cypress/releases/download/v0.6.0-alpha.0/rules_cypress-v0.6.0-alpha.0.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
Full Changelog: v0.5.0...v0.6.0-alpha.0