Repository navigation
peerDependencies: one floor for the released line, one clause for the… - #15
Merged
Merged
Conversation
… prerelease The previous ranges were caret chains. `^3.1.1` cannot admit a prerelease, so each staging cycle needed another clause (`^3.1.2-0`, `^4.0.8-0`, `^3.1.3-0`) purely to let one specific old prerelease through, and the released versions ended up outside the range. Replace them with a flat floor for the released line plus one clause for the current staging prerelease: pane-registry >=3.1.1 <6.0.0 || >=5.1.2-0 <6.0.0 solid-logic >=4.0.7 <7.0.0 || >=6.2.1-0 <7.0.0 solid-ui >=3.1.2 <6.0.0 || >=5.1.1-0 <6.0.0 Verified with node-semver: accepts the published finals (pane-registry 5.1.1, solid-logic 6.2.0, solid-ui 5.1.0) and the staging prereleases (5.1.2-0, 6.2.1-0, 5.1.1-0). Old prereleases (3.1.2-0, 4.0.8-0, 3.1.3-0) are no longer accepted; nothing in the workspace depends on them. Only the last clause needs touching in future cycles.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
… prerelease
The previous ranges were caret chains.
^3.1.1cannot admit a prerelease, so each staging cycle needed another clause (^3.1.2-0,^4.0.8-0,^3.1.3-0) purely to let one specific old prerelease through, and the released versions ended up outside the range.Replace them with a flat floor for the released line plus one clause for the current staging prerelease:
pane-registry >=3.1.1 <6.0.0 || >=5.1.2-0 <6.0.0
solid-logic >=4.0.7 <7.0.0 || >=6.2.1-0 <7.0.0
solid-ui >=3.1.2 <6.0.0 || >=5.1.1-0 <6.0.0
Verified with node-semver: accepts the published finals (pane-registry 5.1.1, solid-logic 6.2.0, solid-ui 5.1.0) and the staging prereleases (5.1.2-0, 6.2.1-0, 5.1.1-0). Old prereleases (3.1.2-0, 4.0.8-0, 3.1.3-0) are no longer accepted; nothing in the workspace depends on them.
Only the last clause needs touching in future cycles.