v0.4.0
Pre-release
Pre-release
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