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:
7
.agent/workflows/verify.md
Normal file
7
.agent/workflows/verify.md
Normal 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.
|
||||||
@@ -7,7 +7,9 @@
|
|||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "tsc && vite build",
|
"build": "tsc && vite build",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"test": "vitest"
|
"test": "vitest",
|
||||||
|
"check": "tsc --noEmit",
|
||||||
|
"verify": "bun run check && bun run test"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"typescript": "~5.9.3",
|
"typescript": "~5.9.3",
|
||||||
|
|||||||
Reference in New Issue
Block a user