Skip to content

Commit 8b15bbb

Browse files
committed
refactor: upgrade aspect_bazel_lib to bazel_lib
1 parent b1ace66 commit 8b15bbb

File tree

90 files changed

+165
-1330
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+165
-1330
lines changed

BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
load("@acorn__8.4.0__links//:defs.bzl", npm_link_acorn = "npm_link_imported_package")
2-
load("@aspect_bazel_lib//lib:diff_test.bzl", "diff_test")
2+
load("@bazel_lib//lib:diff_test.bzl", "diff_test")
33
load("@bazel_skylib//rules:build_test.bzl", "build_test")
44
load("@buildifier_prebuilt//:rules.bzl", "buildifier")
55
load("@npm//:defs.bzl", "npm_link_all_packages", "npm_link_targets")

MODULE.bazel

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ module(
88

99
# Lower-bounds (minimum) versions for direct runtime dependencies.
1010
# Do not bump these unless rules_js requires a newer version to function.
11-
bazel_dep(name = "aspect_bazel_lib", version = "2.17.1") # TODO(alexeagle): remove
1211
bazel_dep(name = "tar.bzl", version = "0.6.0")
1312
bazel_dep(name = "yq.bzl", version = "0.3.1")
1413
bazel_dep(name = "aspect_tools_telemetry", version = "0.2.8")
1514
bazel_dep(name = "bazel_features", version = "1.9.0")
1615
bazel_dep(name = "bazel_lib", version = "3.0.0")
16+
bazel_dep(name = "jq.bzl", version = "0.4.0")
1717
bazel_dep(name = "bazel_skylib", version = "1.5.0")
1818
bazel_dep(name = "platforms", version = "0.0.5")
1919
bazel_dep(name = "rules_nodejs", version = "6.6.0")
@@ -36,7 +36,7 @@ pnpm = use_extension("@aspect_rules_js//npm:extensions.bzl", "pnpm")
3636
pnpm.pnpm(name = "pnpm")
3737
use_repo(pnpm, "pnpm", "pnpm__links")
3838

39-
bazel_lib_toolchains = use_extension("@aspect_bazel_lib//lib:extensions.bzl", "toolchains")
39+
bazel_lib_toolchains = use_extension("@bazel_lib//lib:extensions.bzl", "toolchains")
4040
use_repo(
4141
bazel_lib_toolchains,
4242
"coreutils_toolchains",
@@ -83,12 +83,12 @@ bazel_dep(name = "buildifier_prebuilt", version = "8.0.1", dev_dependency = True
8383
bazel_dep(name = "rules_shell", version = "0.6.1", dev_dependency = True)
8484

8585
host = use_extension(
86-
"@aspect_bazel_lib//lib:extensions.bzl",
86+
"@bazel_lib//lib:extensions.bzl",
8787
"host",
8888
dev_dependency = True,
8989
)
9090
host.host()
91-
use_repo(host, "aspect_bazel_lib_host")
91+
use_repo(host, "bazel_lib_host")
9292

9393
node_dev = use_extension(
9494
"@rules_nodejs//nodejs:extensions.bzl",

contrib/nextjs/BUILD.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ bzl_library(
1313
srcs = ["defs.bzl"],
1414
deps = [
1515
"//js:defs",
16-
"@aspect_bazel_lib//lib:copy_file",
17-
"@aspect_bazel_lib//lib:copy_to_directory",
18-
"@aspect_bazel_lib//lib:directory_path",
16+
"@bazel_lib//lib:copy_file",
17+
"@bazel_lib//lib:copy_to_directory",
18+
"@bazel_lib//lib:directory_path",
1919
],
2020
)
2121

contrib/nextjs/defs.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ For [standalone applications](https://nextjs.org/docs/app/api-reference/config/n
4444
[standalone directory structure guidelines](https://nextjs.org/docs/app/api-reference/config/next-config-js/output#automatically-copying-traced-files)
4545
"""
4646

47-
load("@aspect_bazel_lib//lib:copy_file.bzl", "copy_file")
48-
load("@aspect_bazel_lib//lib:copy_to_directory.bzl", "copy_to_directory")
49-
load("@aspect_bazel_lib//lib:directory_path.bzl", "directory_path")
47+
load("@bazel_lib//lib:copy_file.bzl", "copy_file")
48+
load("@bazel_lib//lib:copy_to_directory.bzl", "copy_to_directory")
49+
load("@bazel_lib//lib:directory_path.bzl", "directory_path")
5050
load("//js:defs.bzl", "js_binary", "js_run_binary", "js_run_devserver")
5151

5252
# The Next.js output directory which is not configurable

0 commit comments

Comments
 (0)