- Move index.js → src/index.ts with proper types for all 4 senses - Move schema.ts → src/schema.ts - Add package.json with esbuild build script per sense - Bundle to index.js at sense root (daemon loads this) - Update sense-generator coder prompt with TypeScript conventions Fixes #224
18 lines
405 B
JSON
18 lines
405 B
JSON
{
|
|
"name": "sense-linux-system-health",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "esbuild src/index.ts --bundle --platform=node --format=esm --outfile=index.js --packages=external"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0",
|
|
"esbuild": "^0.27.0",
|
|
"typescript": "^5.7.0"
|
|
},
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": ["esbuild"]
|
|
}
|
|
}
|