co-mono/package.json
Mario Zechner a74c5da112 Initial monorepo setup with npm workspaces and dual TypeScript configuration
- Set up npm workspaces for three packages: pi-tui, pi-agent, and pi (pods)
- Implemented dual TypeScript configuration:
  - Root tsconfig.json with path mappings for development and type checking
  - Package-specific tsconfig.build.json for clean production builds
- Configured lockstep versioning with sync script for inter-package dependencies
- Added comprehensive documentation for development and publishing workflows
- All packages at version 0.5.0 ready for npm publishing
2025-08-09 17:18:38 +02:00

31 lines
1.2 KiB
JSON

{
"name": "pi-monorepo",
"private": true,
"type": "module",
"workspaces": [
"packages/*"
],
"scripts": {
"clean": "npm run clean --workspaces",
"build": "npm run build -w @mariozechner/pi-tui && npm run build -w @mariozechner/pi-agent && npm run build -w @mariozechner/pi",
"check": "biome check --write . && npm run check --workspaces && tsc --noEmit",
"test": "npm run test --workspaces --if-present",
"version:patch": "npm version patch -ws --no-git-tag-version && node scripts/sync-versions.js",
"version:minor": "npm version minor -ws --no-git-tag-version && node scripts/sync-versions.js",
"version:major": "npm version major -ws --no-git-tag-version && node scripts/sync-versions.js",
"version:set": "npm version -ws",
"version:sync": "node scripts/sync-versions.js",
"prepublish:all": "npm run clean && npm run build && npm run check",
"publish:all": "npm run prepublish:all && npm publish -ws --access public",
"publish:dry": "npm run prepublish:all && npm publish -ws --access public --dry-run"
},
"devDependencies": {
"@biomejs/biome": "^2.1.4",
"@types/node": "^22.10.5",
"tsx": "^4.20.3",
"typescript": "^5.9.2"
},
"engines": {
"node": ">=20.0.0"
}
}