From d076ba578bf7773c0a399d87971f158a9095853e Mon Sep 17 00:00:00 2001 From: Alan Agius <17563226+alan-agius4@users.noreply.github.com> Date: Wed, 20 Aug 2025 06:45:34 +0000 Subject: [PATCH] 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. --- .bazelrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.bazelrc b/.bazelrc index 64f3f7d6c..242e48904 100644 --- a/.bazelrc +++ b/.bazelrc @@ -6,6 +6,9 @@ test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test build --sandbox_default_allow_network=false test --sandbox_default_allow_network=false +# Frozen lockfile +common --lockfile_mode=error + # Required by `rules_ts`. common --@aspect_rules_ts//ts:skipLibCheck=always common --@aspect_rules_ts//ts:default_to_tsc_transpiler