Sometimes, you really need to make a change to a dependency to fix something, or to make a small feature for a special use case.
It is time consuming, and sometimes very difficult, to fork a dependency from its git repo, modify it, and then publish it and consume the new version.
Well, thanks to patch-package, that is now a thing of the past!
Apply patches to any dependencies right inside node_modules, and patch-package
will track the changes in a reproducible way that you commit to your project repository, then anyone else who runs npm install
in the same project will have the same modifications (patches) applied to their dependencies.
Oh yeah!
Top comments (0)