Skip to content

Permissive React deps range isn't truly permissive #763

@valscion

Description

@valscion

This PR #745 is not really working with React canaries as expected:

Solution

This change updates the version specifiers for the React peer dependencies to any versions within 19.2.0-canary-3fb190f7-20250908 <20.0.0

The error I'm seeing is:

npm error Could not resolve dependency:
npm error peer react@"19.2.0-canary-3fb190f7-20250908 <20.0.0" from rwsdk@1.0.0-alpha.8
npm error node_modules/rwsdk
npm error   rwsdk@"1.0.0-alpha.8" from the root project

The problem is the same as discovered in c491d99 in PR #748 — the React version tags for canaries use the commit hash first so the version range constraints can't be defined as "a canary no older than this version".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions