Files
bun.sh/docs
Claude Bot b272f73e01 Add --tolerate-republish flag to bun publish command
This flag allows `bun publish` to exit with code 0 instead of code 1
when attempting to republish over an existing version number. This is
useful in automated workflows where republishing the same version
might occur and should not be treated as an error.

Implementation follows Yarn's design philosophy: only perform the
additional registry check when the flag is explicitly provided,
keeping the default fast path unchanged.

Changes:
- Add --tolerate-republish CLI flag parsing
- Implement republish error detection and tolerance logic
- Add help text and usage examples
- Add comprehensive test coverage
- Update CLI documentation

Note: Current implementation uses reactive error detection. Future
enhancement should implement Yarn's proactive registry check approach
for better efficiency when the flag is enabled.
2025-08-24 22:49:54 +00:00
..
2025-08-23 18:13:53 -07:00
2025-07-10 00:10:43 -07:00
2023-09-07 10:09:09 -07:00
2023-02-23 17:13:30 -08:00
2025-07-10 00:10:43 -07:00
2025-07-10 00:10:43 -07:00