ds300 / patch-package

Fix broken node modules instantly 🏃🏽‍♀️💨
MIT License
10.31k stars 288 forks source link

Support for yarn berry #528

Closed KrzysztofZawisla closed 2 weeks ago

KrzysztofZawisla commented 1 month ago

Would be awesome to have a support for yarn at berry version. Right now, I'm unable to use patch-package with this specific version of yarn.

thegdznet commented 2 weeks ago

Hello.

You can try "yarn patch [package]" directly with yarn Berry. Don't forget to follow instructions displayed by yarn (i.e. "Once you are done run yarn patch-commit -s...").

Yarn will create a patch file in ".yarn/patches" and modify package.json for You.

Hoping it will help,