Releases: aspect-build/rules_cypress
v0.7.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_cypress",
sha256 = "cedfbe4e8ea71c88aed6d6fd44b50895d68051502b199de72c6bd3815aa1d543",
strip_prefix = "rules_cypress-0.7.0",
url = "https://github.com/aspect-build/rules_cypress/releases/download/v0.7.0/rules_cypress-v0.7.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
New Contributors
Full Changelog: v0.6.0...v0.7.0
v0.6.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_cypress",
sha256 = "598b3cbab64c8d44a603dde055687c19cc4de76fbbb631871f0c97e5f472876a",
strip_prefix = "rules_cypress-0.6.0",
url = "https://github.com/aspect-build/rules_cypress/releases/download/v0.6.0/rules_cypress-v0.6.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
- chore: Integrate rules_lint and format files by @mrmeku in #78
- feat: upgrade to rules_js 2.0 by @gregmagolan in #68
- chore: bump miminum dep to aspect_bazel_lib 2.7.6 by @gregmagolan in #85
- chore: bump to rules_js 2.0.0-rc1 and minimum aspect_bazel_lib 2.7.7 by @gregmagolan in #86
- chore: add --check_direct_dependencies to .bazelrc by @gregmagolan in #87
- chore: bump minimum rules_nodejs to 6.2.0 by @gregmagolan in #88
- chore: green up BCR presumbit CI by @gregmagolan in #89
- chore: upgrade to rules_js v2 by @jbedard in #90
Full Changelog: v0.5.0...v0.6.0
v0.6.0-rc1
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_cypress",
sha256 = "bff4c4f132440856fb48080206af2e2f8a3c0d4cfd65bf8e656c03394969e856",
strip_prefix = "rules_cypress-0.6.0-rc1",
url = "https://github.com/aspect-build/rules_cypress/releases/download/v0.6.0-rc1/rules_cypress-v0.6.0-rc1.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: bump miminum dep to aspect_bazel_lib 2.7.6 by @gregmagolan in #85
- chore: bump to rules_js 2.0.0-rc1 and minimum aspect_bazel_lib 2.7.7 by @gregmagolan in #86
- chore: add --check_direct_dependencies to .bazelrc by @gregmagolan in #87
- chore: bump minimum rules_nodejs to 6.2.0 by @gregmagolan in #88
Full Changelog: v0.6.0-rc0...v0.6.0-rc1
v0.6.0-rc0
Important
This release requires requires rules_js 2.x. It is not compatible with rules_js 1.x. rules_js 2 is currently in RC: https://github.com/aspect-build/rules_js/releases/tag/v2.0.0-rc0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_cypress",
sha256 = "b4a811bd5d89a060856610626b7cb8ffd3bdf2bdb6d6c2b6c44203488c2c636e",
strip_prefix = "rules_cypress-0.6.0-rc0",
url = "https://github.com/aspect-build/rules_cypress/releases/download/v0.6.0-rc0/rules_cypress-v0.6.0-rc0.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: Integrate rules_lint and format files by @mrmeku in #78
- feat: upgrade to rules_js 2.0 by @gregmagolan in #68
Full Changelog: v0.5.0...v0.6.0-rc0
v0.6.0-alpha.0
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
v0.5.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_cypress",
sha256 = "bca909724a07bd52c9c0b01b461e1df019c3af28aecfd98de924c1d7c358166e",
strip_prefix = "rules_cypress-0.5.0",
url = "https://github.com/aspect-build/rules_cypress/releases/download/v0.5.0/rules_cypress-v0.5.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:repositories.bzl", "rules_js_dependencies")
rules_js_dependencies()
load("@bazel_features//:deps.bzl", "bazel_features_deps")
bazel_features_deps()
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",
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: tidy repo by @gregmagolan in #70
- chore: add BCR metadata by @gregmagolan in #71
- chore: add missing cypress versions from 10.0.0 to 13.6.6 by @gregmagolan in #75
- fix: Disable sandboxing for cypress_test rules by @mrmeku in #66
- chore: don't cancel concurrent main builds by @gregmagolan in #79
- chore: various cleanups by @mrmeku in #76
- fix: node toolchain should be a dev dependency in MODULE.bazel by @gregmagolan in #83
- chore: bump to GitHub Action actions/cache@v4 by @gregmagolan in #81
- refactor: don't default chdir to package_name() in _cypress_test_macro [BREAKING] by @gregmagolan in #84
Full Changelog: v0.4.0...v0.5.0
v0.4.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_cypress",
sha256 = "3122fc9fc473207b47d1777cd7592ffce75aebc3636ec25a6b902dd143d6cc8a",
strip_prefix = "rules_cypress-0.4.0",
url = "https://github.com/aspect-build/rules_cypress/releases/download/v0.4.0/rules_cypress-v0.4.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 = "12.12.0",
)
load("@aspect_rules_js//js:repositories.bzl", "rules_js_dependencies")
rules_js_dependencies()
load("@bazel_features//:deps.bzl", "bazel_features_deps")
bazel_features_deps()
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",
pnpm_lock = "//:pnpm-lock.yaml",
verify_node_modules_ignored = "//:.bazelignore",
)
load("@npm//:repositories.bzl", "npm_repositories")
npm_repositories()
What's Changed
- chore: Use aspect_bazel_lib bazelrc flags by @mrmeku in #62
- chore: Move tests to e2e/workspace folder by @mrmeku in #63
- chore(deps): Migrate to bzl mod dependencies by @mrmeku in #61
- Add example of how to spawn testing server by @mrmeku in #65
Full Changelog: v0.3.4...v0.4.0
v0.3.4
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_cypress",
sha256 = "2bf1b40c666b146172262906d1821fc1d137de2af63e4a7219acd816ac1007ed",
strip_prefix = "rules_cypress-0.3.4",
url = "https://github.com/aspect-build/rules_cypress/releases/download/v0.3.4/rules_cypress-v0.3.4.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")
load("@aspect_rules_cypress//cypress:repositories.bzl", "cypress_register_toolchains")
rules_cypress_dependencies()
cypress_register_toolchains(
name = "cypress",
cypress_version = "12.12.0",
)
What's Changed
- chore(deps): bump tough-cookie from 2.5.0 to 4.1.3 in /cypress/tests by @dependabot in #47
New Contributors
- @dependabot made their first contribution in #47
Full Changelog: v0.3.3...v0.3.4
v0.3.3
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_cypress",
sha256 = "8cbb7d4c7e6afb7209d16f7f8f31ee69c968860d42e867b3d39d0f211501d270",
strip_prefix = "rules_cypress-0.3.3",
url = "https://github.com/aspect-build/rules_cypress/releases/download/v0.3.3/rules_cypress-v0.3.3.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")
load("@aspect_rules_cypress//cypress:repositories.bzl", "cypress_register_toolchains")
rules_cypress_dependencies()
cypress_register_toolchains(
name = "cypress",
cypress_version = "12.12.0",
)
What's Changed
- fix: incorrect linux checksums by @jackvincentnz in #58
- chore: cancel previous GHA from the same PR by @gregmagolan in #59
- chore: remove Go by @alexeagle in #60
New Contributors
- @jackvincentnz made their first contribution in #58
- @alexeagle made their first contribution in #60
Full Changelog: v0.3.2...v0.3.3
v0.3.1
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_cypress",
sha256 = "20590da66f086d13b454c47ef130d631b45bccf366775697adbc711814f5aac3",
strip_prefix = "rules_cypress-0.3.1",
url = "https://github.com/aspect-build/rules_cypress/releases/download/v0.3.1/rules_cypress-v0.3.1.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")
load("@aspect_rules_cypress//cypress:repositories.bzl", "cypress_register_toolchains")
rules_cypress_dependencies()
cypress_register_toolchains(
name = "cypress",
cypress_version = "12.12.0",
)
What's Changed
- fix: fix binary_state.json missing during cypress launch by @axelchauvin in #51
New Contributors
- @axelchauvin made their first contribution in #51
Full Changelog: v0.3.0...v0.3.1