Skip to content

fix(deps): allow @stencil/core release candidates in peer ranges - #80

Merged
johnjenkins merged 2 commits into
mainfrom
fix/peer-range-allow-rc
Nov 12, 2026
Merged

johnjenkins merged 2 commits into
mainfrom
fix/peer-range-allow-rc

Conversation

@johnjenkins

Copy link
Copy Markdown
Contributor

Semver sorts prerelease labels alphabetically, so rc sorts above next. The <5.0.0-next.0 bound in the peer ranges therefore rejects @stencil/core@5.0.0-rc.0 (and @stencil/cli@5.0.0-rc.0), and npm fails with ERESOLVE when installing alongside the RC.

This drops the <5.0.0-next.0 bound from the peer/dev ranges. Lockfile changes are specifier-only; resolved versions are unchanged (pnpm install --frozen-lockfile passes).

🤖 Generated with Claude Code

Semver sorts `rc` above `next`, so the `<5.0.0-next.0` bound rejected
5.0.0-rc.0 and npm failed with ERESOLVE. Drop the bound.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@johnjenkins
johnjenkins requested a review from a team as a code owner November 12, 2026 11:47
`>=5.0.0-x` with no upper bound also admits v6+. `^5.0.0-x` covers every v5
prerelease and 5.x stable only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@johnjenkins
johnjenkins merged commit 349ef6b into main Nov 12, 2026
4 checks passed
@johnjenkins
johnjenkins deleted the fix/peer-range-allow-rc branch November 12, 2026 12:28
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