{{ message }}
Repository navigation
feat(cli): allow comma-separated packages in --major/--minor/--patch - #2135
Merged
Andarist merged 3 commits intoJul 28, 2026
Merged
Conversation
changeset add --minor pkg1,pkg2 now expands to per-package entries, equivalent to --minor pkg1 --minor pkg2. Whitespace is trimmed and empty entries dropped; single packages and repeated flags are unchanged.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2135 +/- ##
==========================================
+ Coverage 84.57% 84.59% +0.01%
==========================================
Files 80 80
Lines 3125 3128 +3
Branches 878 878
==========================================
+ Hits 2643 2646 +3
Misses 427 427
Partials 55 55 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Andarist
reviewed
Jul 1, 2026
Member
|
@youdie006 Are you still interested in updating the PR? |
Address review feedback: add tests for the whitespace trimming and .filter(Boolean) empty-entry dropping in the comma-separated flag expansion, and cover the version command's --ignore flag which shares the same normalizeOptions path. Note the --ignore support (and the trim/empty behavior) in the changeset entry.
Contributor
Author
Andarist
approved these changes
Jul 27, 2026
bluwy
enabled auto-merge
July 27, 2026 16:12
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Jul 27, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Jul 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Implements #2134 — allow comma-separated package lists in
--major,--minor, and--patch.changeset add --minor pkg1,pkg2 --patch pkg3now expands the comma-separated values, equivalent to--minor pkg1 --minor pkg2 --patch pkg3. Whitespace around names is trimmed and empty entries are dropped; single packages and repeated flags keep working as before.normalizeOptionsinpackages/cli/src/cli.tsflatMaps each value on commas.(comma-separated).cli.test.tscase covering comma-split, whitespace-trim, and repeated-flag merge.Fixes #2134