feat(cli): add prdy, quality-rails, and wizard subcommands
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful

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>
This commit is contained in:
2026-03-14 20:04:57 -05:00
parent c4e52085e3
commit 481b351ec8
4 changed files with 112 additions and 2 deletions

View File

@@ -21,6 +21,9 @@
"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",
@@ -29,6 +32,7 @@
"commander": "^13.0.0"
},
"devDependencies": {
"@types/node": "^22.0.0",
"@types/react": "^18.3.0",
"tsx": "^4.0.0",
"typescript": "^5.8.0",