Skip to content

Commit 6fc78ff

Browse files
authored
Update README.md
1 parent e16546c commit 6fc78ff

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Then
4242
You can use `--save-dev` if you don't need to run npm in production, e.g. if
4343
you're making a web frontend.
4444

45-
### yarn
45+
### yarn v1
4646

4747
yarn add patch-package postinstall-postinstall
4848

@@ -59,6 +59,16 @@ need to repeat the setup process for the child package. Also make sure you're in
5959
the child package directory when you run `patch-package` to generate the patch
6060
files.
6161

62+
### yarn v2+
63+
64+
yarn 2+ have native support for patching dependencies via [`yarn patch`](https://yarnpkg.com/cli/patch).
65+
You do not need to use patch-package on these projects.
66+
67+
### pnpm
68+
69+
pnpm has native support for patching dependencies via [`pnpm patch`](https://pnpm.io/cli/patch).
70+
You do not need to use patch-package on these projects.
71+
6272
### Heroku
6373

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

0 commit comments

Comments
 (0)