Get type feedback in sub project
This commit is contained in:
parent
f521fb3da9
commit
093c79009d
@ -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)")
|
||||||
|
|||||||
@ -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": "*"
|
||||||
|
|||||||
13
pi-test-status/tsconfig.json
Normal file
13
pi-test-status/tsconfig.json
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "ES2022",
|
||||||
|
"module": "ESNext",
|
||||||
|
"moduleResolution": "bundler",
|
||||||
|
"strict": true,
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"skipLibCheck": true,
|
||||||
|
"outDir": "dist",
|
||||||
|
"noEmit": true
|
||||||
|
},
|
||||||
|
"include": ["extensions"]
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user