mirror of
https://github.com/pnpm/pnpm.git
synced 2025-12-23 23:29:17 -05:00
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
219 B
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.