singularity-forge/tsconfig.extensions.json
Mikael Hugo e09eb8f899 build: add TypeScript 7 (native preview) for fast type checking
- Remove vestigial experimentalDecorators/emitDecoratorMetadata from all
  package tsconfigs (no actual decorators in source — flags were from
  pi-mono vendor copy)
- Add @typescript/native-preview for 8-10x faster type checking (measured
  4.6x on this repo: tsc 6.5s vs tsgo 1.4s)
- Fix tsconfig.extensions.json: remove baseUrl (removed in tsgo/TS7) and
  use relative paths in paths mappings — compatible with both tsc and tsgo
- Add typecheck/typecheck:extensions scripts using tsgo

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

35 lines
1.1 KiB
JSON

{
"extends": "./tsconfig.json",
"compilerOptions": {
"noEmit": true,
"allowImportingTsExtensions": true,
"allowJs": true,
"checkJs": false,
"ignoreDeprecations": "6.0",
"target": "ES2024",
"lib": ["ES2024", "DOM", "DOM.Iterable"],
"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"
]
}