fix(mosaic): add @mosaic/cli dependency + postinstall hint
Some checks failed
ci/woodpecker/push/ci Pipeline failed

@mosaic/mosaic is a metapackage but was missing @mosaic/cli as a dep,
so npm install -g @mosaic/mosaic only gave you mosaic-wizard, not mosaic.

Changes:
- Add @mosaic/cli as dependency (brings in mosaic binary)
- Add postinstall script with guidance message
This commit is contained in:
Jarvis
2026-04-04 17:19:31 -05:00
parent c0d0fd44b7
commit 49abf3bb4c

View File

@@ -20,12 +20,14 @@
} }
}, },
"scripts": { "scripts": {
"postinstall": "echo '\nMosaic Stack installed. Run `mosaic-wizard` to bootstrap your config, or `mosaic --help` for CLI commands.\n'",
"build": "tsc", "build": "tsc",
"lint": "eslint src", "lint": "eslint src",
"typecheck": "tsc --noEmit", "typecheck": "tsc --noEmit",
"test": "vitest run --passWithNoTests" "test": "vitest run --passWithNoTests"
}, },
"dependencies": { "dependencies": {
"@mosaic/cli": "workspace:*",
"@mosaic/forge": "workspace:*", "@mosaic/forge": "workspace:*",
"@mosaic/macp": "workspace:*", "@mosaic/macp": "workspace:*",
"@mosaic/prdy": "workspace:*", "@mosaic/prdy": "workspace:*",