synopkg
Version:
Consistent dependency versions in large JavaScript Monorepos
26 lines (22 loc) • 1.05 kB
text/mdx
import { Code } from "astro:components";
Control what information is displayed in terminal output
| Name | Description |
| --------- | ---------------------------------------------------------------------- |
| instances | Show every instance of every dependency |
| hints | Show a hint alongside dependencies developed in this repo |
| statuses | Show specifically how/why a dependency or instance is valid or invalid |
| all | Shorthand to enable all of the above |
| none | Shorthand to disable all of the above |
<Code
code={`
# Only opt into showing status codes
synopkg ${props.command} --show statuses
# Show all instances, not just their names
synopkg ${props.command} --show instances
# Show highest level of detail
synopkg ${props.command} --show all
# Show lowest level of detail
synopkg ${props.command} --show none
`.trim()}
lang="bash"
/>