ds300 / patch-package

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

request to support `npm:` aliases #449

Open jeetiss opened 1 year ago

jeetiss commented 1 year ago

All package managers support installing dependencies via npm alias, which is handy when you are working with different versions of one library.

example:

...
    "rpr3.0.1": "npm:@react-pdf/renderer@3.0.1",
    "rpr3.0.2": "npm:@react-pdf/renderer@^3.0.2",
...

patch-package doesn't support this feature and I have no chance to modify a package because it is installed in a folder that differs from the package name.