Commit activity
Last 12 weeks · 7 commits
Community health
3 of 6 standards met
Recent PRs & issues
Description now substitutes / (and the other shared tokens) through the same + path as and , before the command is tokenized and spawned. Unlike commit/tag templates, the version is not appended when there is no placeholder — calling with no guard would turn into . This reuses the named-token system that already addresses the concern from #11 (prefer extensible / / … over bare alone). Legacy still works for execute the same way it does for commit/tag. Note:** execute remains argv-spawned ( + ), not . Shell operators such as still need a shell or script wrapper — that is separate from the placeholder bug reported in #10 (the error in the original report). The function form of is unchanged ( already exposes ). Linked Issues Fixes #10 Additional context Closed predecessors: #11 (inactive; antfu asked for richer tokens — now present), #138 (same approach; author abandoned). No open competing PR for this wiring. Test plan [x] (14 passed) [x] [x] substituted with the new version [x] / substituted [x] command with no placeholder left unchanged
Description crashed when parsed to (empty file or literal ): Only push when it is an array; otherwise fall back to the default recursive globs. npm/bun workspaces were already guarded with . Fixes #77 Linked Issues https://github.com/antfu-collective/bumpp/issues/77 Additional context Non-monorepo + now resolves without throwing. Empty / null / packages-missing cases covered by unit tests.
Description When points at a fork while declares the canonical repo, bumpp would still / to that fork. This change fails fast before commit/tag/push if the remote's owner/repo does not match . Skips when is disabled () Skips when is omitted (do not break those workflows) Treats SSH / HTTPS / / npm shorthand as the same repo when owner/repo match Clear error telling the user to fix or pass No new CLI flag — there was no existing push-remote override to reuse. Linked Issues Fixes #58 Additional context Unit tests cover URL parsing and the check with mocked remotes / repository fields (vitest): 61 passed
Recent fixes
substitutes / through the same helper as and , before the command is tokenized and spawned. and append the version when there is no placeholder; does not. fix #10 Decision Substitute and named tokens in , but do not append the version when the command has no placeholder. and already use ; execute was deliberately moved off a shell. Calling with no guard would turn into . Alternative: also run through a shell so works. That is the error in the original report; after this change it is still passed through as an argument ( + ), not a shell operator. Can switch execute to / , or support only and not named tokens. The function form of is unchanged ( already exposes ). Test plan [x] [x] is replaced with the new version [x] is replaced with the new version [x] a command with no placeholder is left unchanged
Reject a provided non-string in , before files are globbed or written. Same place we already throw for without , and the same sanitizing used for / / . Fixes #131. (no type) and a repeated were treated as an explicit version. cac yields / for those; normalization stored them as ; returns non-strings unchanged; of that is , which then got committed, tagged, and pushed. A bad string () already threw. Decision Throw on a non-string in . The reporter asked for an error, and this is the existing sanitize-and-throw pattern. Alternative: if the flag is repeated, take the last string so against a script ending in would bump ; or also validate / in . Can switch to last-string-wins or add the check. Test plan [x] is and throws [x] is and throws [x] still normalizes to [x] tests fail without the source change and pass with it
🔗 Linked issue None, sorry - it seemed small enough to go straight to a PR. 🧭 Context , , and are all in the default list, and the current version gets read out of them fine, so a Deno or JSR package with no looks like it's supported. It isnt. On 12.2.2, in one of those prints the commit list and then exits 1 with , nothing bumped. Same project with bumps, commits and tags fine, so it's only the lifecycle-script step. 📚 Description That step reads before it works out whether there's anything to run, and a missing file rejects insted of coming back empty. Guarded it with , the way handles a file that might not be there. Most of the diff is the test rather than the fix, its setup is copied out of . The 47 tests that were already there pass either way. A project with no manifest has nowhere to declare , or , so the skip doesn't hide anything.
Repository: made-in-common/bumpp. Description: Interactive CLI that bumps your version numbers and more Stars: 967, Forks: 71. Primary language: TypeScript. Languages: TypeScript (99.8%), JavaScript (0.2%). License: MIT. Latest release: v12.3.0 (2mo ago). Open PRs: 8, open issues: 13. Last activity: 1d ago. Community health: 50%. Top contributors: JamesMessinger, antfu, sxzz, sidtagirisa, greenkeeperio-bot, ryoppippi, DonBLong, antfubot, TrySound, NotAFlightRisk and others.