ramasilveyra / gitpkg

Publish packages as git tags
MIT License
274 stars 27 forks source link

fix: support yarn berry #61

Closed appsforartists closed 2 years ago

appsforartists commented 2 years ago

Adding support for the default package name in Berry (package.tgz) is the simplest fix.

Alternatively, we could detect the yarn lineage and use --filename (classic) or --out (berry) to use the same package name across clients.

Fixes #43


I haven't used jest before, so getting the tests to work has been a chore. I was able to adapt your get-npm-client test to work for get-yarn-lineage, but I don't know the right way to mock a local module to update the get-npm-client test.

ramasilveyra commented 2 years ago

Thank you!

ramasilveyra commented 2 years ago

released on v1.0.0-beta.4