Wires @mosaic/prdy, @mosaic/quality-rails, and @mosaic/mosaic into the unified CLI binary. The wizard subcommand uses dynamic import to avoid loading heavy wizard deps for other commands. Adds @types/node to cli devDependencies and guards @mosaic/mosaic index.ts program.parse() so the module is safely importable without auto-executing. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
42 lines
919 B
JSON
42 lines
919 B
JSON
{
|
|
"name": "@mosaic/cli",
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"bin": {
|
|
"mosaic": "dist/cli.js"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "tsx src/cli.ts",
|
|
"lint": "eslint src",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run --passWithNoTests"
|
|
},
|
|
"dependencies": {
|
|
"@mosaic/mosaic": "workspace:^",
|
|
"@mosaic/prdy": "workspace:^",
|
|
"@mosaic/quality-rails": "workspace:^",
|
|
"ink": "^5.0.0",
|
|
"ink-text-input": "^6.0.0",
|
|
"ink-spinner": "^5.0.0",
|
|
"react": "^18.3.0",
|
|
"socket.io-client": "^4.8.0",
|
|
"commander": "^13.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0",
|
|
"@types/react": "^18.3.0",
|
|
"tsx": "^4.0.0",
|
|
"typescript": "^5.8.0",
|
|
"vitest": "^2.0.0"
|
|
}
|
|
}
|