Skip to content

Commit 12cb04b

Browse files
committed
chore: switch to bazel-lib
Removes the older aspect_bazel_lib which will never go past 2.x
1 parent 7cbb1fb commit 12cb04b

File tree

12 files changed

+24
-24
lines changed

12 files changed

+24
-24
lines changed

WORKSPACE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ http_archive(
6060
# Dependencies & toolchains needed for unit tests & generating documentation
6161
#
6262

63-
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "register_copy_directory_toolchains", "register_copy_to_directory_toolchains")
63+
load("@bazel_lib//lib:repositories.bzl", "bazel_lib_dependencies", "register_copy_directory_toolchains", "register_copy_to_directory_toolchains")
6464

65-
aspect_bazel_lib_dependencies()
65+
bazel_lib_dependencies()
6666

6767
register_copy_directory_toolchains()
6868

e2e/nodejs_host/MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ local_path_override(
44
path = "../..",
55
)
66

7-
bazel_dep(name = "aspect_bazel_lib", version = "2.7.7", dev_dependency = True)
7+
bazel_dep(name = "bazel_lib", version = "3.0.0-beta.1", dev_dependency = True)
88
bazel_dep(name = "bazel_skylib", version = "1.7.1", dev_dependency = True)
99

1010
node = use_extension("@rules_nodejs//nodejs:extensions.bzl", "node", dev_dependency = True)

e2e/smoke/MODULE.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ local_path_override(
44
path = "../..",
55
)
66

7-
bazel_dep(name = "aspect_bazel_lib", version = "2.7.7", dev_dependency = True)
7+
bazel_dep(name = "bazel_lib", version = "3.0.0-beta.1", dev_dependency = True)
88
bazel_dep(name = "bazel_skylib", version = "1.7.1", dev_dependency = True)
99
bazel_dep(name = "platforms", version = "0.0.10", dev_dependency = True)
1010

@@ -42,7 +42,7 @@ http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "ht
4242

4343
http_archive(
4444
name = "npm_acorn-8.5.0",
45-
build_file_content = """load("@aspect_bazel_lib//lib:copy_directory.bzl", "copy_directory")
45+
build_file_content = """load("@bazel_lib//lib:copy_directory.bzl", "copy_directory")
4646
4747
# Turn a source directory into a TreeArtifact for RBE-compat
4848
copy_directory(

e2e/smoke/WORKSPACE.bazel

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ nodejs_register_toolchains(
1818

1919
http_archive(
2020
name = "npm_acorn-8.5.0",
21-
build_file_content = """load("@aspect_bazel_lib//lib:copy_directory.bzl", "copy_directory")
21+
build_file_content = """load("@bazel_lib//lib:copy_directory.bzl", "copy_directory")
2222
2323
# Turn a source directory into a TreeArtifact for RBE-compat
2424
copy_directory(
@@ -33,14 +33,14 @@ copy_directory(
3333
)
3434

3535
http_archive(
36-
name = "aspect_bazel_lib",
37-
sha256 = "6d758a8f646ecee7a3e294fbe4386daafbe0e5966723009c290d493f227c390b",
38-
strip_prefix = "bazel-lib-2.7.7",
39-
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.7.7/bazel-lib-v2.7.7.tar.gz",
36+
name = "bazel_lib",
37+
sha256 = "46960e9fa6c9352d883768280951ac388dba8cb9ff0256182fb77925eae2b6ac",
38+
strip_prefix = "bazel-lib-3.0.0-beta.1",
39+
url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v3.0.0-beta.1/bazel-lib-v3.0.0-beta.1.tar.gz",
4040
)
4141

42-
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")
42+
load("@bazel_lib//lib:repositories.bzl", "bazel_lib_dependencies", "bazel_lib_register_toolchains")
4343

44-
aspect_bazel_lib_dependencies()
44+
bazel_lib_dependencies()
4545

46-
aspect_bazel_lib_register_toolchains()
46+
bazel_lib_register_toolchains()

external/types_node.BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@aspect_bazel_lib//lib:copy_directory.bzl", "copy_directory")
1+
load("@bazel_lib//lib:copy_directory.bzl", "copy_directory")
22

33
# Turn a source directory into a TreeArtifact for RBE-compat
44
copy_directory(

external/typescript.BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@aspect_bazel_lib//lib:copy_directory.bzl", "copy_directory")
1+
load("@bazel_lib//lib:copy_directory.bzl", "copy_directory")
22

33
# Turn a source directory into a TreeArtifact for RBE-compat
44
copy_directory(

nodejs/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
1+
load("@bazel_lib//:bzl_library.bzl", "bzl_library")
22
load("//nodejs/private:nodejs_toolchains_repo.bzl", "PLATFORMS")
33
load("//nodejs/private:user_build_settings.bzl", "user_args")
44

nodejs/private/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
1+
load("@bazel_lib//:bzl_library.bzl", "bzl_library")
22

33
bzl_library(
44
name = "bzl",

nodejs/private/providers/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
15+
load("@bazel_lib//:bzl_library.bzl", "bzl_library")
1616

1717
bzl_library(
1818
name = "bzl",

packages/runfiles/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@aspect_bazel_lib//lib:copy_to_directory.bzl", "copy_to_directory")
1+
load("@bazel_lib//lib:copy_to_directory.bzl", "copy_to_directory")
22
load("@bazel_skylib//rules:build_test.bzl", "build_test")
33
load("//internal:tsc.bzl", "tsc")
44

0 commit comments

Comments
 (0)