* Incremental flags when the project has a tsconfig.json. The build info cache * lives under .planning/cache/ so repeat checks stay fast.
()
| 394 | |
| 395 | const shimName = process.platform === 'win32' ? 'tsc.cmd' : 'tsc'; |
| 396 | const shim = path.join(PROJECT_ROOT, 'node_modules', '.bin', shimName); |
| 397 | if (fs.existsSync(shim)) return { cmd: shim, baseArgs: [] }; |
| 398 | |
| 399 | const onPath = resolveBin('tsc'); |
| 400 | if (onPath) return { cmd: onPath, baseArgs: [] }; |
| 401 | |
| 402 | return { error: 'tsc not found (no typescript package in the project, no node_modules/.bin/tsc, not on PATH)' }; |
| 403 | } |
| 404 | |
| 405 | /** |
| 406 | * Incremental flags when the project has a tsconfig.json. The build info cache |
| 407 | * lives under .planning/cache/ so repeat checks stay fast. |
| 408 | */ |
no outgoing calls
no test coverage detected