chore: enforce i18n key coverage via npm test

coverage-check.mjs existed but nothing ran it automatically.
Wired in as a pretest hook so a coverage regression now fails
the test run instead of silently passing.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013PphXq1s43DNRj1uWKGXof
This commit is contained in:
Indiana
2026-07-21 03:42:44 +00:00
parent 0756e677b9
commit 34314c324d

View File

@@ -6,6 +6,7 @@
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"build": "tsc -b && vite build", "build": "tsc -b && vite build",
"pretest": "node src/i18n/coverage-check.mjs",
"test": "vitest run" "test": "vitest run"
}, },
"dependencies": { "dependencies": {