From 1d385854314ba2d62978686fa945726828a252d3 Mon Sep 17 00:00:00 2001 From: clawbot <35+clawbot@noreply.example.org> Date: Tue, 22 Sep 2026 10:00:50 +0200 Subject: [PATCH] Add .prettierignore for vendored minified JS (closes #185) script/fmt ran prettier over static/js/*.js, which rewrote the vendored minified static/js/alpine.min.js. A root .prettierignore with *.min.js excludes vendored bundles: make fmt on a clean tree now yields no changes and alpine.min.js stays byte-identical, while first-party JS still formats. Model: opus-4-8 --- .prettierignore | 2 ++ TODO.md | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 .prettierignore diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..d87c685 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,2 @@ +# Vendored, minified third-party bundles must never be reformatted. +*.min.js diff --git a/TODO.md b/TODO.md index 2f051a0..a3d6bf5 100644 --- a/TODO.md +++ b/TODO.md @@ -20,6 +20,8 @@ main cannot regress. # Completed Steps +- 2026-09-22: Added `.prettierignore` so `make fmt` no longer rewrites + the vendored `static/js/alpine.min.js` bundle (#185). - 2026-09-09: Fixed four deployability blockers found by QA: CSRF origin check over plain HTTP (`UPAAS_PLAINTEXT_HTTP`, #189), pulling the git image when absent (#190), the env-var editor CSRF token lookup (#191),