Skip to content

Commit

Permalink
refactor: remove vendored is_bazel_7_or_greater from bazel-lib; use u…
Browse files Browse the repository at this point in the history
…pstream instead (#1578)
  • Loading branch information
gregmagolan committed Apr 28, 2024
1 parent b7c397f commit f0920ad
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
2 changes: 1 addition & 1 deletion js/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"Public API"

load("@aspect_bazel_lib//lib:utils.bzl", "is_bazel_7_or_greater")
load("@bazel_features//:features.bzl", "bazel_features")
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
load("//js/private:is_bazel_7_or_greater.bzl", "is_bazel_7_or_greater")

exports_files(
glob(["*.bzl"]),
Expand Down
2 changes: 1 addition & 1 deletion js/private/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"Internal implementation details"

load("@aspect_bazel_lib//lib:copy_to_bin.bzl", "copy_to_bin")
load("@aspect_bazel_lib//lib:utils.bzl", "is_bazel_7_or_greater")
load("@aspect_bazel_lib//lib:write_source_files.bzl", "write_source_files")
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
load("//js:defs.bzl", "js_binary")
load("//js/private:is_bazel_7_or_greater.bzl", "is_bazel_7_or_greater")

exports_files(
glob(["*.bzl"]),
Expand Down
7 changes: 0 additions & 7 deletions js/private/is_bazel_7_or_greater.bzl

This file was deleted.

4 changes: 1 addition & 3 deletions npm/private/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
"Internal implementation details"

load("@aspect_bazel_lib//lib:testing.bzl", "assert_contains")
load("@aspect_bazel_lib//lib:utils.bzl", "is_bazel_7_or_greater")
load("@aspect_rules_js//js:defs.bzl", "js_library")
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")

# buildifier: disable=bzl-visibility
load("//js/private:is_bazel_7_or_greater.bzl", "is_bazel_7_or_greater")

js_library(
name = "npm_publish_mjs",
srcs = ["npm_publish.mjs"],
Expand Down

0 comments on commit f0920ad

Please sign in to comment.