Skip to content

Commit 6e633b9

Browse files
yamatatsuclaude
andcommitted
chore: add typecheck to pre-commit hook
Add tsc --noEmit as typecheck script and run it in parallel with tests on every commit. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 0a1dacf commit 6e633b9

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
npx concurrently "pnpm:test run"
1+
npx concurrently "pnpm:test run" "pnpm:typecheck"

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"scripts": {
4444
"build": "unbuild",
4545
"test": "vitest",
46+
"typecheck": "tsc --noEmit",
4647
"prepare": "husky"
4748
},
4849
"devDependencies": {

0 commit comments

Comments
 (0)