Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
orta authored Sep 28, 2022
1 parent e16546c commit 6fc78ff
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Then
You can use `--save-dev` if you don't need to run npm in production, e.g. if
you're making a web frontend.

### yarn
### yarn v1

yarn add patch-package postinstall-postinstall

Expand All @@ -59,6 +59,16 @@ 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.

### yarn v2+

yarn 2+ have native support for patching dependencies via [`yarn patch`](https://yarnpkg.com/cli/patch).
You do not need to use patch-package on these projects.

### pnpm

pnpm has native support for patching dependencies via [`pnpm patch`](https://pnpm.io/cli/patch).
You do not need to use patch-package on these projects.

### Heroku

For `patch-package` to work on Heroku applications, you must specify
Expand Down

0 comments on commit 6fc78ff

Please sign in to comment.