mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:31:43 +00:00
chore(bazel): bump to aspect_bazel_lib 2.7.7 (#63012)
This commit is contained in:
parent
9afc06c631
commit
a3afa08161
@ -8,3 +8,4 @@
|
||||
# details.
|
||||
# Docs: https://nodejs.org/en/docs/guides/debugging-getting-started/#command-line-options
|
||||
run:debug -- --node_options=--inspect-brk
|
||||
test:debug --test_env=NODE_OPTIONS=--inspect-brk
|
||||
|
||||
12
WORKSPACE
12
WORKSPACE
@ -28,9 +28,9 @@ bazel_skylib_workspace()
|
||||
|
||||
http_archive(
|
||||
name = "aspect_bazel_lib",
|
||||
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",
|
||||
sha256 = "6d758a8f646ecee7a3e294fbe4386daafbe0e5966723009c290d493f227c390b",
|
||||
strip_prefix = "bazel-lib-2.7.7",
|
||||
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.7.7/bazel-lib-v2.7.7.tar.gz",
|
||||
)
|
||||
|
||||
# rules_js defines an older rules_nodejs, so we override it here
|
||||
@ -156,11 +156,11 @@ http_archive(
|
||||
url = "https://github.com/aspect-build/aspect-cli/archive/5.8.20.tar.gz",
|
||||
)
|
||||
|
||||
load("@aspect_bazel_lib//lib:repositories.bzl", "register_expand_template_toolchains", "register_jq_toolchains")
|
||||
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")
|
||||
|
||||
register_jq_toolchains()
|
||||
aspect_bazel_lib_dependencies()
|
||||
|
||||
register_expand_template_toolchains()
|
||||
aspect_bazel_lib_register_toolchains()
|
||||
|
||||
http_archive(
|
||||
name = "rules_apko",
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
load("@aspect_bazel_lib//lib:copy_to_bin.bzl", "copy_files_to_bin_actions")
|
||||
load("//dev:js_lib.bzl", "gather_files_from_js_providers", "gather_runfiles")
|
||||
load("@aspect_bazel_lib//lib:copy_to_bin.bzl", "COPY_FILE_TO_BIN_TOOLCHAINS", "copy_files_to_bin_actions")
|
||||
load("@aspect_rules_js//js:defs.bzl", "js_library")
|
||||
load("@aspect_rules_js//js:providers.bzl", "JsInfo")
|
||||
load("//dev:js_lib.bzl", "gather_files_from_js_providers", "gather_runfiles")
|
||||
|
||||
def eslint_config_and_lint_root(name = "eslint_config", config_deps = [], root_js_deps = []):
|
||||
"""
|
||||
@ -147,6 +147,7 @@ _eslint_test_with_types = rule(
|
||||
"binary": attr.label(executable = True, cfg = "exec", allow_files = True),
|
||||
"report": attr.string(),
|
||||
},
|
||||
toolchains = COPY_FILE_TO_BIN_TOOLCHAINS,
|
||||
)
|
||||
|
||||
def eslint_test_with_types(name, **kwargs):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user