mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 08:03:39 +00:00
Koffi is only used on Windows for VT input support and fails to build on Termux/Android and Linux systems without build tools. Moving it to optionalDependencies allows installation to succeed on all platforms while maintaining Windows functionality.
57 lines
2.8 KiB
JSON
57 lines
2.8 KiB
JSON
{
|
|
"name": "pi-monorepo",
|
|
"private": true,
|
|
"type": "module",
|
|
"workspaces": [
|
|
"packages/*",
|
|
"packages/web-ui/example",
|
|
"packages/coding-agent/examples/extensions/with-deps",
|
|
"packages/coding-agent/examples/extensions/custom-provider-anthropic",
|
|
"packages/coding-agent/examples/extensions/custom-provider-gitlab-duo",
|
|
"packages/coding-agent/examples/extensions/custom-provider-qwen-cli"
|
|
],
|
|
"scripts": {
|
|
"clean": "npm run clean --workspaces",
|
|
"build": "cd packages/tui && npm run build && cd ../ai && npm run build && cd ../agent && npm run build && cd ../coding-agent && npm run build && cd ../mom && npm run build && cd ../web-ui && npm run build && cd ../pods && npm run build",
|
|
"dev": "concurrently --names \"ai,agent,coding-agent,mom,web-ui,tui\" --prefix-colors \"cyan,yellow,red,white,green,magenta\" \"cd packages/ai && npm run dev\" \"cd packages/agent && npm run dev\" \"cd packages/coding-agent && npm run dev\" \"cd packages/mom && npm run dev\" \"cd packages/web-ui && npm run dev\" \"cd packages/tui && npm run dev\"",
|
|
"dev:tsc": "concurrently --names \"ai,web-ui\" --prefix-colors \"cyan,green\" \"cd packages/ai && npm run dev:tsc\" \"cd packages/web-ui && npm run dev:tsc\"",
|
|
"check": "biome check --write --error-on-warnings . && tsgo --noEmit && cd packages/web-ui && npm run check",
|
|
"test": "npm run test --workspaces --if-present",
|
|
"version:patch": "npm version patch -ws --no-git-tag-version && node scripts/sync-versions.js && rm -rf node_modules packages/*/node_modules package-lock.json && npm install",
|
|
"version:minor": "npm version minor -ws --no-git-tag-version && node scripts/sync-versions.js && rm -rf node_modules packages/*/node_modules package-lock.json && npm install",
|
|
"version:major": "npm version major -ws --no-git-tag-version && node scripts/sync-versions.js && rm -rf node_modules packages/*/node_modules package-lock.json && npm install",
|
|
"version:set": "npm version -ws",
|
|
"prepublishOnly": "npm run clean && npm run build && npm run check",
|
|
"publish": "npm run prepublishOnly && npm publish -ws --access public",
|
|
"publish:dry": "npm run prepublishOnly && npm publish -ws --access public --dry-run",
|
|
"release:patch": "node scripts/release.mjs patch",
|
|
"release:minor": "node scripts/release.mjs minor",
|
|
"release:major": "node scripts/release.mjs major",
|
|
"prepare": "husky"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "2.3.5",
|
|
"@types/node": "^22.10.5",
|
|
"@typescript/native-preview": "7.0.0-dev.20260120.1",
|
|
"concurrently": "^9.2.1",
|
|
"husky": "^9.1.7",
|
|
"tsx": "^4.20.3",
|
|
"typescript": "^5.9.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
},
|
|
"version": "0.0.3",
|
|
"dependencies": {
|
|
"@mariozechner/jiti": "^2.6.5",
|
|
"@mariozechner/pi-coding-agent": "^0.30.2",
|
|
"get-east-asian-width": "^1.4.0"
|
|
},
|
|
"overrides": {
|
|
"rimraf": "6.1.2",
|
|
"fast-xml-parser": "5.3.8",
|
|
"gaxios": {
|
|
"rimraf": "6.1.2"
|
|
}
|
|
}
|
|
}
|