Properly patching packages: persistently producing patches for published projects, particularly practically prevented by patch-package
policy (10 mins read).

How to use patch-package
to modify NPM dependencies, for instance when you're distributing an executable and you want to patch something you rely upon, without relying upon postinstall
scripts.