Skip to content

Commit 3a09298

Browse files
committed
refactor: directly use yq.bzl module (#2501)
- Searched for relevant documentation and updated as needed: yes - Breaking change (forces users to change their own code or config): yes - Suggested release notes appear below: yes Remove `npm_translate_lock(yq_toolchain_prefix)`. Use bazel modules instead. - Covered by existing test cases
1 parent aed0d82 commit 3a09298

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

MODULE.bazel

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ bazel_dep(name = "bazel_lib", version = "3.0.0")
1515
bazel_dep(name = "bazel_skylib", version = "1.5.0")
1616
bazel_dep(name = "platforms", version = "0.0.5")
1717
bazel_dep(name = "rules_nodejs", version = "6.3.0")
18+
bazel_dep(name = "yq.bzl", version = "0.3.2")
1819

1920
tel = use_extension("@aspect_tools_telemetry//:extension.bzl", "telemetry")
2021
use_repo(tel, "aspect_tools_telemetry_report")
@@ -46,6 +47,11 @@ use_repo(
4647
"bsd_tar_windows_amd64",
4748
"bsd_tar_windows_arm64",
4849
"coreutils_toolchains",
50+
)
51+
52+
yq_toolchain = use_extension("@yq.bzl//yq:extensions.bzl", "yq")
53+
use_repo(
54+
yq_toolchain,
4955
"yq_darwin_amd64",
5056
"yq_darwin_arm64",
5157
"yq_linux_amd64",

0 commit comments

Comments
 (0)