Skip to content

Add guidelines around when to use peerDependencies vs. dependencies #117

Description

@mcmire

While maintaining Wallet Framework packages, we have found that controller dependencies and type-only dependencies frequently get miscategorized. It would be good to have a resource we can point people to whenever confusion arises.

Acceptance Criteria

  • A document exists which explains:
    • Why peerDependencies exists and what it does
    • Situations in which filing a dependency under devDependencies + peerDependencies is desired over dependencies (e.g. controllers)
    • Situations in which it is not appropriate to file a dependency under devDependencies + peerDependencies (e.g. type-only dependencies)
    • When and how to bump peerDependencies in a monorepo

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions