Skip to content

[yarn v2 berry] Chalk belongs in regular dependencies, not devDependencies #439

Closed
@michaelfarrell76

Description

@michaelfarrell76

Logs and screenshots
attempting to require this package in yarn v2:
Screen Shot 2021-04-25 at 2 33 50 PM

successfully requiring this package after adding chalk as a dependency:
Screen Shot 2021-04-25 at 2 34 09 PM

Versions

7.1.0

Describe the bug

yarn v2 is much stricter with packages. currently cypress-io/code-coverage has chalk as a devDependency but it is used as a regular dependency. yarn v2 fails to require chalk unless the calling package also declares chalk as a dependency.

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