From 148223034f236f3cde9cb0374ae2ec4cbe61f131 Mon Sep 17 00:00:00 2001 From: Christoffer Hallas Date: Thu, 8 Oct 2026 14:56:23 -0400 Subject: [PATCH] chore: ignore .cloudflare/; gate web installs with npm ci `npm install` rewrote www/package-lock.json (dropped libc fields). `npm ci` installs exactly what the lockfile pins and never modifies it. Also ignore the cf CLI's local cache directory. Co-Authored-By: Claude Sonnet 5.5 --- .gitignore | 2 ++ scripts/gate | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 0f243e6f..28aa7920 100644 --- a/.gitignore +++ b/.gitignore @@ -47,3 +47,5 @@ grammars/tree-sitter-echo/bindings/ grammars/tree-sitter-echo/node_modules/ grammars/tree-sitter-echo/.build/ +# cf (Cloudflare CLI) local cache +.cloudflare/ diff --git a/scripts/gate b/scripts/gate index 33de5aee..cf65c78a 100755 --- a/scripts/gate +++ b/scripts/gate @@ -378,7 +378,7 @@ run_layer() { if [[ ! -d www/node_modules ]]; then # sharp (via @huggingface/transformers) tries a source build when the # host has a system libvips; always use its prebuilt binary instead. - SHARP_IGNORE_GLOBAL_LIBVIPS=1 run_quiet npm --prefix www install + SHARP_IGNORE_GLOBAL_LIBVIPS=1 run_quiet npm --prefix www ci fi run_quiet npm --prefix www run lint run_quiet npm --prefix www run format