- delete root test-functional.js (imported uninstalled 'playwright' — could never run) and run-functional-test.js (legacy pre-Playwright) - delete postcss.config.js + autoprefixer/postcss devDeps (tailwind v4's vite plugin owns the pipeline; the config had no plugins left) - client/lib/money.ts: drop unused SUPPORTED_CURRENCIES; keep dollarsToCents exported + @public-tagged (API symmetry with centsToDollars — the sanctioned unit crossing) - client/lib/billDrafts.ts: drop unused BillDraft type export - move the two runtime seed JSONs (advisory filters, merchant-store matches; 7 MB) out of docs/ into db/data/ next to their loader; fresh-DB seed verified (5000+5000 rows); Dockerfile COPY . covers it - knip.json: apply config hints, ignore the two CSS-side tailwind deps; npx knip exits 0 — added to CI as a BLOCKING step so unused files/exports/deps fail instead of rotting (this is how the WebAuthn ghost feature survived four QA cycles) NOT deleted: client/public/img/doingmypart.jpg — flagged unused by the code grep but actually referenced from HISTORY.md markdown that the release-notes renderer serves (user catch). Lesson encoded in the QA plan: asset-reference sweeps must include rendered markdown content. Full ci green (252 server / 52 client / build / knip 0). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| data | ||
| migrations | ||
| database.cts | ||
| kysely.cts | ||
| schema.sql | ||
| subscriptionCatalogSeed.cts | ||