@treenity/patch-libs
v0.1.24
Published
Patch Libs =====
Downloads
82
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
patchesdirectory - 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_modulesand patched - Check that all the changes applied correctly
- Use
npm run cleanupto remove deps, and run patch process again
Patches are applied automatically with
