Skip to content

linked config setting not working as expected? #570

@ianstormtaylor

Description

@ianstormtaylor

Affected Packages

pkg:cli

Problem

I was assuming linked would help with enforcing packages to always use the same version amongst each other, similar to how Lerna does. However that appears to not be the case. Here's the recent versioning pull request on Slate that shows the issue: ianstormtaylor/slate#4198

Both slate and slate-react are bumped to 0.62.1 but the others are left at 0.62.0.

Proposed solution

Either change linked to keep things at the same version, or potentially add another setting called pinned or something that does it. The use case being keeping a set of packages always on the same version when one of them is bumped so that people can be guaranteed to have packages that work together really easily. (I believe this is what popular projects like Babel and React do?)

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