Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Something like ds300/patch-package but with bun and pnpm support. Zero dependencies

License

Notifications You must be signed in to change notification settings

xhyrom-archive/patch-package

Repository files navigation

Patch Package

Most code is from https://github.com/ds300/patch-package

Install:

$ bun add @xhyrom/patch-package
$ pnpm add @xhyrom/patch-package
$ yarn add @xhyrom/patch-package
$ npm i @xhyrom/patch-package

Run

# fix a bug in one of your dependencies
vim node_modules/some-package/brokenFile.js

# start patch-package
npx @xhyrom-patch-package some-package
# with bun: bun node_modules/@xhyrom/patch-package some-package

Setup

"scripts": {
+    "postinstall": "@xhyrom-patch-package"
}

With bun:

You need run bun node_modules/@xhyrom/patch-package after every bun add some-package

About

Something like ds300/patch-package but with bun and pnpm support. Zero dependencies

Resources

License

Stars

Watchers

Forks

Packages

No packages published