@treenity/patch-libs
v0.1.23
Published
Patch Libs =====
Downloads
390
Readme
Patch Libs
Package to put your pathces for extarnal libs. Will be applied automatically only to packages, which exists in your setup.
Create new patch for <package>
- pnpm i <package>
- Edit files in
node_modules/<package>
patch-package <package>
- The patch will be created in the
patches
directory - Commit the file
patches/<package>+<version>.patch
- Revert
package.json
. No need for any deps
Test your patch before commit
- Run
npm run patch-libs
- The
<package>
will be installed innode_modules
and patched - Check that all the changes applied correctly
- Use
npm run cleanup
to remove deps, and run patch process again
Patches are applied automatically with