algolia / algolia/shipjs

make `nextVersion` work with multiple versions

Open
#986 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
776
Forks
27
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the shouldPrepare and version entry points and how independent versioning currently supplies a single version. Define the multiple-package/version representation and verify that preparation decisions use all versions, including the no-release case, with focused tests for independent versioning.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
release
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.