Skip to content

Commit d076ba5

Browse files
committed
build: enforce frozen lockfile mode
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 fada401 commit d076ba5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.bazelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test
66
build --sandbox_default_allow_network=false
77
test --sandbox_default_allow_network=false
88

9+
# Frozen lockfile
10+
common --lockfile_mode=error
11+
912
# Required by `rules_ts`.
1013
common --@aspect_rules_ts//ts:skipLibCheck=always
1114
common --@aspect_rules_ts//ts:default_to_tsc_transpiler

0 commit comments

Comments
 (0)