singularity-forge/packages/daemon/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

49 lines
1 KiB
JSON

{
"name": "@singularity-forge/daemon",
"version": "2.75.3",
"description": "sf-run daemon — background process for project monitoring and Discord integration",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/singularity-forge/sf-run.git",
"directory": "packages/daemon"
},
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"bin": {
"sf-daemon": "./dist/cli.js",
"sf-server": "./dist/cli.js"
},
"scripts": {
"build": "tsgo",
"test": "vitest run packages/daemon/src --root ../.. --config vitest.config.ts"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.95.1",
"@singularity-forge/rpc-client": "^2.75.3",
"discord.js": "^14.25.1",
"yaml": "^2.8.0",
"zod": "^4.4.3"
},
"devDependencies": {
"@types/node": "^25.6.2",
"typescript": "^6.0.3"
},
"engines": {
"node": ">=26.1.0"
},
"files": [
"dist",
"!dist/**/*.test.*"
]
}