Skip to content
This repository was archived by the owner on Nov 3, 2025. It is now read-only.

Commit 8d62f13

Browse files
committed
🐛 (install) fix patch-package in production
1 parent 038d75c commit 8d62f13

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/Contribute.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ route: /contribute
77

88
- Clone this repository.
99
- Run `yarn` in the root directory.
10+
- Run `yarn post-install` in the root directory.
1011
- Run `yarn` in the `example` directory.
1112
- Add your code and its test in the `<rootDir>/src` directory.
1213
- Add your example code and its test in the `<rootDir>/example` directory.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"react-native": "*"
1919
},
2020
"scripts": {
21-
"postinstall": "patch-package",
21+
"post-install": "patch-package",
2222
"build": "tsc",
2323
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
2424
"predoc:build": "cd example && yarn && cd ..",

0 commit comments

Comments
 (0)