ds300 / patch-package

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

add —use-npm for a yarn project #420

Closed xpol closed 2 years ago

xpol commented 2 years ago

Why: I know we have copied the .npmrc and .yarnrc if it is exists in the current project. But yarn does not respect all settings in the .yarnrc, eg. the registry settings.

So for a yarn project that need patch, we have to specify the registry settings in a .npmrc to make it able to download from private registry.