Skip to content

Commit adf3441

Browse files
authored
build: enforce frozen lockfile mode (#31726)
This commit adds `lockfile_mode=error` to the `.bazelrc` file. This change ensures that any future builds will fail if the lock file is not up-to-date with the `BUILD.bazel` file, preventing inconsistencies and encouraging developers to commit updated lock files.
1 parent 79f8ae8 commit adf3441

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.bazelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Frozen lockfile
2+
common --lockfile_mode=error
3+
14
# Required by `rules_ts`.
25
common --@aspect_rules_ts//ts:skipLibCheck=always
36
common --@aspect_rules_ts//ts:default_to_tsc_transpiler

0 commit comments

Comments
 (0)