Skip to content

Commit 91fcb13

Browse files
authored
build: migrate Bazel ignore rules from .bazelignore to REPO.bazel (#32562)
* build: migrate Bazel ignore rules from .bazelignore to REPO.bazel See: https://bazel.build/rules/lib/globals/repo and https://github.com/aspect-build/rules_js/blob/092dd7892b816f899c7ab5b794fdb6236abb6939/docs/pnpm.md?plain=1#L77 * fixup! build: migrate Bazel ignore rules from .bazelignore to REPO.bazel
1 parent f4be579 commit 91fcb13

File tree

4 files changed

+10
-36
lines changed

4 files changed

+10
-36
lines changed

.bazelignore

Lines changed: 0 additions & 34 deletions
This file was deleted.

.pullapprove.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ groups:
4949
- >
5050
contains_any_globs(files, [
5151
'.bazel_fix_commands.json',
52-
'.bazelignore',
52+
'REPO.bazel',
5353
'.bazelrc',
5454
'.bazelversion',
5555
'.firebaserc',

MODULE.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ npm.npm_translate_lock(
159159
],
160160
},
161161
pnpm_lock = "//:pnpm-lock.yaml",
162-
verify_node_modules_ignored = "//:.bazelignore",
163162
)
164163
use_repo(npm, "npm")
165164

REPO.bazel

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
ignore_directories([
2+
".git",
3+
"dist",
4+
"integration/yarn-pnp-compat/.yarn/cache",
5+
"integration/yarn-pnp-compat/.yarn/unplugged",
6+
"integration/yarn-pnp-compat/.yarn/install-state.gz",
7+
"**/.angular/**",
8+
"**/node_modules/**",
9+
])

0 commit comments

Comments
 (0)