singularity-forge/packages/coding-agent/package.json
Mikael Hugo d447095bd7 build: switch full build pipeline to TypeScript 7 native (tsgo)
Replace tsc with tsgo in all build scripts — 5.6x faster emit.
tsgo has full emit parity for this codebase (NodeNext, ES2022, strict).

- build:core: tsc → tsgo (root tsconfig.json)
- copy-resources.cjs: typescript/bin/tsc → @typescript/native-preview/bin/tsgo.js
- All workspace packages (agent-core, ai, coding-agent, daemon,
  google-gemini-cli-provider, native, rpc-client, tui): tsc → tsgo

Benchmarks (root project):
  tsc --project tsconfig.json: 7.7s
  tsgo --project tsconfig.json: 1.4s  (5.6x faster)

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

48 lines
1.1 KiB
JSON

{
"name": "@singularity-forge/coding-agent",
"version": "2.75.3",
"description": "Coding agent CLI (vendored from pi-mono)",
"type": "module",
"piConfig": {
"name": "sf",
"configDir": ".sf"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"scripts": {
"build": "tsgo -p tsconfig.json && npm run copy-assets",
"copy-assets": "node scripts/copy-assets.cjs"
},
"dependencies": {
"@mariozechner/jiti": "^2.6.2",
"@silvia-odwyer/photon-node": "^0.3.4",
"chalk": "^5.5.0",
"diff": "^9.0.0",
"express": "^5.2.1",
"extract-zip": "^2.0.1",
"file-type": "^21.3.4",
"hosted-git-info": "^9.0.3",
"ignore": "^7.0.5",
"marked": "^18.0.3",
"minimatch": "^10.2.5",
"proper-lockfile": "^4.1.2",
"strip-ansi": "^7.2.0",
"undici": "^8.2.0",
"yaml": "^2.8.4"
},
"devDependencies": {
"@types/diff": "^7.0.2",
"@types/express": "^4.17.21",
"@types/hosted-git-info": "^3.0.5",
"@types/proper-lockfile": "^4.1.4"
},
"engines": {
"node": ">=26.1.0"
}
}