Skip to content

peerDependencies: one floor for the released line, one clause for the… - #15

Merged
bourgeoa merged 1 commit into
mainfrom
peerDependencies
Nov 23, 2026
Merged

bourgeoa merged 1 commit into
mainfrom
peerDependencies

Conversation

@bourgeoa

Copy link
Copy Markdown
Contributor

… 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.

… 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.
@bourgeoa
bourgeoa merged commit f2ed8ea into main Nov 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant