Skip to content

Commit

Permalink
fix(plugin-commands-publishing): output --json option in help info (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
await-ovo committed Dec 9, 2022
1 parent 5464e1d commit 5d8f845
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/four-ducks-try.md
@@ -0,0 +1,6 @@
---
"@pnpm/plugin-commands-publishing": patch
"pnpm": patch
---

Added `--json` to the `pnpm publish --help` output [#5773](https://github.com/pnpm/pnpm/pull/5773).
4 changes: 4 additions & 0 deletions releasing/plugin-commands-publishing/src/publish.ts
Expand Up @@ -65,6 +65,10 @@ export function help () {
description: 'Does everything a publish would do except actually publishing to the registry',
name: '--dry-run',
},
{
description: 'Show information in JSON format',
name: '--json',
},
{
description: 'Registers the published package with the given tag. By default, the "latest" tag is used.',
name: '--tag <tag>',
Expand Down

0 comments on commit 5d8f845

Please sign in to comment.