standard-version icon indicating copy to clipboard operation
standard-version copied to clipboard

feat: expose parser and writer option overrides

Open s-h-a-d-o-w opened this issue 2 years ago • 3 comments

Exposing these will resolve a number of issues where people want to customize something but don't want to create a full preset to replace the default one with.

Functionally, if these overrides aren't set, their value will obviously be undefined, making this change fully backwards compatible.

Two examples about a simple sorting override: Fixes #293 Fixes #869

s-h-a-d-o-w avatar Mar 21 '22 19:03 s-h-a-d-o-w

Since this repository has been deprecated, maybe it's an idea to target this PR to the maintained fork? https://github.com/absolute-version/commit-and-tag-version/pulls

We need this feature as well :) if you don't feel like opening the PR I can also implement the changes but I don't want to steal your thunder ⚡

MisterTimn avatar Aug 09 '22 12:08 MisterTimn

@MisterTimn

Great to see that somebody else is continuing this project, since I used it because I wasn't happy with release-please (which is the suggested alternative here) in the first place!

It's especially nice to see that it looks like pact is at least loosely associated with it. Coincidentally, I used pact-js at a company a few years ago.

Anyway, I'll try to get this done soon. 🙂

s-h-a-d-o-w avatar Aug 10 '22 09:08 s-h-a-d-o-w

Plus, thanks for the opportunity to contribute myself rather than just copying my stuff, that's quite considerate. 🙂

s-h-a-d-o-w avatar Aug 10 '22 09:08 s-h-a-d-o-w