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>
241 B
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.