File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 4242You can use ` --save-dev ` if you don't need to run npm in production, e.g. if
4343you'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
5959the child package directory when you run ` patch-package ` to generate the patch
6060files.
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
6474For ` patch-package ` to work on Heroku applications, you must specify
You can’t perform that action at this time.
0 commit comments