Skip to content

Conversation

@dperetti
Copy link

Add Yarn 2 PnP compatibility by declaring the binary in package.json.

Can be tested like this:

# add to a project
yarn add --dev package-yaml@https://github.com/dperetti/package-yaml.git#yarn-compatibility

# Run package-yaml
yaml package-yaml

@dperetti dperetti changed the title Declare binary in package.json Declare binary in package.json (Yarn 2 compatibility) Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant