File tree 1 file changed +11
-1
lines changed
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 42
42
You can use ` --save-dev ` if you don't need to run npm in production, e.g. if
43
43
you're making a web frontend.
44
44
45
- ### yarn
45
+ ### yarn v1
46
46
47
47
yarn add patch-package postinstall-postinstall
48
48
@@ -59,6 +59,16 @@ need to repeat the setup process for the child package. Also make sure you're in
59
59
the child package directory when you run ` patch-package ` to generate the patch
60
60
files.
61
61
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
+
62
72
### Heroku
63
73
64
74
For ` patch-package ` to work on Heroku applications, you must specify
You can’t perform that action at this time.
0 commit comments