Skip to content

support for peer dependencies #880

Open
Discussion / Question
@skoshx

Description

@skoshx

Currently there is no way to define peer dependencies for packages published on JSR.

This is a major problem if we're authoring a package for React or Effect, where we want the end-user to be able to use different versions of React without errors.

Currently all dependencies are handled like direct dependencies, and in Deno there is no concept of peer dependencies.

Nonetheless, there should be some way to add peer dependencies, otherwise you simply can't publish usable packages on JSR for React, Effect + many other ecosystem libraries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions