Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(plugin-commands-publishing): output --json option in help info #5773

Merged
merged 2 commits into from Dec 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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