diff --git a/.aspect/bazelrc/bazel6.bazelrc b/.aspect/bazelrc/bazel6.bazelrc
index 11a1c67..f6a155c 100644
--- a/.aspect/bazelrc/bazel6.bazelrc
+++ b/.aspect/bazelrc/bazel6.bazelrc
@@ -13,3 +13,15 @@ build --reuse_sandbox_directories
# Avoid this flag being enabled by remote_download_minimal or remote_download_toplevel
# See https://meroton.com/blog/bazel-6-errors-build-without-the-bytes/
build --noexperimental_action_cache_store_output_metadata
+
+# Speed up all builds by not checking if output files have been modified. Lets you make changes to
+# the output tree without triggering a build for local debugging. For example, you can modify
+# [rules_js](https://github.com/aspect-build/rules_js) 3rd party npm packages in the output tree
+# when local debugging.
+# Docs: https://github.com/bazelbuild/bazel/blob/1af61b21df99edc2fc66939cdf14449c2661f873/src/main/java/com/google/devtools/build/lib/pkgcache/PackageOptions.java#L185
+# NB: This flag is in bazel6.bazelrc as when used in Bazel 7 is has been observed to break
+# "build without the bytes" --remote_download_outputs=toplevel. See https://github.com/aspect-build/bazel-lib/pull/711
+# for more info.
+build --noexperimental_check_output_files
+fetch --noexperimental_check_output_files
+query --noexperimental_check_output_files
diff --git a/.aspect/bazelrc/ci.bazelrc b/.aspect/bazelrc/ci.bazelrc
index 4d91ee0..11aae33 100644
--- a/.aspect/bazelrc/ci.bazelrc
+++ b/.aspect/bazelrc/ci.bazelrc
@@ -1,10 +1,3 @@
-# We recommend enforcing a policy that keeps your CI from being slowed down
-# by individual test targets that should be optimized
-# or split up into multiple test targets with sharding or manually.
-# Set this flag to exclude targets that have their timeout set to eternal (>15m) from running on CI.
-# Docs: https://bazel.build/docs/user-manual#test-timeout-filters
-test --test_timeout_filters=-eternal
-
# Set this flag to enable re-tries of failed tests on CI.
# When any test target fails, try one or more times. This applies regardless of whether the "flaky"
# tag appears on the target definition.
diff --git a/.aspect/bazelrc/correctness.bazelrc b/.aspect/bazelrc/correctness.bazelrc
index 56fad5f..a599f6d 100644
--- a/.aspect/bazelrc/correctness.bazelrc
+++ b/.aspect/bazelrc/correctness.bazelrc
@@ -60,3 +60,16 @@ query --experimental_allow_tags_propagation
# https://github.com/bazelbuild/bazel/issues/10076.
# Docs: https://bazel.build/reference/command-line-reference#flag--incompatible_default_to_explicit_init_py
build --incompatible_default_to_explicit_init_py
+
+# Set default value of `allow_empty` to `False` in `glob()`. This prevents a common mistake when
+# attempting to use `glob()` to match files in a subdirectory that is opaque to the current package
+# because it contains a BUILD file. See https://github.com/bazelbuild/bazel/issues/8195.
+# Docs: https://bazel.build/reference/command-line-reference#flag--incompatible_disallow_empty_glob
+common --incompatible_disallow_empty_glob
+
+# Always download coverage files for tests from the remote cache. By default, coverage files are not
+# downloaded on test result cahce hits when --remote_download_minimal is enabled, making it impossible
+# to generate a full coverage report.
+# Docs: https://bazel.build/reference/command-line-reference#flag--experimental_fetch_all_coverage_outputs
+# detching remote cache results
+test --experimental_fetch_all_coverage_outputs
diff --git a/.aspect/bazelrc/javascript.bazelrc b/.aspect/bazelrc/javascript.bazelrc
index dc76864..474ec63 100644
--- a/.aspect/bazelrc/javascript.bazelrc
+++ b/.aspect/bazelrc/javascript.bazelrc
@@ -8,21 +8,3 @@
# details.
# Docs: https://nodejs.org/en/docs/guides/debugging-getting-started/#command-line-options
run:debug -- --node_options=--inspect-brk
-
-# Enable runfiles on all platforms. Runfiles are on by default on Linux and MacOS but off on
-# Windows.
-#
-# In general, rules_js and derivate rule sets assume that runfiles are enabled and do not support no
-# runfiles case because it does not scale to teach all Node.js tools to use the runfiles manifest.
-#
-# If you are developing on Windows, you must either run bazel with administrator privileges or
-# enable developer mode. If you do not you may hit this error on Windows:
-#
-# Bazel needs to create symlinks to build the runfiles tree.
-# Creating symlinks on Windows requires one of the following:
-# 1. Bazel is run with administrator privileges.
-# 2. The system version is Windows 10 Creators Update (1703) or later
-# and developer mode is enabled.
-#
-# Docs: https://bazel.build/reference/command-line-reference#flag--enable_runfiles
-build --enable_runfiles
diff --git a/.aspect/bazelrc/performance.bazelrc b/.aspect/bazelrc/performance.bazelrc
index fff4c7c..acc48c5 100644
--- a/.aspect/bazelrc/performance.bazelrc
+++ b/.aspect/bazelrc/performance.bazelrc
@@ -1,12 +1,3 @@
-# Speed up all builds by not checking if output files have been modified. Lets you make changes to
-# the output tree without triggering a build for local debugging. For example, you can modify
-# [rules_js](https://github.com/aspect-build/rules_js) 3rd party npm packages in the output tree
-# when local debugging.
-# Docs: https://github.com/bazelbuild/bazel/blob/1af61b21df99edc2fc66939cdf14449c2661f873/src/main/java/com/google/devtools/build/lib/pkgcache/PackageOptions.java#L185
-build --noexperimental_check_output_files
-fetch --noexperimental_check_output_files
-query --noexperimental_check_output_files
-
# Don't apply `--noremote_upload_local_results` and `--noremote_accept_cached` to the disk cache.
# If you have both `--noremote_upload_local_results` and `--disk_cache`, then this fixes a bug where
# Bazel doesn't write to the local disk cache as it treats as a remote cache.
@@ -27,12 +18,3 @@ build --experimental_reuse_sandbox_directories
# author.
# Docs: https://bazel.build/reference/command-line-reference#flag--legacy_external_runfiles
build --nolegacy_external_runfiles
-
-# Some actions are always IO-intensive but require little compute. It's wasteful to put the output
-# in the remote cache, it just saturates the network and fills the cache storage causing earlier
-# evictions. It's also not worth sending them for remote execution.
-# For actions like PackageTar it's usually faster to just re-run the work locally every time.
-# You'll have to look at an execution log to figure out what other action mnemonics you care about.
-# In some cases you may need to patch rulesets to add a mnemonic to actions that don't have one.
-# https://bazel.build/reference/command-line-reference#flag--modify_execution_info
-build --modify_execution_info=PackageTar=+no-remote
diff --git a/.bazeliskrc b/.bazeliskrc
index a28c887..269fbb0 100644
--- a/.bazeliskrc
+++ b/.bazeliskrc
@@ -1,2 +1,2 @@
BAZELISK_BASE_URL=https://github.com/aspect-build/aspect-cli/releases/download
-USE_BAZEL_VERSION=aspect/5.7.2
+USE_BAZEL_VERSION=aspect/5.9.25
diff --git a/.bazelrc b/.bazelrc
index a77f2cb..a1a1032 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -1,5 +1,5 @@
# Import Aspect bazelrc presets
-import %workspace%/.aspect/bazelrc/bazel6.bazelrc
+import %workspace%/.aspect/bazelrc/bazel7.bazelrc
import %workspace%/.aspect/bazelrc/convenience.bazelrc
import %workspace%/.aspect/bazelrc/correctness.bazelrc
import %workspace%/.aspect/bazelrc/debug.bazelrc
diff --git a/.bazelversion b/.bazelversion
index 6c7efdc..21c8c7b 100644
--- a/.bazelversion
+++ b/.bazelversion
@@ -1,7 +1 @@
-6.3.2
-# The first line of this file is used by Bazelisk and Bazel to be sure
-# the right version of Bazel is used to build and test this repo.
-# This also defines which version is used on CI.
-#
-# Note that you should also run integration_tests against other Bazel
-# versions you support.
+7.1.1
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index a39d363..8d515f0 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -46,6 +46,7 @@ jobs:
fail-fast: false
matrix:
bazelversion: ${{ fromJSON(needs.matrix-prep-bazelversion.outputs.bazelversions) }}
+ bzlmod: [1, 0]
folder:
- "."
- "e2e/workspace"
@@ -87,4 +88,10 @@ jobs:
# Bazelisk will download bazel to here, ensure it is cached between runs.
XDG_CACHE_HOME: ~/.cache/bazel-repo
working-directory: ${{ matrix.folder }}
- run: bazel --bazelrc=$GITHUB_WORKSPACE/.github/workflows/ci.bazelrc --bazelrc=.bazelrc test //...
+ run: |
+ bazel \
+ --bazelrc=$GITHUB_WORKSPACE/.github/workflows/ci.bazelrc \
+ --bazelrc=.bazelrc \
+ test \
+ --enable_bzlmod=${{ matrix.bzlmod }} \
+ //...
diff --git a/.github/workflows/release_prep.sh b/.github/workflows/release_prep.sh
index 99e4635..4b2bbfc 100755
--- a/.github/workflows/release_prep.sh
+++ b/.github/workflows/release_prep.sh
@@ -23,5 +23,5 @@ http_archive(
)
EOF
-awk 'f;/--SNIP--/{f=1}' e2e/workspace/WORKSPACE
+awk 'f;/--SNIP--/{f=1}' e2e/workspace/WORKSPACE.bazel
echo "\`\`\`"
diff --git a/.gitignore b/.gitignore
index bbf3843..cb5f0be 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,12 @@ bazel-*
.idea/
.ijwb/
node_modules
+
+# Don't commit lockfile for now as it is unstable. Do allow for it to be
+# created, however, since it gives a performance boost for local development.
+# https://github.com/bazelbuild/bazel/issues/19026
+# https://github.com/bazelbuild/bazel/issues/19621
+# https://github.com/bazelbuild/bazel/issues/19971
+# https://github.com/bazelbuild/bazel/issues/20272
+# https://github.com/bazelbuild/bazel/issues/20369
+MODULE.bazel.lock
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index e4ea8f6..cb16842 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -9,18 +9,18 @@ default_stages: [commit]
repos:
# Check formatting and lint for starlark code
- repo: https://github.com/keith/pre-commit-buildifier
- rev: 4.0.1.1
+ rev: 6.4.0
hooks:
- id: buildifier
- id: buildifier-lint
# Enforce that commit messages allow for later changelog generation
- repo: https://github.com/commitizen-tools/commitizen
- rev: v2.18.0
+ rev: v3.24.0
hooks:
# Requires that commitizen is already installed
- id: commitizen
stages: [commit-msg]
- repo: https://github.com/pre-commit/mirrors-prettier
- rev: "v2.4.0"
+ rev: v3.1.0
hooks:
- id: prettier
diff --git a/BUILD.bazel b/BUILD.bazel
index 65204b4..249e8b6 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -1,13 +1,20 @@
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
load("@buildifier_prebuilt//:rules.bzl", "buildifier")
+buildifier(
+ name = "buildifier",
+ exclude_patterns = ["./.git/*"],
+ lint_mode = "fix",
+ mode = "fix",
+ tags = ["manual"], # tag as manual so windows ci does not build it by default
+)
+
buildifier(
name = "buildifier.check",
- exclude_patterns = [
- "./.git/*",
- ],
+ exclude_patterns = ["./.git/*"],
lint_mode = "warn",
mode = "diff",
+ tags = ["manual"], # tag as manual so windows ci does not build it by default
)
bzl_library(
diff --git a/MODULE.bazel b/MODULE.bazel
new file mode 100644
index 0000000..80a80a8
--- /dev/null
+++ b/MODULE.bazel
@@ -0,0 +1,55 @@
+"aspect-build/rules_cypress"
+
+module(
+ name = "aspect_rules_cypress",
+ version = "0.0.0",
+ compatibility_level = 1,
+)
+
+cypress = use_extension("//cypress:extensions.bzl", "cypress")
+cypress.toolchain(cypress_version = "12.3.0")
+use_repo(cypress, "cypress_toolchains")
+
+register_toolchains("@cypress_toolchains//:all")
+
+bazel_dep(name = "aspect_bazel_lib", version = "1.42.3")
+bazel_dep(name = "aspect_rules_js", version = "1.41.2")
+bazel_dep(name = "bazel_skylib", version = "1.4.1")
+bazel_dep(name = "platforms", version = "0.0.5")
+bazel_dep(name = "rules_nodejs", version = "5.8.2")
+
+node = use_extension("@rules_nodejs//nodejs:extensions.bzl", "node")
+node.toolchain(node_version = "16.14.2")
+
+####### Dev dependencies ########
+
+bazel_dep(name = "stardoc", version = "0.6.2", dev_dependency = True, repo_name = "io_bazel_stardoc")
+bazel_dep(
+ name = "buildifier_prebuilt",
+ version = "6.4.0",
+ dev_dependency = True,
+)
+
+http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
+
+# To update CHROME_REVISION, use the below script
+#
+# LASTCHANGE_URL="https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2FLAST_CHANGE?alt=media"
+# CHROME_REVISION=$(curl -s -S $LASTCHANGE_URL)
+# echo "latest CHROME_REVISION_LINUX is $CHROME_REVISION"
+CHROME_REVISION_LINUX = "1072361"
+
+http_archive(
+ name = "chrome_linux",
+ build_file_content = """filegroup(
+name = "all",
+srcs = glob(["**"]),
+visibility = ["//visibility:public"],
+)""",
+ dev_dependency = True,
+ sha256 = "0df22f743facd1e090eff9b7f8d8bdc293fb4dc31ce9156d2ef19b515974a72b",
+ strip_prefix = "chrome-linux",
+ urls = [
+ "https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2F" + CHROME_REVISION_LINUX + "%2Fchrome-linux.zip?alt=media",
+ ],
+)
diff --git a/WORKSPACE b/WORKSPACE.bazel
similarity index 63%
rename from WORKSPACE
rename to WORKSPACE.bazel
index bdeba50..20b7e1a 100644
--- a/WORKSPACE
+++ b/WORKSPACE.bazel
@@ -11,6 +11,14 @@ load("@aspect_rules_cypress//cypress:dependencies.bzl", "rules_cypress_dependenc
# Fetch dependencies which users need as well
rules_cypress_dependencies()
+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("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies(override_local_config_platform = True)
@@ -34,6 +42,28 @@ load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
bazel_skylib_workspace()
+############################################
+# Stardoc
+load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories")
+
+stardoc_repositories()
+
+load("@rules_jvm_external//:repositories.bzl", "rules_jvm_external_deps")
+
+rules_jvm_external_deps()
+
+load("@rules_jvm_external//:setup.bzl", "rules_jvm_external_setup")
+
+rules_jvm_external_setup()
+
+load("@io_bazel_stardoc//:deps.bzl", "stardoc_external_deps")
+
+stardoc_external_deps()
+
+load("@stardoc_maven//:defs.bzl", stardoc_pinned_maven_install = "pinned_maven_install")
+
+stardoc_pinned_maven_install()
+
# Buildifier
load("@buildifier_prebuilt//:deps.bzl", "buildifier_prebuilt_deps")
diff --git a/WORKSPACE.bzlmod b/WORKSPACE.bzlmod
new file mode 100644
index 0000000..e69de29
diff --git a/cypress/BUILD.bazel b/cypress/BUILD.bazel
index 852cfbb..be2cec3 100644
--- a/cypress/BUILD.bazel
+++ b/cypress/BUILD.bazel
@@ -36,16 +36,6 @@ bzl_library(
],
)
-bzl_library(
- name = "dependencies",
- srcs = ["dependencies.bzl"],
- visibility = ["//visibility:public"],
- deps = [
- "@bazel_tools//tools/build_defs/repo:http.bzl",
- "@bazel_tools//tools/build_defs/repo:utils.bzl",
- ],
-)
-
bzl_library(
name = "toolchain",
srcs = ["toolchain.bzl"],
diff --git a/cypress/defs.bzl b/cypress/defs.bzl
index 2688246..db694d7 100644
--- a/cypress/defs.bzl
+++ b/cypress/defs.bzl
@@ -1,8 +1,8 @@
"Public API re-exports"
+load("@aspect_bazel_lib//lib:directory_path.bzl", "directory_path")
load("@aspect_rules_cypress//cypress/private:cypress_test.bzl", "cypress_test_lib")
load("@aspect_rules_js//js:libs.bzl", "js_binary_lib")
-load("@aspect_bazel_lib//lib:directory_path.bzl", "directory_path")
_cypress_test = rule(
doc = """Identical to js_test with the addition of the cypress toolchain made available.""",
diff --git a/cypress/dependencies.bzl b/cypress/dependencies.bzl
index c80a120..a7028ad 100644
--- a/cypress/dependencies.bzl
+++ b/cypress/dependencies.bzl
@@ -18,16 +18,16 @@ def rules_cypress_dependencies():
http_archive(
name = "aspect_bazel_lib",
- sha256 = "e3151d87910f69cf1fc88755392d7c878034a69d6499b287bcfc00b1cf9bb415",
- strip_prefix = "bazel-lib-1.32.1",
- url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.32.1/bazel-lib-v1.32.1.tar.gz",
+ sha256 = "d0529773764ac61184eb3ad3c687fb835df5bee01afedf07f0cf1a45515c96bc",
+ strip_prefix = "bazel-lib-1.42.3",
+ url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.42.3/bazel-lib-v1.42.3.tar.gz",
)
http_archive(
name = "aspect_rules_js",
- sha256 = "7cb2d84b7d5220194627c9a0267ae599e357350e75ea4f28f337a25ca6219b83",
- strip_prefix = "rules_js-1.29.2",
- url = "https://github.com/aspect-build/rules_js/releases/download/v1.29.2/rules_js-v1.29.2.tar.gz",
+ sha256 = "bc9b4a01ef8eb050d8a7a050eedde8ffb1e45a56b0e4094e26f06c17d5fcf1d5",
+ strip_prefix = "rules_js-1.41.2",
+ url = "https://github.com/aspect-build/rules_js/releases/download/v1.41.2/rules_js-v1.41.2.tar.gz",
)
http_archive(
diff --git a/cypress/extensions.bzl b/cypress/extensions.bzl
new file mode 100644
index 0000000..1ab93ea
--- /dev/null
+++ b/cypress/extensions.bzl
@@ -0,0 +1,27 @@
+"extensions for bzlmod"
+
+load("@aspect_rules_cypress//cypress:repositories.bzl", "cypress_register_toolchains")
+
+def _toolchain_extension(module_ctx):
+ for mod in module_ctx.modules:
+ for toolchain in mod.tags.toolchain:
+ cypress_register_toolchains(
+ name = toolchain.name,
+ cypress_version = toolchain.cypress_version,
+ register = False,
+ )
+
+cypress = module_extension(
+ implementation = _toolchain_extension,
+ tag_classes = {
+ "toolchain": tag_class(attrs = {
+ "name": attr.string(
+ doc = "Base name for generated repositories",
+ default = "cypress",
+ ),
+ "cypress_version": attr.string(
+ doc = "Version of cypress to download",
+ ),
+ }),
+ },
+)
diff --git a/cypress/repositories.bzl b/cypress/repositories.bzl
index c48f1d1..43f633e 100644
--- a/cypress/repositories.bzl
+++ b/cypress/repositories.bzl
@@ -41,7 +41,7 @@ cypress_repositories = repository_rule(
)
# Wrapper macro around everything above, this is the primary API
-def cypress_register_toolchains(name, cypress_version = None, cypress_integrity = None):
+def cypress_register_toolchains(name, cypress_version = None, cypress_integrity = None, register = True):
"""
Convenience macro for setting up cypress toolchain for all supported platforms.
@@ -64,6 +64,9 @@ def cypress_register_toolchains(name, cypress_version = None, cypress_integrity
Alternatively, download a binary manually to compute its integrity hash, see https://docs.cypress.io/guides/references/advanced-installation#Download-URLs
Once downloaded, run `shasum -a 256` to get the integrity hash
+ register: Whether to call Bazel register_toolchains on the created toolchains.
+ Should be True when used from a WORKSPACE file, and False used from bzlmod
+ which has its own toolchain registration syntax.
"""
if not cypress_integrity:
if cypress_version not in TOOL_VERSIONS.keys():
@@ -81,7 +84,8 @@ Alternately, you may manually specify platform integrity hashes with cypress_int
platform = platform,
sha256 = cypress_integrity.get(platform, None),
)
- native.register_toolchains("@%s_toolchains//:%s_toolchain" % (name, platform))
+ if register:
+ native.register_toolchains("@%s_toolchains//:%s_toolchain" % (name, platform))
toolchains_repo(
name = name + "_toolchains",
diff --git a/docs/defs.md b/docs/defs.md
index 78b7b51..93087cd 100644
--- a/docs/defs.md
+++ b/docs/defs.md
@@ -22,7 +22,7 @@ const cypress = require('cypress')
cypress.run({
headless: true,
-}).then(result => {
+}).then(result => {
if (result.status === 'failed') {
process.exit(1);
}
@@ -42,8 +42,8 @@ In most scenarios, it is easier to use cypress_test. But in some scenarios, you
| :------------- | :------------- | :------------- |
| name | The name used for this rule and output files | none |
| runner | JS file to call into the cypress module api See https://docs.cypress.io/guides/guides/module-api | none |
-| cypress | The cypress npm package which was already linked using an API like npm_link_all_packages. | "//:node_modules/cypress"
|
-| kwargs | All other args from js_test
. See https://github.com/aspect-build/rules_js/blob/main/docs/js_binary.md#js_test | none |
+| cypress | The cypress npm package which was already linked using an API like npm_link_all_packages. | `"//:node_modules/cypress"` |
+| kwargs | All other args from `js_test`. See https://github.com/aspect-build/rules_js/blob/main/docs/js_binary.md#js_test | none |
@@ -69,7 +69,7 @@ https://docs.cypress.io/guides/guides/command-line#What-you-ll-learn
| Name | Description | Default Value |
| :------------- | :------------- | :------------- |
| name | The name used for this rule and output files | none |
-| cypress | The cypress npm package which was already linked using an API like npm_link_all_packages. | "//:node_modules/cypress"
|
-| kwargs | All other args from js_test
. See https://github.com/aspect-build/rules_js/blob/main/docs/js_binary.md#js_test | none |
+| cypress | The cypress npm package which was already linked using an API like npm_link_all_packages. | `"//:node_modules/cypress"` |
+| kwargs | All other args from `js_test`. See https://github.com/aspect-build/rules_js/blob/main/docs/js_binary.md#js_test | none |
diff --git a/docs/repositories.md b/docs/repositories.md
index 2cdc9bc..24efa8a 100644
--- a/docs/repositories.md
+++ b/docs/repositories.md
@@ -5,6 +5,30 @@ Declare runtime dependencies
These are needed for local dev, and users must install them as well.
See https://docs.bazel.build/versions/main/skylark/deploying.html#dependencies
+
+
+## cypress_register_toolchains
+
+
+cypress_register_toolchains(name, cypress_version, cypress_integrity, register)
+
+
+Convenience macro for setting up cypress toolchain for all supported platforms.
+
+- create a repository for each built-in platform like "cypress_linux-x64" -
+ this repository is lazily fetched when node is needed for that platform.
+
+
+**PARAMETERS**
+
+
+| Name | Description | Default Value |
+| :------------- | :------------- | :------------- |
+| name | base name for all created repos, like `cypress` or `cypress_10_1` | none |
+| cypress_version | Cypress version | `None` |
+| cypress_integrity | Mapping from platform to integrity file hash.
Valid platform values are: darwin-x64, darwin-arm64, linux-x64, linux-arm64, win32-x64. See @aspect_rules_cypress//cypress/private:versions.bzl
We have provided a helper script to help generate these integrity hashes.
`bazel run @aspect_rules_cypress//scripts:mirror_releases `
Alternatively, download a binary manually to compute its integrity hash, see https://docs.cypress.io/guides/references/advanced-installation#Download-URLs
Once downloaded, run `shasum -a 256` to get the integrity hash | `None` |
+| register | Whether to call Bazel register_toolchains on the created toolchains. Should be True when used from a WORKSPACE file, and False used from bzlmod which has its own toolchain registration syntax. | `True` |
+
@@ -23,32 +47,8 @@ Fetch external tools needed for cypress toolchain
| :------------- | :------------- | :------------- | :------------- | :------------- |
| name | A unique name for this repository. | Name | required | |
| platform | - | String | required | |
-| repo_mapping | A dictionary from local repository name to global repository name. This allows controls over workspace dependency resolution for dependencies of this repository.<p>For example, an entry "@foo": "@bar"
declares that, for any time this repository depends on @foo
(such as a dependency on @foo//some:target
, it should actually resolve that dependency within globally-declared @bar
(@bar//some:target
). | Dictionary: String -> String | required | |
-| sha256 | - | String | optional | ""
|
+| repo_mapping | In `WORKSPACE` context only: a dictionary from local repository name to global repository name. This allows controls over workspace dependency resolution for dependencies of this repository.
For example, an entry `"@foo": "@bar"` declares that, for any time this repository depends on `@foo` (such as a dependency on `@foo//some:target`, it should actually resolve that dependency within globally-declared `@bar` (`@bar//some:target`).
This attribute is _not_ supported in `MODULE.bazel` context (when invoking a repository rule inside a module extension's implementation function). | Dictionary: String -> String | optional | |
+| sha256 | - | String | optional | `""` |
| version | - | String | required | |
-
-
-## cypress_register_toolchains
-
-
-cypress_register_toolchains(name, cypress_version, cypress_integrity)
-
-
- Convenience macro for setting up cypress toolchain for all supported platforms.
-
-- create a repository for each built-in platform like "cypress_linux-x64" -
- this repository is lazily fetched when node is needed for that platform.
-
-
-**PARAMETERS**
-
-
-| Name | Description | Default Value |
-| :------------- | :------------- | :------------- |
-| name | base name for all created repos, like cypress
or cypress_10_1
| none |
-| cypress_version | Cypress version | None
|
-| cypress_integrity | Mapping from platform to integrity file hash.
Valid platform values are: darwin-x64, darwin-arm64, linux-x64, linux-arm64, win32-x64. See @aspect_rules_cypress//cypress/private:versions.bzl
We have provided a helper script to help generate these integrity hashes.
bazel run @aspect_rules_cypress//scripts:mirror_releases <VERSION_NUMBER>
Alternatively, download a binary manually to compute its integrity hash, see https://docs.cypress.io/guides/references/advanced-installation#Download-URLs
Once downloaded, run shasum -a 256
to get the integrity hash | None
|
-
-
diff --git a/e2e/workspace/.bazelversion b/e2e/workspace/.bazelversion
new file mode 100644
index 0000000..ef09838
--- /dev/null
+++ b/e2e/workspace/.bazelversion
@@ -0,0 +1 @@
+7.1.1
\ No newline at end of file
diff --git a/e2e/workspace/MODULE.bazel b/e2e/workspace/MODULE.bazel
new file mode 100644
index 0000000..1a30057
--- /dev/null
+++ b/e2e/workspace/MODULE.bazel
@@ -0,0 +1,16 @@
+bazel_dep(name = "aspect_rules_cypress")
+local_path_override(
+ module_name = "aspect_rules_cypress",
+ path = "../..",
+)
+
+bazel_dep(name = "aspect_rules_js", version = "1.41.2", dev_dependency = True)
+bazel_dep(name = "bazel_features", version = "1.9.0", dev_dependency = True)
+
+npm = use_extension("@aspect_rules_js//npm:extensions.bzl", "npm", dev_dependency = True)
+npm.npm_translate_lock(
+ name = "npm",
+ pnpm_lock = "//:pnpm-lock.yaml",
+ verify_node_modules_ignored = "//:.bazelignore",
+)
+use_repo(npm, "npm")
diff --git a/e2e/workspace/MODULE.bazel.lock b/e2e/workspace/MODULE.bazel.lock
deleted file mode 100644
index 66ca29c..0000000
--- a/e2e/workspace/MODULE.bazel.lock
+++ /dev/null
@@ -1,1037 +0,0 @@
-{
- "lockFileVersion": 6,
- "moduleFileHash": "0e3e315145ac7ee7a4e0ac825e1c5e03c068ec1254dd42c3caaecb27e921dc4d",
- "flags": {
- "cmdRegistries": [
- "https://bcr.bazel.build/"
- ],
- "cmdModuleOverrides": {},
- "allowedYankedVersions": [],
- "envVarAllowedYankedVersions": "",
- "ignoreDevDependency": false,
- "directDependenciesMode": "WARNING",
- "compatibilityMode": "ERROR"
- },
- "localOverrideHashes": {
- "bazel_tools": "1ae69322ac3823527337acf02016e8ee95813d8d356f47060255b8956fa642f0"
- },
- "moduleDepGraph": {
- "": {
- "name": "",
- "version": "",
- "key": "",
- "repoName": "",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [],
- "extensionUsages": [],
- "deps": {
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- }
- },
- "bazel_tools@_": {
- "name": "bazel_tools",
- "version": "",
- "key": "bazel_tools@_",
- "repoName": "bazel_tools",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [
- "@local_config_cc_toolchains//:all",
- "@local_config_sh//:local_sh_toolchain"
- ],
- "extensionUsages": [
- {
- "extensionBzlFile": "@bazel_tools//tools/cpp:cc_configure.bzl",
- "extensionName": "cc_configure_extension",
- "usingModule": "bazel_tools@_",
- "location": {
- "file": "@@bazel_tools//:MODULE.bazel",
- "line": 18,
- "column": 29
- },
- "imports": {
- "local_config_cc": "local_config_cc",
- "local_config_cc_toolchains": "local_config_cc_toolchains"
- },
- "devImports": [],
- "tags": [],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- },
- {
- "extensionBzlFile": "@bazel_tools//tools/osx:xcode_configure.bzl",
- "extensionName": "xcode_configure_extension",
- "usingModule": "bazel_tools@_",
- "location": {
- "file": "@@bazel_tools//:MODULE.bazel",
- "line": 22,
- "column": 32
- },
- "imports": {
- "local_config_xcode": "local_config_xcode"
- },
- "devImports": [],
- "tags": [],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- },
- {
- "extensionBzlFile": "@rules_java//java:extensions.bzl",
- "extensionName": "toolchains",
- "usingModule": "bazel_tools@_",
- "location": {
- "file": "@@bazel_tools//:MODULE.bazel",
- "line": 25,
- "column": 32
- },
- "imports": {
- "local_jdk": "local_jdk",
- "remote_java_tools": "remote_java_tools",
- "remote_java_tools_linux": "remote_java_tools_linux",
- "remote_java_tools_windows": "remote_java_tools_windows",
- "remote_java_tools_darwin_x86_64": "remote_java_tools_darwin_x86_64",
- "remote_java_tools_darwin_arm64": "remote_java_tools_darwin_arm64"
- },
- "devImports": [],
- "tags": [],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- },
- {
- "extensionBzlFile": "@bazel_tools//tools/sh:sh_configure.bzl",
- "extensionName": "sh_configure_extension",
- "usingModule": "bazel_tools@_",
- "location": {
- "file": "@@bazel_tools//:MODULE.bazel",
- "line": 36,
- "column": 39
- },
- "imports": {
- "local_config_sh": "local_config_sh"
- },
- "devImports": [],
- "tags": [],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- },
- {
- "extensionBzlFile": "@bazel_tools//tools/test:extensions.bzl",
- "extensionName": "remote_coverage_tools_extension",
- "usingModule": "bazel_tools@_",
- "location": {
- "file": "@@bazel_tools//:MODULE.bazel",
- "line": 40,
- "column": 48
- },
- "imports": {
- "remote_coverage_tools": "remote_coverage_tools"
- },
- "devImports": [],
- "tags": [],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- },
- {
- "extensionBzlFile": "@bazel_tools//tools/android:android_extensions.bzl",
- "extensionName": "remote_android_tools_extensions",
- "usingModule": "bazel_tools@_",
- "location": {
- "file": "@@bazel_tools//:MODULE.bazel",
- "line": 43,
- "column": 42
- },
- "imports": {
- "android_gmaven_r8": "android_gmaven_r8",
- "android_tools": "android_tools"
- },
- "devImports": [],
- "tags": [],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- },
- {
- "extensionBzlFile": "@buildozer//:buildozer_binary.bzl",
- "extensionName": "buildozer_binary",
- "usingModule": "bazel_tools@_",
- "location": {
- "file": "@@bazel_tools//:MODULE.bazel",
- "line": 47,
- "column": 33
- },
- "imports": {
- "buildozer_binary": "buildozer_binary"
- },
- "devImports": [],
- "tags": [],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- }
- ],
- "deps": {
- "rules_cc": "rules_cc@0.0.9",
- "rules_java": "rules_java@7.4.0",
- "rules_license": "rules_license@0.0.7",
- "rules_proto": "rules_proto@5.3.0-21.7",
- "rules_python": "rules_python@0.22.1",
- "buildozer": "buildozer@6.4.0.2",
- "platforms": "platforms@0.0.7",
- "com_google_protobuf": "protobuf@21.7",
- "zlib": "zlib@1.3",
- "build_bazel_apple_support": "apple_support@1.5.0",
- "local_config_platform": "local_config_platform@_"
- }
- },
- "local_config_platform@_": {
- "name": "local_config_platform",
- "version": "",
- "key": "local_config_platform@_",
- "repoName": "local_config_platform",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [],
- "extensionUsages": [],
- "deps": {
- "platforms": "platforms@0.0.7",
- "bazel_tools": "bazel_tools@_"
- }
- },
- "rules_cc@0.0.9": {
- "name": "rules_cc",
- "version": "0.0.9",
- "key": "rules_cc@0.0.9",
- "repoName": "rules_cc",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [
- "@local_config_cc_toolchains//:all"
- ],
- "extensionUsages": [
- {
- "extensionBzlFile": "@bazel_tools//tools/cpp:cc_configure.bzl",
- "extensionName": "cc_configure_extension",
- "usingModule": "rules_cc@0.0.9",
- "location": {
- "file": "https://bcr.bazel.build/modules/rules_cc/0.0.9/MODULE.bazel",
- "line": 9,
- "column": 29
- },
- "imports": {
- "local_config_cc_toolchains": "local_config_cc_toolchains"
- },
- "devImports": [],
- "tags": [],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- }
- ],
- "deps": {
- "platforms": "platforms@0.0.7",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "urls": [
- "https://github.com/bazelbuild/rules_cc/releases/download/0.0.9/rules_cc-0.0.9.tar.gz"
- ],
- "integrity": "sha256-IDeHW5pEVtzkp50RKorohbvEqtlo5lh9ym5k86CQDN8=",
- "strip_prefix": "rules_cc-0.0.9",
- "remote_patches": {
- "https://bcr.bazel.build/modules/rules_cc/0.0.9/patches/module_dot_bazel_version.patch": "sha256-mM+qzOI0SgAdaJBlWOSMwMPKpaA9b7R37Hj/tp5bb4g="
- },
- "remote_patch_strip": 0
- }
- }
- },
- "rules_java@7.4.0": {
- "name": "rules_java",
- "version": "7.4.0",
- "key": "rules_java@7.4.0",
- "repoName": "rules_java",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [
- "//toolchains:all",
- "@local_jdk//:runtime_toolchain_definition",
- "@local_jdk//:bootstrap_runtime_toolchain_definition",
- "@remotejdk11_linux_toolchain_config_repo//:all",
- "@remotejdk11_linux_aarch64_toolchain_config_repo//:all",
- "@remotejdk11_linux_ppc64le_toolchain_config_repo//:all",
- "@remotejdk11_linux_s390x_toolchain_config_repo//:all",
- "@remotejdk11_macos_toolchain_config_repo//:all",
- "@remotejdk11_macos_aarch64_toolchain_config_repo//:all",
- "@remotejdk11_win_toolchain_config_repo//:all",
- "@remotejdk11_win_arm64_toolchain_config_repo//:all",
- "@remotejdk17_linux_toolchain_config_repo//:all",
- "@remotejdk17_linux_aarch64_toolchain_config_repo//:all",
- "@remotejdk17_linux_ppc64le_toolchain_config_repo//:all",
- "@remotejdk17_linux_s390x_toolchain_config_repo//:all",
- "@remotejdk17_macos_toolchain_config_repo//:all",
- "@remotejdk17_macos_aarch64_toolchain_config_repo//:all",
- "@remotejdk17_win_toolchain_config_repo//:all",
- "@remotejdk17_win_arm64_toolchain_config_repo//:all",
- "@remotejdk21_linux_toolchain_config_repo//:all",
- "@remotejdk21_linux_aarch64_toolchain_config_repo//:all",
- "@remotejdk21_macos_toolchain_config_repo//:all",
- "@remotejdk21_macos_aarch64_toolchain_config_repo//:all",
- "@remotejdk21_win_toolchain_config_repo//:all"
- ],
- "extensionUsages": [
- {
- "extensionBzlFile": "@rules_java//java:extensions.bzl",
- "extensionName": "toolchains",
- "usingModule": "rules_java@7.4.0",
- "location": {
- "file": "https://bcr.bazel.build/modules/rules_java/7.4.0/MODULE.bazel",
- "line": 19,
- "column": 27
- },
- "imports": {
- "remote_java_tools": "remote_java_tools",
- "remote_java_tools_linux": "remote_java_tools_linux",
- "remote_java_tools_windows": "remote_java_tools_windows",
- "remote_java_tools_darwin_x86_64": "remote_java_tools_darwin_x86_64",
- "remote_java_tools_darwin_arm64": "remote_java_tools_darwin_arm64",
- "local_jdk": "local_jdk",
- "remotejdk11_linux_toolchain_config_repo": "remotejdk11_linux_toolchain_config_repo",
- "remotejdk11_linux_aarch64_toolchain_config_repo": "remotejdk11_linux_aarch64_toolchain_config_repo",
- "remotejdk11_linux_ppc64le_toolchain_config_repo": "remotejdk11_linux_ppc64le_toolchain_config_repo",
- "remotejdk11_linux_s390x_toolchain_config_repo": "remotejdk11_linux_s390x_toolchain_config_repo",
- "remotejdk11_macos_toolchain_config_repo": "remotejdk11_macos_toolchain_config_repo",
- "remotejdk11_macos_aarch64_toolchain_config_repo": "remotejdk11_macos_aarch64_toolchain_config_repo",
- "remotejdk11_win_toolchain_config_repo": "remotejdk11_win_toolchain_config_repo",
- "remotejdk11_win_arm64_toolchain_config_repo": "remotejdk11_win_arm64_toolchain_config_repo",
- "remotejdk17_linux_toolchain_config_repo": "remotejdk17_linux_toolchain_config_repo",
- "remotejdk17_linux_aarch64_toolchain_config_repo": "remotejdk17_linux_aarch64_toolchain_config_repo",
- "remotejdk17_linux_ppc64le_toolchain_config_repo": "remotejdk17_linux_ppc64le_toolchain_config_repo",
- "remotejdk17_linux_s390x_toolchain_config_repo": "remotejdk17_linux_s390x_toolchain_config_repo",
- "remotejdk17_macos_toolchain_config_repo": "remotejdk17_macos_toolchain_config_repo",
- "remotejdk17_macos_aarch64_toolchain_config_repo": "remotejdk17_macos_aarch64_toolchain_config_repo",
- "remotejdk17_win_toolchain_config_repo": "remotejdk17_win_toolchain_config_repo",
- "remotejdk17_win_arm64_toolchain_config_repo": "remotejdk17_win_arm64_toolchain_config_repo",
- "remotejdk21_linux_toolchain_config_repo": "remotejdk21_linux_toolchain_config_repo",
- "remotejdk21_linux_aarch64_toolchain_config_repo": "remotejdk21_linux_aarch64_toolchain_config_repo",
- "remotejdk21_macos_toolchain_config_repo": "remotejdk21_macos_toolchain_config_repo",
- "remotejdk21_macos_aarch64_toolchain_config_repo": "remotejdk21_macos_aarch64_toolchain_config_repo",
- "remotejdk21_win_toolchain_config_repo": "remotejdk21_win_toolchain_config_repo"
- },
- "devImports": [],
- "tags": [],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- }
- ],
- "deps": {
- "platforms": "platforms@0.0.7",
- "rules_cc": "rules_cc@0.0.9",
- "bazel_skylib": "bazel_skylib@1.3.0",
- "rules_proto": "rules_proto@5.3.0-21.7",
- "rules_license": "rules_license@0.0.7",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "urls": [
- "https://github.com/bazelbuild/rules_java/releases/download/7.4.0/rules_java-7.4.0.tar.gz"
- ],
- "integrity": "sha256-l27wi0nJKXQfIBeQ5Z44B8cq2B9CjIvJU82+/1/tFes=",
- "strip_prefix": "",
- "remote_patches": {},
- "remote_patch_strip": 0
- }
- }
- },
- "rules_license@0.0.7": {
- "name": "rules_license",
- "version": "0.0.7",
- "key": "rules_license@0.0.7",
- "repoName": "rules_license",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [],
- "extensionUsages": [],
- "deps": {
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "urls": [
- "https://github.com/bazelbuild/rules_license/releases/download/0.0.7/rules_license-0.0.7.tar.gz"
- ],
- "integrity": "sha256-RTHezLkTY5ww5cdRKgVNXYdWmNrrddjPkPKEN1/nw2A=",
- "strip_prefix": "",
- "remote_patches": {},
- "remote_patch_strip": 0
- }
- }
- },
- "rules_proto@5.3.0-21.7": {
- "name": "rules_proto",
- "version": "5.3.0-21.7",
- "key": "rules_proto@5.3.0-21.7",
- "repoName": "rules_proto",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [],
- "extensionUsages": [],
- "deps": {
- "bazel_skylib": "bazel_skylib@1.3.0",
- "com_google_protobuf": "protobuf@21.7",
- "rules_cc": "rules_cc@0.0.9",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "urls": [
- "https://github.com/bazelbuild/rules_proto/archive/refs/tags/5.3.0-21.7.tar.gz"
- ],
- "integrity": "sha256-3D+yBqLLNEG0heseQjFlsjEjWh6psDG0Qzz3vB+kYN0=",
- "strip_prefix": "rules_proto-5.3.0-21.7",
- "remote_patches": {},
- "remote_patch_strip": 0
- }
- }
- },
- "rules_python@0.22.1": {
- "name": "rules_python",
- "version": "0.22.1",
- "key": "rules_python@0.22.1",
- "repoName": "rules_python",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [
- "@bazel_tools//tools/python:autodetecting_toolchain"
- ],
- "extensionUsages": [
- {
- "extensionBzlFile": "@rules_python//python/extensions/private:internal_deps.bzl",
- "extensionName": "internal_deps",
- "usingModule": "rules_python@0.22.1",
- "location": {
- "file": "https://bcr.bazel.build/modules/rules_python/0.22.1/MODULE.bazel",
- "line": 14,
- "column": 30
- },
- "imports": {
- "pypi__build": "pypi__build",
- "pypi__click": "pypi__click",
- "pypi__colorama": "pypi__colorama",
- "pypi__importlib_metadata": "pypi__importlib_metadata",
- "pypi__installer": "pypi__installer",
- "pypi__more_itertools": "pypi__more_itertools",
- "pypi__packaging": "pypi__packaging",
- "pypi__pep517": "pypi__pep517",
- "pypi__pip": "pypi__pip",
- "pypi__pip_tools": "pypi__pip_tools",
- "pypi__setuptools": "pypi__setuptools",
- "pypi__tomli": "pypi__tomli",
- "pypi__wheel": "pypi__wheel",
- "pypi__zipp": "pypi__zipp",
- "pypi__coverage_cp310_aarch64-apple-darwin": "pypi__coverage_cp310_aarch64-apple-darwin",
- "pypi__coverage_cp310_aarch64-unknown-linux-gnu": "pypi__coverage_cp310_aarch64-unknown-linux-gnu",
- "pypi__coverage_cp310_x86_64-apple-darwin": "pypi__coverage_cp310_x86_64-apple-darwin",
- "pypi__coverage_cp310_x86_64-unknown-linux-gnu": "pypi__coverage_cp310_x86_64-unknown-linux-gnu",
- "pypi__coverage_cp311_aarch64-unknown-linux-gnu": "pypi__coverage_cp311_aarch64-unknown-linux-gnu",
- "pypi__coverage_cp311_x86_64-apple-darwin": "pypi__coverage_cp311_x86_64-apple-darwin",
- "pypi__coverage_cp311_x86_64-unknown-linux-gnu": "pypi__coverage_cp311_x86_64-unknown-linux-gnu",
- "pypi__coverage_cp38_aarch64-apple-darwin": "pypi__coverage_cp38_aarch64-apple-darwin",
- "pypi__coverage_cp38_aarch64-unknown-linux-gnu": "pypi__coverage_cp38_aarch64-unknown-linux-gnu",
- "pypi__coverage_cp38_x86_64-apple-darwin": "pypi__coverage_cp38_x86_64-apple-darwin",
- "pypi__coverage_cp38_x86_64-unknown-linux-gnu": "pypi__coverage_cp38_x86_64-unknown-linux-gnu",
- "pypi__coverage_cp39_aarch64-apple-darwin": "pypi__coverage_cp39_aarch64-apple-darwin",
- "pypi__coverage_cp39_aarch64-unknown-linux-gnu": "pypi__coverage_cp39_aarch64-unknown-linux-gnu",
- "pypi__coverage_cp39_x86_64-apple-darwin": "pypi__coverage_cp39_x86_64-apple-darwin",
- "pypi__coverage_cp39_x86_64-unknown-linux-gnu": "pypi__coverage_cp39_x86_64-unknown-linux-gnu"
- },
- "devImports": [],
- "tags": [
- {
- "tagName": "install",
- "attributeValues": {},
- "devDependency": false,
- "location": {
- "file": "https://bcr.bazel.build/modules/rules_python/0.22.1/MODULE.bazel",
- "line": 15,
- "column": 22
- }
- }
- ],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- },
- {
- "extensionBzlFile": "@rules_python//python/extensions:python.bzl",
- "extensionName": "python",
- "usingModule": "rules_python@0.22.1",
- "location": {
- "file": "https://bcr.bazel.build/modules/rules_python/0.22.1/MODULE.bazel",
- "line": 50,
- "column": 23
- },
- "imports": {
- "pythons_hub": "pythons_hub"
- },
- "devImports": [],
- "tags": [],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- }
- ],
- "deps": {
- "platforms": "platforms@0.0.7",
- "bazel_skylib": "bazel_skylib@1.3.0",
- "rules_proto": "rules_proto@5.3.0-21.7",
- "com_google_protobuf": "protobuf@21.7",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "urls": [
- "https://github.com/bazelbuild/rules_python/releases/download/0.22.1/rules_python-0.22.1.tar.gz"
- ],
- "integrity": "sha256-pWQP3dS+sD6MH95e1xYMC6a9R359BIZhwwwGk2om/WM=",
- "strip_prefix": "rules_python-0.22.1",
- "remote_patches": {
- "https://bcr.bazel.build/modules/rules_python/0.22.1/patches/module_dot_bazel_version.patch": "sha256-3+VLDH9gYDzNI4eOW7mABC/LKxh1xqF6NhacLbNTucs="
- },
- "remote_patch_strip": 1
- }
- }
- },
- "buildozer@6.4.0.2": {
- "name": "buildozer",
- "version": "6.4.0.2",
- "key": "buildozer@6.4.0.2",
- "repoName": "buildozer",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [],
- "extensionUsages": [
- {
- "extensionBzlFile": "@buildozer//:buildozer_binary.bzl",
- "extensionName": "buildozer_binary",
- "usingModule": "buildozer@6.4.0.2",
- "location": {
- "file": "https://bcr.bazel.build/modules/buildozer/6.4.0.2/MODULE.bazel",
- "line": 7,
- "column": 33
- },
- "imports": {
- "buildozer_binary": "buildozer_binary"
- },
- "devImports": [],
- "tags": [
- {
- "tagName": "buildozer",
- "attributeValues": {
- "sha256": {
- "darwin-amd64": "d29e347ecd6b5673d72cb1a8de05bf1b06178dd229ff5eb67fad5100c840cc8e",
- "darwin-arm64": "9b9e71bdbec5e7223871e913b65d12f6d8fa026684daf991f00e52ed36a6978d",
- "linux-amd64": "8dfd6345da4e9042daa738d7fdf34f699c5dfce4632f7207956fceedd8494119",
- "linux-arm64": "6559558fded658c8fa7432a9d011f7c4dcbac6b738feae73d2d5c352e5f605fa",
- "windows-amd64": "e7f05bf847f7c3689dd28926460ce6e1097ae97380ac8e6ae7147b7b706ba19b"
- },
- "version": "6.4.0"
- },
- "devDependency": false,
- "location": {
- "file": "https://bcr.bazel.build/modules/buildozer/6.4.0.2/MODULE.bazel",
- "line": 8,
- "column": 27
- }
- }
- ],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- }
- ],
- "deps": {
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "urls": [
- "https://github.com/fmeum/buildozer/releases/download/v6.4.0.2/buildozer-v6.4.0.2.tar.gz"
- ],
- "integrity": "sha256-k7tFKQMR2AygxpmZfH0yEPnQmF3efFgD9rBPkj+Yz/8=",
- "strip_prefix": "buildozer-6.4.0.2",
- "remote_patches": {
- "https://bcr.bazel.build/modules/buildozer/6.4.0.2/patches/module_dot_bazel_version.patch": "sha256-gKANF2HMilj7bWmuXs4lbBIAAansuWC4IhWGB/CerjU="
- },
- "remote_patch_strip": 1
- }
- }
- },
- "platforms@0.0.7": {
- "name": "platforms",
- "version": "0.0.7",
- "key": "platforms@0.0.7",
- "repoName": "platforms",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [],
- "extensionUsages": [],
- "deps": {
- "rules_license": "rules_license@0.0.7",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "urls": [
- "https://github.com/bazelbuild/platforms/releases/download/0.0.7/platforms-0.0.7.tar.gz"
- ],
- "integrity": "sha256-OlYcmee9vpFzqmU/1Xn+hJ8djWc5V4CrR3Cx84FDHVE=",
- "strip_prefix": "",
- "remote_patches": {},
- "remote_patch_strip": 0
- }
- }
- },
- "protobuf@21.7": {
- "name": "protobuf",
- "version": "21.7",
- "key": "protobuf@21.7",
- "repoName": "protobuf",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [],
- "extensionUsages": [
- {
- "extensionBzlFile": "@rules_jvm_external//:extensions.bzl",
- "extensionName": "maven",
- "usingModule": "protobuf@21.7",
- "location": {
- "file": "https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel",
- "line": 22,
- "column": 22
- },
- "imports": {
- "maven": "maven"
- },
- "devImports": [],
- "tags": [
- {
- "tagName": "install",
- "attributeValues": {
- "name": "maven",
- "artifacts": [
- "com.google.code.findbugs:jsr305:3.0.2",
- "com.google.code.gson:gson:2.8.9",
- "com.google.errorprone:error_prone_annotations:2.3.2",
- "com.google.j2objc:j2objc-annotations:1.3",
- "com.google.guava:guava:31.1-jre",
- "com.google.guava:guava-testlib:31.1-jre",
- "com.google.truth:truth:1.1.2",
- "junit:junit:4.13.2",
- "org.mockito:mockito-core:4.3.1"
- ]
- },
- "devDependency": false,
- "location": {
- "file": "https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel",
- "line": 24,
- "column": 14
- }
- }
- ],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- }
- ],
- "deps": {
- "bazel_skylib": "bazel_skylib@1.3.0",
- "rules_python": "rules_python@0.22.1",
- "rules_cc": "rules_cc@0.0.9",
- "rules_proto": "rules_proto@5.3.0-21.7",
- "rules_java": "rules_java@7.4.0",
- "rules_pkg": "rules_pkg@0.7.0",
- "com_google_abseil": "abseil-cpp@20211102.0",
- "zlib": "zlib@1.3",
- "upb": "upb@0.0.0-20220923-a547704",
- "rules_jvm_external": "rules_jvm_external@4.4.2",
- "com_google_googletest": "googletest@1.11.0",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "urls": [
- "https://github.com/protocolbuffers/protobuf/releases/download/v21.7/protobuf-all-21.7.zip"
- ],
- "integrity": "sha256-VJOiH17T/FAuZv7GuUScBqVRztYwAvpIkDxA36jeeko=",
- "strip_prefix": "protobuf-21.7",
- "remote_patches": {
- "https://bcr.bazel.build/modules/protobuf/21.7/patches/add_module_dot_bazel.patch": "sha256-q3V2+eq0v2XF0z8z+V+QF4cynD6JvHI1y3kI/+rzl5s=",
- "https://bcr.bazel.build/modules/protobuf/21.7/patches/add_module_dot_bazel_for_examples.patch": "sha256-O7YP6s3lo/1opUiO0jqXYORNHdZ/2q3hjz1QGy8QdIU=",
- "https://bcr.bazel.build/modules/protobuf/21.7/patches/relative_repo_names.patch": "sha256-RK9RjW8T5UJNG7flIrnFiNE9vKwWB+8uWWtJqXYT0w4=",
- "https://bcr.bazel.build/modules/protobuf/21.7/patches/add_missing_files.patch": "sha256-Hyne4DG2u5bXcWHNxNMirA2QFAe/2Cl8oMm1XJdkQIY="
- },
- "remote_patch_strip": 1
- }
- }
- },
- "zlib@1.3": {
- "name": "zlib",
- "version": "1.3",
- "key": "zlib@1.3",
- "repoName": "zlib",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [],
- "extensionUsages": [],
- "deps": {
- "platforms": "platforms@0.0.7",
- "rules_cc": "rules_cc@0.0.9",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "urls": [
- "https://github.com/madler/zlib/releases/download/v1.3/zlib-1.3.tar.gz"
- ],
- "integrity": "sha256-/wukwpIBPbwnUws6geH5qBPNOd4Byl4Pi/NVcC76WT4=",
- "strip_prefix": "zlib-1.3",
- "remote_patches": {
- "https://bcr.bazel.build/modules/zlib/1.3/patches/add_build_file.patch": "sha256-Ei+FYaaOo7A3jTKunMEodTI0Uw5NXQyZEcboMC8JskY=",
- "https://bcr.bazel.build/modules/zlib/1.3/patches/module_dot_bazel.patch": "sha256-fPWLM+2xaF/kuy+kZc1YTfW6hNjrkG400Ho7gckuyJk="
- },
- "remote_patch_strip": 0
- }
- }
- },
- "apple_support@1.5.0": {
- "name": "apple_support",
- "version": "1.5.0",
- "key": "apple_support@1.5.0",
- "repoName": "build_bazel_apple_support",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [
- "@local_config_apple_cc_toolchains//:all"
- ],
- "extensionUsages": [
- {
- "extensionBzlFile": "@build_bazel_apple_support//crosstool:setup.bzl",
- "extensionName": "apple_cc_configure_extension",
- "usingModule": "apple_support@1.5.0",
- "location": {
- "file": "https://bcr.bazel.build/modules/apple_support/1.5.0/MODULE.bazel",
- "line": 17,
- "column": 35
- },
- "imports": {
- "local_config_apple_cc": "local_config_apple_cc",
- "local_config_apple_cc_toolchains": "local_config_apple_cc_toolchains"
- },
- "devImports": [],
- "tags": [],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- }
- ],
- "deps": {
- "bazel_skylib": "bazel_skylib@1.3.0",
- "platforms": "platforms@0.0.7",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "urls": [
- "https://github.com/bazelbuild/apple_support/releases/download/1.5.0/apple_support.1.5.0.tar.gz"
- ],
- "integrity": "sha256-miM41vja0yRPgj8txghKA+TQ+7J8qJLclw5okNW0gYQ=",
- "strip_prefix": "",
- "remote_patches": {},
- "remote_patch_strip": 0
- }
- }
- },
- "bazel_skylib@1.3.0": {
- "name": "bazel_skylib",
- "version": "1.3.0",
- "key": "bazel_skylib@1.3.0",
- "repoName": "bazel_skylib",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [
- "//toolchains/unittest:cmd_toolchain",
- "//toolchains/unittest:bash_toolchain"
- ],
- "extensionUsages": [],
- "deps": {
- "platforms": "platforms@0.0.7",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "urls": [
- "https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz"
- ],
- "integrity": "sha256-dNVE2W9KW7Yw1GXKi7z+Ix41lOWq5X4e2/F6brPKJQY=",
- "strip_prefix": "",
- "remote_patches": {},
- "remote_patch_strip": 0
- }
- }
- },
- "rules_pkg@0.7.0": {
- "name": "rules_pkg",
- "version": "0.7.0",
- "key": "rules_pkg@0.7.0",
- "repoName": "rules_pkg",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [],
- "extensionUsages": [],
- "deps": {
- "rules_python": "rules_python@0.22.1",
- "bazel_skylib": "bazel_skylib@1.3.0",
- "rules_license": "rules_license@0.0.7",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "urls": [
- "https://github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz"
- ],
- "integrity": "sha256-iimOgydi7aGDBZfWT+fbWBeKqEzVkm121bdE1lWJQcI=",
- "strip_prefix": "",
- "remote_patches": {
- "https://bcr.bazel.build/modules/rules_pkg/0.7.0/patches/module_dot_bazel.patch": "sha256-4OaEPZwYF6iC71ZTDg6MJ7LLqX7ZA0/kK4mT+4xKqiE="
- },
- "remote_patch_strip": 0
- }
- }
- },
- "abseil-cpp@20211102.0": {
- "name": "abseil-cpp",
- "version": "20211102.0",
- "key": "abseil-cpp@20211102.0",
- "repoName": "abseil-cpp",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [],
- "extensionUsages": [],
- "deps": {
- "rules_cc": "rules_cc@0.0.9",
- "platforms": "platforms@0.0.7",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "urls": [
- "https://github.com/abseil/abseil-cpp/archive/refs/tags/20211102.0.tar.gz"
- ],
- "integrity": "sha256-3PcbnLqNwMqZQMSzFqDHlr6Pq0KwcLtrfKtitI8OZsQ=",
- "strip_prefix": "abseil-cpp-20211102.0",
- "remote_patches": {
- "https://bcr.bazel.build/modules/abseil-cpp/20211102.0/patches/module_dot_bazel.patch": "sha256-4izqopgGCey4jVZzl/w3M2GVPNohjh2B5TmbThZNvPY="
- },
- "remote_patch_strip": 0
- }
- }
- },
- "upb@0.0.0-20220923-a547704": {
- "name": "upb",
- "version": "0.0.0-20220923-a547704",
- "key": "upb@0.0.0-20220923-a547704",
- "repoName": "upb",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [],
- "extensionUsages": [],
- "deps": {
- "bazel_skylib": "bazel_skylib@1.3.0",
- "rules_proto": "rules_proto@5.3.0-21.7",
- "com_google_protobuf": "protobuf@21.7",
- "com_google_absl": "abseil-cpp@20211102.0",
- "platforms": "platforms@0.0.7",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "urls": [
- "https://github.com/protocolbuffers/upb/archive/a5477045acaa34586420942098f5fecd3570f577.tar.gz"
- ],
- "integrity": "sha256-z39x6v+QskwaKLSWRan/A6mmwecTQpHOcJActj5zZLU=",
- "strip_prefix": "upb-a5477045acaa34586420942098f5fecd3570f577",
- "remote_patches": {
- "https://bcr.bazel.build/modules/upb/0.0.0-20220923-a547704/patches/module_dot_bazel.patch": "sha256-wH4mNS6ZYy+8uC0HoAft/c7SDsq2Kxf+J8dUakXhaB0="
- },
- "remote_patch_strip": 0
- }
- }
- },
- "rules_jvm_external@4.4.2": {
- "name": "rules_jvm_external",
- "version": "4.4.2",
- "key": "rules_jvm_external@4.4.2",
- "repoName": "rules_jvm_external",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [],
- "extensionUsages": [
- {
- "extensionBzlFile": "@rules_jvm_external//:non-module-deps.bzl",
- "extensionName": "non_module_deps",
- "usingModule": "rules_jvm_external@4.4.2",
- "location": {
- "file": "https://bcr.bazel.build/modules/rules_jvm_external/4.4.2/MODULE.bazel",
- "line": 9,
- "column": 32
- },
- "imports": {
- "io_bazel_rules_kotlin": "io_bazel_rules_kotlin"
- },
- "devImports": [],
- "tags": [],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- },
- {
- "extensionBzlFile": "@rules_jvm_external//:extensions.bzl",
- "extensionName": "maven",
- "usingModule": "rules_jvm_external@4.4.2",
- "location": {
- "file": "https://bcr.bazel.build/modules/rules_jvm_external/4.4.2/MODULE.bazel",
- "line": 16,
- "column": 22
- },
- "imports": {
- "rules_jvm_external_deps": "rules_jvm_external_deps"
- },
- "devImports": [],
- "tags": [
- {
- "tagName": "install",
- "attributeValues": {
- "name": "rules_jvm_external_deps",
- "artifacts": [
- "com.google.cloud:google-cloud-core:1.93.10",
- "com.google.cloud:google-cloud-storage:1.113.4",
- "com.google.code.gson:gson:2.9.0",
- "org.apache.maven:maven-artifact:3.8.6",
- "software.amazon.awssdk:s3:2.17.183"
- ],
- "lock_file": "@rules_jvm_external//:rules_jvm_external_deps_install.json"
- },
- "devDependency": false,
- "location": {
- "file": "https://bcr.bazel.build/modules/rules_jvm_external/4.4.2/MODULE.bazel",
- "line": 18,
- "column": 14
- }
- }
- ],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- }
- ],
- "deps": {
- "bazel_skylib": "bazel_skylib@1.3.0",
- "io_bazel_stardoc": "stardoc@0.5.1",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "urls": [
- "https://github.com/bazelbuild/rules_jvm_external/archive/refs/tags/4.4.2.zip"
- ],
- "integrity": "sha256-c1YC9QgT6y6pPKP15DsZWb2AshO4NqB6YqKddXZwt3s=",
- "strip_prefix": "rules_jvm_external-4.4.2",
- "remote_patches": {},
- "remote_patch_strip": 0
- }
- }
- },
- "googletest@1.11.0": {
- "name": "googletest",
- "version": "1.11.0",
- "key": "googletest@1.11.0",
- "repoName": "googletest",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [],
- "extensionUsages": [],
- "deps": {
- "com_google_absl": "abseil-cpp@20211102.0",
- "platforms": "platforms@0.0.7",
- "rules_cc": "rules_cc@0.0.9",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "urls": [
- "https://github.com/google/googletest/archive/refs/tags/release-1.11.0.tar.gz"
- ],
- "integrity": "sha256-tIcL8SH/d5W6INILzdhie44Ijy0dqymaAxwQNO3ck9U=",
- "strip_prefix": "googletest-release-1.11.0",
- "remote_patches": {
- "https://bcr.bazel.build/modules/googletest/1.11.0/patches/module_dot_bazel.patch": "sha256-HuahEdI/n8KCI071sN3CEziX+7qP/Ec77IWayYunLP0="
- },
- "remote_patch_strip": 0
- }
- }
- },
- "stardoc@0.5.1": {
- "name": "stardoc",
- "version": "0.5.1",
- "key": "stardoc@0.5.1",
- "repoName": "stardoc",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [],
- "extensionUsages": [],
- "deps": {
- "bazel_skylib": "bazel_skylib@1.3.0",
- "rules_java": "rules_java@7.4.0",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "urls": [
- "https://github.com/bazelbuild/stardoc/releases/download/0.5.1/stardoc-0.5.1.tar.gz"
- ],
- "integrity": "sha256-qoFNrgrEALurLoiB+ZFcb0fElmS/CHxAmhX5BDjSwj4=",
- "strip_prefix": "",
- "remote_patches": {
- "https://bcr.bazel.build/modules/stardoc/0.5.1/patches/module_dot_bazel.patch": "sha256-UAULCuTpJE7SG0YrR9XLjMfxMRmbP+za3uW9ONZ5rjI="
- },
- "remote_patch_strip": 0
- }
- }
- }
- },
- "moduleExtensions": {}
-}
diff --git a/e2e/workspace/WORKSPACE b/e2e/workspace/WORKSPACE.bazel
similarity index 87%
rename from e2e/workspace/WORKSPACE
rename to e2e/workspace/WORKSPACE.bazel
index bf2dd77..bad0227 100644
--- a/e2e/workspace/WORKSPACE
+++ b/e2e/workspace/WORKSPACE.bazel
@@ -15,15 +15,24 @@ local_repository(
# 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()
+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(
diff --git a/e2e/workspace/WORKSPACE.bzlmod b/e2e/workspace/WORKSPACE.bzlmod
new file mode 100644
index 0000000..e69de29
diff --git a/internal_deps.bzl b/internal_deps.bzl
index df3c650..c4afc2a 100644
--- a/internal_deps.bzl
+++ b/internal_deps.bzl
@@ -20,8 +20,8 @@ def rules_cypress_internal_deps():
http_archive(
name = "io_bazel_stardoc",
- sha256 = "3fd8fec4ddec3c670bd810904e2e33170bedfe12f90adf943508184be458c8bb",
- urls = ["https://github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz"],
+ sha256 = "62bd2e60216b7a6fec3ac79341aa201e0956477e7c8f6ccc286f279ad1d96432",
+ urls = ["https://github.com/bazelbuild/stardoc/releases/download/0.6.2/stardoc-0.6.2.tar.gz"],
)
# To update CHROME_REVISION, use the below script