Skip to content

question: Is there a way to handle patch: versions in the resolutions field? #254

Open
@dancrumb

Description

Question

Yarn 4 supports patch: versions. An example might be:

    "react-native-markdown-display@7.0.0-alpha.2": "patch:react-native-markdown-display@npm%3A7.0.0-alpha.2#./.yarn/patches/react-native-markdown-display-npm-7.0.0-alpha.2-c4bafd0409.patch"

This results in this error:

✘ name react-native-markdown-display@7.0.0-alpha.2 or version patch:react-native-markdown-display@npm%3A7.0.0-alpha.2#./.yarn/patches/react-native-markdown-display-npm-7.0.0-alpha.2-c4bafd0409.patch are not supported package.json > resolutions [UnsupportedMismatch]

I can't quite figure out how to tell syncpack to ignore that. Until I can do that, I can't use syncpack lint in my CI pipeline.

Is there a way to do this?

Code of Conduct

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions