Skip to content

Loosen version constraints on runtime dependencies #497

@alloy

Description

@alloy

Palette should probably not impose constraints on patch versions and use the lowest possible minor version that is required.

For instance, if Palette has a dependency on moment with constraint ^2.23.0, then when the main project depends on moment with a constraint like 2.19.0 or 2.24.0 we’ll end up with multiple versions installed. Instead, Palette should specify ^2.0 or, only if a feature was added in v2.23, it should be ^2.23.

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