gilbsgilbs / babel-plugin-i18next-extract

Babel plugin that statically extracts i18next and react-i18next translation keys.
https://i18next-extract.netlify.com
MIT License
161 stars 37 forks source link

fix: don't use yarn to publish package #261

Closed gilbsgilbs closed 1 year ago

gilbsgilbs commented 1 year ago

Recent versions of yarn refuse to publish packages that don't have a yarn.lock and are located within an existing workspace. If we create an empty yarn.lock, yarn still insists on locking the dependencies, which we definitely don't want to include in the output package.

Always use npm to publish package. I guess using yarn for anything makes little sense nowadays, so we might just want to drop it entirely at some point.

See #260