Files
pnpm/.changeset/version-json-empty-output.md
T
Ayush SinghandZoltan Kochan ecd540b324 fix: make pnpm version -r --json emit JSON when there are no pending changes (#13222)
With --json, "pnpm version -r" must emit machine-readable output in every
case. The no-pending-changes branch printed a human-readable sentence to
stdout; it now prints an empty JSON array. The applied-releases branch in
pacquet now serializes the AppliedRelease list as camelCase JSON, matching
the TypeScript CLI's output shape exactly.

Fixes pnpm/pnpm#13217.

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2026-08-06 11:48:51 +02:00

241 B

@pnpm/releasing.commands, pacquet, pnpm
@pnpm/releasing.commands pacquet pnpm
patch patch patch

pnpm version -r --json now outputs [] instead of human-readable text when no pending changes exist pnpm/pnpm#13217.