From 64d7e89fe648dabc0f930945aee468f4ce4bb826 Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Thu, 28 Mar 2024 22:16:08 -0700 Subject: [PATCH] chore: update Aspect rules (#413) In particular, bazel-lib to 2.x --- frontend/MODULE.bazel | 10 +++++----- frontend/lint.bzl | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/frontend/MODULE.bazel b/frontend/MODULE.bazel index 750a3bee6..619586de9 100644 --- a/frontend/MODULE.bazel +++ b/frontend/MODULE.bazel @@ -1,14 +1,14 @@ "Bazel module dependencies, see https://bazel.build/external/overview#bzlmod" -bazel_dep(name = "aspect_bazel_lib", version = "1.33.0") -bazel_dep(name = "aspect_rules_lint", version = "0.12.0") -bazel_dep(name = "aspect_rules_jest", version = "0.19.6") +bazel_dep(name = "aspect_bazel_lib", version = "2.5.0") +bazel_dep(name = "aspect_rules_lint", version = "0.15.0") +bazel_dep(name = "aspect_rules_jest", version = "0.20.0") bazel_dep(name = "aspect_rules_js", version = "1.38.0") bazel_dep(name = "aspect_rules_swc", version = "1.1.0") bazel_dep(name = "aspect_rules_ts", version = "2.2.0") bazel_dep(name = "aspect_rules_rollup", version = "1.0.0") -bazel_dep(name = "aspect_rules_webpack", version = "0.13.0") -bazel_dep(name = "bazel_skylib", version = "1.4.2") +bazel_dep(name = "aspect_rules_webpack", version = "0.14.0") +bazel_dep(name = "bazel_skylib", version = "1.5.0") pnpm = use_extension("@aspect_rules_js//npm:extensions.bzl", "pnpm", dev_dependency = True) use_repo(pnpm, "pnpm") diff --git a/frontend/lint.bzl b/frontend/lint.bzl index 641219c21..ae13cdd99 100644 --- a/frontend/lint.bzl +++ b/frontend/lint.bzl @@ -1,9 +1,9 @@ "Define linters as aspects" -load("@aspect_rules_lint//lint:eslint.bzl", "eslint_aspect") -load("@aspect_rules_lint//lint:lint_test.bzl", "make_lint_test") +load("@aspect_rules_lint//lint:eslint.bzl", "lint_eslint_aspect") +load("@aspect_rules_lint//lint:lint_test.bzl", "lint_test") -eslint = eslint_aspect( +eslint = lint_eslint_aspect( binary = "@@//:eslint", configs = [ "@@//react:package_json", @@ -11,4 +11,4 @@ eslint = eslint_aspect( ], ) -eslint_test = make_lint_test(aspect = eslint) +eslint_test = lint_test(aspect = eslint)