From 21dbd47264fada96c38abad0ba0397b8495bfbb0 Mon Sep 17 00:00:00 2001 From: sneak Date: Tue, 22 Sep 2026 07:37:37 +0000 Subject: [PATCH] Add .prettierignore for vendored minified JS (closes #185) script/fmt passes the glob static/js/*.js to prettier, which expanded and rewrote the vendored static/js/alpine.min.js because there was no ignore file. Add .prettierignore excluding *.min.js; prettier honors it even when files are passed explicitly on the command line, so make fmt now leaves the tree byte-identical while still formatting first-party JS. 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), -- 2.54.0