From 567f22c9ce54d713c5674c4221f622e6dc42a81f Mon Sep 17 00:00:00 2001 From: Jason Bedard Date: Thu, 15 Aug 2024 12:09:58 -0700 Subject: [PATCH] build: upgrade to rules_js v2 --- MODULE.bazel | 2 +- e2e/smoke/MODULE.bazel | 2 +- webpack/dependencies.bzl | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index 8b486d9..6b47d8e 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-rc1") +bazel_dep(name = "aspect_rules_js", version = "2.0.0") bazel_dep(name = "bazel_skylib", version = "1.5.0") ####### Dev dependencies ######## diff --git a/e2e/smoke/MODULE.bazel b/e2e/smoke/MODULE.bazel index 07faa95..8816827 100644 --- a/e2e/smoke/MODULE.bazel +++ b/e2e/smoke/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-rc1", 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) npm = use_extension("@aspect_rules_js//npm:extensions.bzl", "npm", dev_dependency = True) diff --git a/webpack/dependencies.bzl b/webpack/dependencies.bzl index 8d7ea49..2c4992a 100644 --- a/webpack/dependencies.bzl +++ b/webpack/dependencies.bzl @@ -23,9 +23,9 @@ def rules_webpack_dependencies(): http_archive( name = "aspect_rules_js", - sha256 = "7085e915cdba6f2dc0ce93bef59f5d040a539b510b840456b6ac7ccc2bee7886", - strip_prefix = "rules_js-2.0.0-rc1", - url = "https://github.com/aspect-build/rules_js/releases/download/v2.0.0-rc1/rules_js-v2.0.0-rc1.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(