Add command to ensure typescript is valid and tests pass, and ensure this is run after task completion by LLMs

This commit is contained in:
Peter Stockings
2026-01-04 18:54:30 +11:00
parent 64994887dc
commit b5314986e3
2 changed files with 10 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
---
description: Verify code quality by running TypeScript checks and tests
---
// turbo-all
1. Run the verification script: `bun run verify`
2. Ensure no errors were reported.

View File

@@ -7,7 +7,9 @@
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"test": "vitest"
"test": "vitest",
"check": "tsc --noEmit",
"verify": "bun run check && bun run test"
},
"devDependencies": {
"typescript": "~5.9.3",