Phase 0: add npm scripts — typecheck, test, and build entry points.
Vitest with passWithNoTests keeps CI green before test files land in later phases. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Generated
+1572
-1
File diff suppressed because it is too large
Load Diff
+7
-1
@@ -5,6 +5,11 @@
|
|||||||
"description": "Pi Coding Agent extension: re-inject skills after auto compaction",
|
"description": "Pi Coding Agent extension: re-inject skills after auto compaction",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"scripts": {
|
||||||
|
"typecheck": "tsc --noEmit",
|
||||||
|
"test": "vitest run --passWithNoTests",
|
||||||
|
"build": "npm run typecheck"
|
||||||
|
},
|
||||||
"pi": {
|
"pi": {
|
||||||
"extensions": [
|
"extensions": [
|
||||||
"./src/index.ts"
|
"./src/index.ts"
|
||||||
@@ -12,6 +17,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@earendil-works/pi-coding-agent": "^0.79.6",
|
"@earendil-works/pi-coding-agent": "^0.79.6",
|
||||||
"typescript": "^5"
|
"typescript": "^5",
|
||||||
|
"vitest": "^3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user