Use vue-tsc --build in frontend hook to match CI
The hook used --noEmit which is less strict than CI's --build, causing type errors to slip through. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -16,7 +16,7 @@ cd "$CLAUDE_PROJECT_DIR/frontend"
|
||||
ERRORS=""
|
||||
|
||||
# Type-check
|
||||
if OUTPUT=$(npx vue-tsc --noEmit 2>&1); then
|
||||
if OUTPUT=$(npm run type-check 2>&1); then
|
||||
:
|
||||
else
|
||||
ERRORS+="Type-check failed:\n$OUTPUT\n\n"
|
||||
|
||||
Reference in New Issue
Block a user