Get type feedback in sub project

This commit is contained in:
Willem van den Ende 2026-06-28 11:43:20 +02:00
parent f521fb3da9
commit 093c79009d
3 changed files with 16 additions and 2 deletions

View File

@ -17,7 +17,7 @@ export default function testStatusExtension(pi: ExtensionAPI) {
const testsPassed = const testsPassed =
/Tests\s+.+passed/.test(output) && !/Tests\s+.+failed/.test(output); /Tests\s+.+passed/.test(output) && !/Tests\s+.+failed/.test(output);
const testsFailed = const testsFailed =
/Tests\s+.+failed/.test(output) || event.details?.exitCode !== 0; /Tests\s+.+failed/.test(output) || event.isError;
if (testsPassed) { if (testsPassed) {
// Extract summary line for inline detail (e.g., "1 passed (242ms)") // Extract summary line for inline detail (e.g., "1 passed (242ms)")

View File

@ -10,7 +10,8 @@
"README.md" "README.md"
], ],
"scripts": { "scripts": {
"test": "echo \"No tests yet\"" "test": "echo \"No tests yet\"",
"typecheck": "tsc --noEmit"
}, },
"peerDependencies": { "peerDependencies": {
"@earendil-works/pi-coding-agent": "*" "@earendil-works/pi-coding-agent": "*"

View File

@ -0,0 +1,13 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "bundler",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"outDir": "dist",
"noEmit": true
},
"include": ["extensions"]
}