shipjs icon indicating copy to clipboard operation
shipjs copied to clipboard

make `nextVersion` work with multiple versions

Open Haroenv opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe.

When you use independent versioning, the logic in shouldPrepare needs to depend on multiple versions, not just one

Describe the solution you'd like

both shouldPrepare and version should deal with multiple version numbers, possibly an array of package name and version.

Describe alternatives you've considered

Ignore shouldPrepare in those cases, and always prepare, even if there's nothing to release

Additional context

we are using "monorepo with independent versioning" that skips most of the features of shouldVersion in favour of version, but shouldPrepare still gets called

Haroenv avatar Dec 22 '22 13:12 Haroenv