From 8d1a03f02528a21210598c7e497fc44bbef93906 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Thu, 10 Sep 2026 22:42:14 +0000 Subject: [PATCH] :wrench: Remove coverage in clean target clean only wiped dist, leaving the gitignored coverage/ tree to accumulate across runs. Remove both so a clean checkout state is actually reachable. --- backlog.tasks | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backlog.tasks b/backlog.tasks index 4034d93..d659739 100644 --- a/backlog.tasks +++ b/backlog.tasks @@ -38,8 +38,8 @@ Setup: ☐ Confirm pre-push gate strength - pre-push runs `npm test` (`check:tsc` + tests), not full `check`; oxlint/oxfmt/cspell drift on unstaged content is only caught per-staged-file at commit or whole-project in CI ☐ Confirm this is intended per the feedback-tier table, or point pre-push at `verify` -☐ Clean stale `coverage/` in `npm run clean` - ☐ `npm run clean` only removes `dist`; add `coverage` (both are gitignored but bloat the working tree) +✔ Clean stale `coverage/` in `npm run clean` @done + ✔ `npm run clean` only removes `dist`; add `coverage` (both are gitignored but bloat the working tree) @done ☐ Drop redundant `main`/`types` top-level fields ☐ `exports` is the source of truth; `main`/`types` are redundant (harmless, but publint/ATTW prefer `exports`) ☐ Silence the knip `@runwisp/pubv` false positive diff --git a/package.json b/package.json index e7d36c4..980f8dc 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "check:oxfmt": "oxfmt --check ${LEFTHOOK_FILES:-.}", "check:oxlint": "oxlint ${LEFTHOOK_FILES:-src}", "check:tsc": "tsc", - "clean": "node -e \"fs.rmSync('dist', { recursive: true, force: true })\"", + "clean": "node -e \"for (const d of ['dist', 'coverage']) fs.rmSync(d, { recursive: true, force: true })\"", "fix": "npm run fix:oxlint && npm run fix:oxfmt", "fix:oxfmt": "oxfmt ${LEFTHOOK_FILES:-.}", "fix:oxlint": "oxlint --fix src",