feat: support reorder release lines
See original GitHub issueAffected Packages
@changesets/apply-release-plan
Problem
We want to sort the changesets by ourselves at stylelint
Proposed solution
Add a new reorderReleaseLines
config like changelogFuncs.reorderReleaseLines
: https://github.com/stylelint/stylelint/pull/6299/files/295fc6dd44b444cc9e3fd77bb03c264b92781101#diff-6976ea0f1a4fd92cd5536ce4de1f5361a831f8148699aa27e5b85b9abcd025a1
if (typeof changelogFuncs.reorderReleaseLines === "function") {
changelogLines = await changelogFuncs.reorderReleaseLines(changelogLines);
}
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to order the all-new iPhone, Apple Watch, and AirPods ...
Starting today, customers can pre-order all models of the advanced iPhone 14 lineup on apple.com and on the Apple Store app.
Read more >Buy a T-Mobile device
Order on its way? Signature Required for delivery FAQs? Need to return your trade-in device? Still need help? Before you buy.
Read more >180+ Proven Email Subject Lines (Sorted by Category) - Drip
Looking for top email subject lines? This article shares 180+ email subject lines that are categorized by type, industry, and season.
Read more >MATLAB ode45 - Solve nonstiff differential equations
Rewrite this equation as a system of first-order ODEs by making the substitution y 1 ′ = y 2 . The resulting system...
Read more >Order confirmation emails: best practices and examples
Let's look at how you can use your order confirmation email to drive conversions and boost sales. Learn the best practices today!
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, so you “tag” your changesets in their content, and then you sort based on that. It’s an interesting use case and I think I’d like to support this but perhaps with a different API or something. I need to think about this more - it’s good that you have been easily able to hack around your way through this with minimal changes in the patch, so at least the resolution of this issue here isn’t blocking you.
Besides, we want to reduce empty lines at https://github.com/stylelint/stylelint/pull/6299/files#diff-d73cafca05c13fffaf4aeef76a3835bce492adaf4266432af02e984e98264cf1R32
There is no way to remove or custom section titles like
xx changes
.My workaround:
https://github.com/stylelint/stylelint/pull/6299/files#diff-d73cafca05c13fffaf4aeef76a3835bce492adaf4266432af02e984e98264cf1R33 https://github.com/stylelint/stylelint/pull/6299/files#diff-6976ea0f1a4fd92cd5536ce4de1f5361a831f8148699aa27e5b85b9abcd025a1R23-R25