question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

feat: support reorder release lines

See original GitHub issue

Affected 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

https://github.com/changesets/changesets/blob/8e64d410909970e0c22b62c77852896fe9daad5d/packages/apply-release-plan/src/get-changelog-entry.ts#L100

if (typeof changelogFuncs.reorderReleaseLines === "function") {
  changelogLines = await changelogFuncs.reorderReleaseLines(changelogLines);
}

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
Andaristcommented, Aug 24, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found