git.lucas.co / gitsite
the static git browser that builds this site
git clone https://git.lucas.co/gitsite.git

commit19fe4f9141b65d3c5d324bea11f0ce5ceb2b2053
parent8fc6ff9079
authorLucas Galante <[email protected]>
date2026-08-11 15:36
deploy: pin wrangler 4.120.0

wrangler 4.121.0 depends on miniflare 5.20260804.1-alpha which npm
doesn't have (ETARGET), so bare npx wrangler fails to install. Pin the
last good release; bump when upstream repairs theirs.

Co-Authored-By: Claude Fable 5 <[email protected]>

 deploy.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/deploy.sh b/deploy.sh
index 4620906..f747969 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -6,4 +6,6 @@ set -e
 OUT="$HOME/.cache/gitsite/out"
 [ -d "$OUT" ] || { echo "no build output; run ./build.sh first" >&2; exit 1; }
 
-npx wrangler pages deploy "$OUT" --project-name=git-lucas-co --branch=main --commit-dirty=true
+# Pinned: wrangler 4.121.0 ships a dependency on a nonexistent miniflare
+# alpha (npm ETARGET); bump when upstream fixes their release.
+npx -y [email protected] pages deploy "$OUT" --project-name=git-lucas-co --branch=main --commit-dirty=true