Files
pnpm/.changeset/empty-paws-march.md
Aaron fea46dc8c4 fix(publish): respect --force flag in recursive publish (#10277)
When using 'pnpm -r publish --force', the --force flag was being
ignored. The flag was checked to determine which packages to publish,
but wasn't passed to individual publish commands.

This adds --force to the appendedArgs array so it gets passed through
to each publish call, following the same pattern as other CLI flags
like --access, --dry-run, and --otp.

close #10272
2025-12-08 11:33:30 +01:00

219 B

@pnpm/plugin-commands-publishing, pnpm
@pnpm/plugin-commands-publishing pnpm
patch patch

pnpm publish -r --force should allow to run publish over already existing versions in the registry #10272.