diff --git a/MODULE.bazel b/MODULE.bazel index db5a56e..31b9540 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -6,10 +6,9 @@ module( compatibility_level = 1, ) +# Lower-bounds (minimum) versions for direct runtime dependencies bazel_dep(name = "aspect_bazel_lib", version = "1.31.2") - -# Note: only used for provider symbols, we don't spawn nodejs actions -bazel_dep(name = "aspect_rules_js", version = "1.31.0") +bazel_dep(name = "aspect_rules_js", version = "1.31.0") # Note: only used for provider symbols, we don't spawn nodejs actions bazel_dep(name = "bazel_skylib", version = "1.4.1") bazel_dep(name = "platforms", version = "0.0.7") diff --git a/e2e/smoke/MODULE.bazel b/e2e/smoke/MODULE.bazel index 94a67ff..11d04e8 100644 --- a/e2e/smoke/MODULE.bazel +++ b/e2e/smoke/MODULE.bazel @@ -1,15 +1,13 @@ -"Bazel dependencies" - bazel_dep(name = "aspect_rules_swc", version = "0.0.0", dev_dependency = True) -bazel_dep(name = "bazel_skylib", version = "1.4.1", dev_dependency = True) - local_path_override( module_name = "aspect_rules_swc", path = "../..", ) +bazel_dep(name = "bazel_skylib", version = "1.4.1", dev_dependency = True) + # Optional: specify a custom swc toolchain instead of the default -swc = use_extension("@aspect_rules_swc//swc:extensions.bzl", "swc") +swc = use_extension("@aspect_rules_swc//swc:extensions.bzl", "swc", dev_dependency = True) swc.toolchain( name = "swc", swc_version = "v1.3.78", @@ -17,5 +15,3 @@ swc.toolchain( use_repo(swc, "swc_toolchains") register_toolchains("@swc_toolchains//:all") - -#---SNIP--- Below here is re-used in the snippet published on releases