pi-remote-control/tsconfig.json

44 lines
1.2 KiB
JSON

{
"compilerOptions": {
// Simulate pi's TypeScript runtime environment
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"lib": ["ES2022"],
// Type-check only, no emit — pi handles the actual transpilation
"noEmit": true,
"strict": true,
"exactOptionalPropertyTypes": false,
// Resolve peer deps from pi's global node_modules
"baseUrl": ".",
"paths": {
"@earendil-works/pi-coding-agent": [
"../../../../../../usr/local/lib/node_modules/@earendil-works/pi-coding-agent/dist/index.d.ts"
],
"@earendil-works/pi-tui": [
"../../../../../../usr/local/lib/node_modules/@earendil-works/pi-tui/dist/index.d.ts"
]
},
"typeRoots": [
"./node_modules/@types",
"/usr/local/lib/node_modules/@types"
],
// Project uses .js extensions in imports (NodeNext convention)
"allowImportingTsExtensions": false,
// Relax some checks that are impractical without the real pi runtime
"skipLibCheck": true,
"ignoreDeprecations": "6.0"
},
"include": [
"extensions/remote-control/**/*.ts"
],
"exclude": [
"node_modules",
"build"
]
}