From 882dcfbcd367f5b5bdf2f278d487dbee728a8d05 Mon Sep 17 00:00:00 2001 From: Alan Agius <17563226+alan-agius4@users.noreply.github.com> Date: Wed, 20 Aug 2025 06:48:54 +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 b7a083db69ba..43276f982a31 100644 --- a/.bazelrc +++ b/.bazelrc @@ -1,3 +1,6 @@ +# 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