Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Use peer dependencies in package.json #12481

Open
@robations

Description

@robations

When using npm as an install mechanism it would be useful to use the peerDependencies key to constrain the installed versions.

For example, the angular-animate module should only be used with the corresponding Angular core version, at the moment it is easy to upgrade angular one minor version without upgrading angular-animate. If angular-animate@1.4.x specified angular@1.4.x as a peer dependency this confusion wouldn't be possible (as far as I understand npm’s resolution logic).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions