Added new --major, --minor, --patch flags to the add command - #1121
Conversation
🦋 Changeset detectedLatest commit: 6e634d2 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
This comment was marked as outdated.
This comment was marked as outdated.
|
@Sh031224 Thanks for contributing this! I'd really like this feature. |
I hadn't thought of a way to use glob. |
|
@1oglop1 |
|
I would like to also see a flag for the name of generated file, in case user doesn't want to have it randomly generated |
This comment was marked as off-topic.
This comment was marked as off-topic.
As a personal preference, I use changeset files not with randomized So I would be happy to see |
This comment was marked as off-topic.
This comment was marked as off-topic.
|
What is the status of this pull request? Is there any chance it will be merged soon? // EDIT It would be great if there were an additional flag like We can use a workaround by piping but it's kinda hacky. |
I would like to develop this PR further if I receive feedback from maintainers. |
This comment was marked as spam.
This comment was marked as spam.
|
Is this PR still being tracked so it can me merged and used soon? |
This comment was marked as outdated.
This comment was marked as outdated.
…ature/add-without-interaction
Merge conflicts were resolved by reflecting the latest code. If you have any problems, please let me know. |
This is a pity. For those of us wanting to automate workflows, especially if we're not on github, this sort of feature is necessary |
|
There's a workaround for forking this repo; |
|
What's the progress of this issue? |
|
This PR's merge is a urgent requirement for me to automate changeset cli workflows. |
This comment was marked as spam.
This comment was marked as spam.
|
long waiting for this PR be merged, really need it in CI/CD. |
|
can we merge this PR @Andarist ? |
This comment was marked as low quality.
This comment was marked as low quality.
This comment was marked as low quality.
This comment was marked as low quality.
|
@Andarist I will pay you $100 USD to merge this PR |
|
I will chip in another $2 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1121 +/- ##
==========================================
+ Coverage 87.31% 87.45% +0.13%
==========================================
Files 71 71
Lines 2546 2582 +36
Branches 681 690 +9
==========================================
+ Hits 2223 2258 +35
- Misses 299 300 +1
Partials 24 24 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
--major, --minor, --patch flags to the add command
|
feel free to toss us some pennies to via OpenCollective or GH Sponsors 😉 |
|
It would be much better if you don't have to repeat |
please open a new issue and so we can track this! |
|
Created #2134 |
|
@Andarist Thank you for merging this! As promised sent the $100 via GH Sponsors. Thanks for all the work you do to maintain this!
|
|
Thanks to the goat @Andarist 🙏🏼 |
|
Note that we now have a wonderful team, and it's best to sponsor Changesets work using our OpenCollective |


What is the Change?
Added new flag to add in @changeset/cli.
--major--minor--patchIf the major, minor, and patch flags are present, no package is selected by user interaction.
Also, if there is a message flag, the summary can be injected as a flag without being input through interaction.
Reference: #1118