diff --git a/.changeset/four-ducks-try.md b/.changeset/four-ducks-try.md new file mode 100644 index 00000000000..f0cbbd52055 --- /dev/null +++ b/.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). diff --git a/releasing/plugin-commands-publishing/src/publish.ts b/releasing/plugin-commands-publishing/src/publish.ts index 70666ad6131..5d10fa2df1f 100644 --- a/releasing/plugin-commands-publishing/src/publish.ts +++ b/releasing/plugin-commands-publishing/src/publish.ts @@ -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 ',