Skip to content

Add option to turn hoist warnings into errors #667

@sstone1

Description

@sstone1

Just trying out --hoist, and it's awesome!
However, just a suggestion on this:

Note: If packages depend on different versions of an external dependency, the most commonly used version will be hoisted, and a warning will be emitted.

It would be better if this warning could be turned into an error via lerna.json option or CLI switch, at which point the warnings can be stopped at build/PR time and force the developers to fix the problems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions