diff --git a/MODULE.bazel b/MODULE.bazel index f442b77b..e28b6b0b 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -8,7 +8,7 @@ module( # Lower-bounds (minimum) versions for direct runtime dependencies bazel_dep(name = "aspect_bazel_lib", version = "2.7.7") -bazel_dep(name = "aspect_rules_js", version = "2.0.0-rc8") +bazel_dep(name = "aspect_rules_js", version = "2.0.0") bazel_dep(name = "bazel_skylib", version = "1.5.0") bazel_dep(name = "platforms", version = "0.0.5") diff --git a/WORKSPACE b/WORKSPACE index 05b7c5ed..ae090fbf 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -27,13 +27,6 @@ nodejs_register_toolchains( node_version = "18.12.0", ) -load("@aspect_rules_swc//swc:repositories.bzl", "LATEST_SWC_VERSION", "swc_register_toolchains") - -swc_register_toolchains( - name = "swc", - swc_version = LATEST_SWC_VERSION, -) - # For running our own unit tests load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") diff --git a/e2e/bzlmod/MODULE.bazel b/e2e/bzlmod/MODULE.bazel index f6250bf3..505cdecf 100644 --- a/e2e/bzlmod/MODULE.bazel +++ b/e2e/bzlmod/MODULE.bazel @@ -4,7 +4,7 @@ local_path_override( path = "../..", ) -bazel_dep(name = "aspect_rules_js", version = "2.0.0-rc8", dev_dependency = True) # repeated here only because we use the platforms definitions for rbe +bazel_dep(name = "aspect_rules_js", version = "2.0.0", dev_dependency = True) # repeated here only because we use the platforms definitions for rbe bazel_dep(name = "bazel_skylib", version = "1.5.0", dev_dependency = True) bazel_dep(name = "rules_proto", version = "5.3.0-21.7", dev_dependency = True) bazel_dep(name = "toolchains_protoc", version = "0.2.4", dev_dependency = True) diff --git a/e2e/external_dep/MODULE.bazel b/e2e/external_dep/MODULE.bazel index 6480f045..7a86c0c6 100644 --- a/e2e/external_dep/MODULE.bazel +++ b/e2e/external_dep/MODULE.bazel @@ -11,7 +11,7 @@ local_path_override( # no such package '@[unknown repo 'aspect_rules_js' requested from @]//platforms': # The repository '@[unknown repo 'aspect_rules_js' requested from @]' could not be resolved: # No repository visible as '@aspect_rules_js' from main repository -bazel_dep(name = "aspect_rules_js", version = "2.0.0-rc8", dev_dependency = True) +bazel_dep(name = "aspect_rules_js", version = "2.0.0", dev_dependency = True) bazel_dep(name = "bazel_skylib", version = "1.5.0", dev_dependency = True) rules_ts_ext = use_extension("@aspect_rules_ts//ts:extensions.bzl", "ext", dev_dependency = True) diff --git a/e2e/external_dep/app/MODULE.bazel b/e2e/external_dep/app/MODULE.bazel index 7175d8bd..5c39b637 100644 --- a/e2e/external_dep/app/MODULE.bazel +++ b/e2e/external_dep/app/MODULE.bazel @@ -5,7 +5,7 @@ local_path_override( ) # TODO: see note on rules_js in the parent MODULE.bazel -bazel_dep(name = "aspect_rules_js", version = "2.0.0-rc8", dev_dependency = True) +bazel_dep(name = "aspect_rules_js", version = "2.0.0", dev_dependency = True) bazel_dep(name = "bazel_skylib", version = "1.5.0", dev_dependency = True) rules_ts_ext = use_extension("@aspect_rules_ts//ts:extensions.bzl", "ext", dev_dependency = True) diff --git a/e2e/worker/MODULE.bazel b/e2e/worker/MODULE.bazel index 2554532d..0dd77928 100644 --- a/e2e/worker/MODULE.bazel +++ b/e2e/worker/MODULE.bazel @@ -5,7 +5,7 @@ local_path_override( ) bazel_dep(name = "aspect_bazel_lib", version = "2.7.7", dev_dependency = True) -bazel_dep(name = "aspect_rules_js", version = "2.0.0-rc8", dev_dependency = True) +bazel_dep(name = "aspect_rules_js", version = "2.0.0", dev_dependency = True) bazel_dep(name = "bazel_skylib", version = "1.5.0", dev_dependency = True) rules_ts_ext = use_extension("@aspect_rules_ts//ts:extensions.bzl", "ext", dev_dependency = True) diff --git a/internal_deps.bzl b/internal_deps.bzl index 905d8af4..a6d74d1c 100644 --- a/internal_deps.bzl +++ b/internal_deps.bzl @@ -65,13 +65,6 @@ def rules_ts_internal_deps(): url = "https://github.com/aspect-build/rules_lint/releases/download/v0.6.1/rules_lint-v0.6.1.tar.gz", ) - http_archive( - name = "aspect_rules_swc", - sha256 = "b647c7c31feeb7f9330fff08b45f8afe7de674d3a9c89c712b8f9d1723d0c8f9", - strip_prefix = "rules_swc-1.0.1", - url = "https://github.com/aspect-build/rules_swc/releases/download/v1.0.1/rules_swc-v1.0.1.tar.gz", - ) - http_archive( name = "toolchains_protoc", sha256 = "117af61ee2f1b9b014dcac7c9146f374875551abb8a30e51d1b3c5946d25b142", diff --git a/ts/repositories.bzl b/ts/repositories.bzl index 7a16e75c..5bf8fe74 100644 --- a/ts/repositories.bzl +++ b/ts/repositories.bzl @@ -37,9 +37,9 @@ def rules_ts_bazel_dependencies(): http_archive( name = "aspect_rules_js", - sha256 = "c1c33715f459d112b53b2bb15fd53a738824c6d331a181abe33fe0ef2a2c3f1f", - strip_prefix = "rules_js-2.0.0-rc8", - url = "https://github.com/aspect-build/rules_js/releases/download/v2.0.0-rc8/rules_js-v2.0.0-rc8.tar.gz", + sha256 = "6b7e73c35b97615a09281090da3645d9f03b2a09e8caa791377ad9022c88e2e6", + strip_prefix = "rules_js-2.0.0", + url = "https://github.com/aspect-build/rules_js/releases/download/v2.0.0/rules_js-v2.0.0.tar.gz", ) http_archive(