From f2b4916c5f6a554545aab162f44cfff182ffafc4 Mon Sep 17 00:00:00 2001 From: Long Ho Date: Sat, 11 Apr 2026 18:12:18 -0400 Subject: [PATCH] fix: remove ignore_directories from REPO.bazel for Bazel 7 compat `ignore_directories` was introduced in Bazel 8 and causes a parse error when this module is consumed by Bazel 7 users. Move the ignored dirs to `.bazelignore` which is supported across all Bazel versions. Fixes #40 Co-Authored-By: Claude Opus 4.6 (1M context) --- .bazelignore | 7 +++++++ REPO.bazel | 10 ---------- 2 files changed, 7 insertions(+), 10 deletions(-) create mode 100644 .bazelignore diff --git a/.bazelignore b/.bazelignore new file mode 100644 index 0000000..bb96313 --- /dev/null +++ b/.bazelignore @@ -0,0 +1,7 @@ +# Examples are separate workspaces +examples +# Bazel convenience symlinks +bazel-bin +bazel-out +bazel-rules_formatjs +bazel-testlogs diff --git a/REPO.bazel b/REPO.bazel index e5df2d3..bbbb673 100644 --- a/REPO.bazel +++ b/REPO.bazel @@ -5,13 +5,3 @@ repo( "//:package_metadata", ], ) - -ignore_directories([ - # Examples are separate workspaces - "examples", - # Bazel convenience symlinks - "bazel-bin", - "bazel-out", - "bazel-rules_formatjs", - "bazel-testlogs", -])