mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-24 04:25:34 +08:00
fix: remove postinstall script
This commit is contained in:
@@ -49,7 +49,7 @@ yarn example start
|
||||
|
||||
The code in this repo uses the source from [`@react-navigation/stack`](https://github.com/react-navigation/navigation-ex/tree/master/packages/stack) and patches it to make it usable in React Navigation 4. If you need to make changes, please send a pull request there.
|
||||
|
||||
If the change is specifically related to React Navigation 4 integration, change the files in `src/vendor` and then run `yarn patch` to update the patch file with the latest changes.
|
||||
If the change is specifically related to React Navigation 4 integration, first run `yarn sync`, then change the files in `src/vendor` and then run `yarn patch` to update the patch file with the latest changes.
|
||||
|
||||
Make sure your code passes TypeScript and ESLint. Run the following to verify:
|
||||
|
||||
|
||||
@@ -15,11 +15,12 @@
|
||||
"test": "jest",
|
||||
"lint": "eslint --ext .js,.ts,.tsx .",
|
||||
"typescript": "tsc --noEmit",
|
||||
"postinstall": "bash scripts/sync-stack.sh",
|
||||
"prepare": "bob build",
|
||||
"prerelease": "yarn sync",
|
||||
"release": "release-it",
|
||||
"example": "yarn --cwd example",
|
||||
"bootstrap": "yarn example && yarn",
|
||||
"bootstrap": "yarn example && yarn && yarn sync",
|
||||
"sync": "bash scripts/sync-stack.sh",
|
||||
"patch": "diff -ruN node_modules/@react-navigation/stack/src src/vendor > scripts/stack.patch; printf ''"
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
@@ -1353,9 +1353,9 @@
|
||||
react-is "^16.8.6"
|
||||
|
||||
"@react-navigation/core@^5.0.0-alpha.28":
|
||||
version "5.0.0-alpha.27"
|
||||
resolved "https://registry.yarnpkg.com/@react-navigation/core/-/core-5.0.0-alpha.27.tgz#40a209910e284635570d539eeb0bd6cecb9f8124"
|
||||
integrity sha512-R/pIxAyJaORLlUFZlwenN92Llo4pyWNRZJ190JTHDqL5T17yD0jokXoketl3+CO+jUgwesZqy7M4pSiMdSiDqA==
|
||||
version "5.0.0-alpha.28"
|
||||
resolved "https://registry.yarnpkg.com/@react-navigation/core/-/core-5.0.0-alpha.28.tgz#284d07114e6dd93a2b0bc06d2a23e72f27ea3bf2"
|
||||
integrity sha512-GkRGb2F3lxj+F2B/N1Fih1KFFX0B5fnMlsHvuY14uU/7aEOdS0pUeOMMLBzrpQx3FhJDMGm9mIh68j28NEU2eg==
|
||||
dependencies:
|
||||
escape-string-regexp "^2.0.0"
|
||||
query-string "^6.9.0"
|
||||
|
||||
Reference in New Issue
Block a user