fix(mosaic): add @mosaic/cli dependency + postinstall hint
Some checks failed
ci/woodpecker/push/ci Pipeline failed
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:
@@ -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:*",
|
||||||
|
|||||||
Reference in New Issue
Block a user