singularity-forge/tsconfig.extensions.json
Mikael Hugo 8c764f6c98 fix(tsconfig): add jsx/jsxImportSource to tsconfig.extensions.json for tsgo compat
tsgo (TS7 native port) requires explicit jsx setting when .tsx files are
in scope. tsc 6 was lenient; tsgo errors without it.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-10 21:31:53 +02:00

37 lines
1.2 KiB
JSON

{
"extends": "./tsconfig.json",
"compilerOptions": {
"noEmit": true,
"allowImportingTsExtensions": true,
"allowJs": true,
"checkJs": false,
"ignoreDeprecations": "6.0",
"target": "ES2024",
"lib": ["ES2024", "DOM", "DOM.Iterable"],
"jsx": "react-jsx",
"jsxImportSource": "react",
"rootDir": ".",
"paths": {
"@singularity-forge/coding-agent": [
"./packages/coding-agent/src/index.ts"
],
"@singularity-forge/ai": ["./packages/ai/src/index.ts"],
"@singularity-forge/ai/*": ["./packages/ai/src/*.ts"],
"@singularity-forge/agent-core": [
"./packages/agent-core/src/index.ts"
],
"@singularity-forge/tui": ["./packages/tui/src/index.ts"],
"@singularity-forge/native": ["./packages/native/src/index.ts"],
"@singularity-forge/native/*": ["./packages/rust-engine/src/*/index.ts"],
"@singularity-forge/rpc-client": ["./packages/rpc-client/src/index.ts"]
}
},
"include": ["src/resources/extensions", "src/types.d.ts"],
"exclude": [
"src/resources/extensions/vectordrive/tests/**/*.ts",
"src/resources/extensions/**/tests/**/*.ts",
"src/resources/extensions/**/tests/**/*.mjs",
"src/tests/**/*.ts",
"src/tests/**/*.mjs"
]
}