🔧 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.
This commit is contained in:
tmu committed 2026-09-10 22:42:14 +00:00
1 parent b7d1dbdf06
commit 8d1a03f025
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -38,8 +38,8 @@ Setup:
☐ Confirm pre-push gate strength ☐ 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 - 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` ☐ Confirm this is intended per the feedback-tier table, or point pre-push at `verify`
☐ Clean stale `coverage/` in `npm run clean` ✔ Clean stale `coverage/` in `npm run clean` @done
☐ `npm run clean` only removes `dist`; add `coverage` (both are gitignored but bloat the working tree) ✔ `npm run clean` only removes `dist`; add `coverage` (both are gitignored but bloat the working tree) @done
☐ Drop redundant `main`/`types` top-level fields ☐ Drop redundant `main`/`types` top-level fields
☐ `exports` is the source of truth; `main`/`types` are redundant (harmless, but publint/ATTW prefer `exports`) ☐ `exports` is the source of truth; `main`/`types` are redundant (harmless, but publint/ATTW prefer `exports`)
☐ Silence the knip `@runwisp/pubv` false positive ☐ Silence the knip `@runwisp/pubv` false positive
+1 -1
View File
@@ -45,7 +45,7 @@
"check:oxfmt": "oxfmt --check ${LEFTHOOK_FILES:-.}", "check:oxfmt": "oxfmt --check ${LEFTHOOK_FILES:-.}",
"check:oxlint": "oxlint ${LEFTHOOK_FILES:-src}", "check:oxlint": "oxlint ${LEFTHOOK_FILES:-src}",
"check:tsc": "tsc", "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": "npm run fix:oxlint && npm run fix:oxfmt",
"fix:oxfmt": "oxfmt ${LEFTHOOK_FILES:-.}", "fix:oxfmt": "oxfmt ${LEFTHOOK_FILES:-.}",
"fix:oxlint": "oxlint --fix src", "fix:oxlint": "oxlint --fix src",