patch-package lets app authors instantly make and keep fixes to npm dependencies. It's a vital band-aid for those of us living on the bleeding edge. Patches created by patch-package are automatically and gracefully applied when you use npm(>=5) or yarn. No more waiting around for pull requests to be merged and published. No more forking repos just to fix that one tiny thing preventing your app from working. You can use --save-dev if you don't need to run npm in production, e.g. if you're making a web frontend. Note that if you want to patch un-hoisted packages you'll need to repeat the setup process for the child package. Also make sure you're in the child package directory when you run patch-package to generate the patch files. Create a hash of your patches before loading/saving your cache.

Features

  • patch-package checks whether you use npm or yarn based on which lockfile you have
  • Open a web browser with a draft issue based on your diff
  • Considers paths matching the regexp when creating patch files
  • Ignores paths matching the regexp when creating patch files
  • It works with scoped packages too
  • Make more changes, run patch-package, commit the changes to the patch file

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow patch-package

patch-package Web Site

You Might Also Like
Automated quote and proposal software for IT solution providers. | ConnectWise CPQ Icon
Automated quote and proposal software for IT solution providers. | ConnectWise CPQ

Create IT quote templates, automate workflows, add integrations & price catalogs to save time & reduce errors on manual data entry & updates.

ConnectWise CPQ, formerly ConnectWise Sell, is a professional quote and proposal automation software for IT solution providers. ConnectWise CPQ offers a wide range of tools that enables IT solution providers to save time, quote more, and win big. Top features include professional quote or proposal templates, product catalog and sourcing, workflow automation, sales reporting, and integrations with best-in-breed solutions like Cisco, Dell, HP, and Salesforce.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of patch-package!

Additional Project Details

Operating Systems

Linux, Android, Mac

Programming Language

TypeScript

Related Categories

TypeScript Software Development Software

Registered

2021-10-04