Run client typecheck before vitest in npm test.

Duplicate keys in strings.ts were green under vitest and red only on build. Drop the self file: dependency loop so npm test is enough.
This commit is contained in:
Leonid Pershin
2026-08-20 12:57:16 +03:00
parent 9a6cbff55a
commit 45059b927f
7 changed files with 136 additions and 24 deletions
+1 -4
View File
@@ -11,7 +11,7 @@
"build": "tsc -b && vite build",
"preview": "vite preview",
"typecheck": "tsc -b",
"test": "vitest run",
"test": "node ./scripts/run-test.mjs",
"test:watch": "vitest"
},
"devDependencies": {
@@ -20,8 +20,5 @@
"typescript": "~5.9.3",
"vite": "^8.2.1",
"vitest": "^4.1.10"
},
"dependencies": {
"hschool-client": "file:"
}
}