Skip to content

Commit

Permalink
fix: simplify dependency management by only requiring the native libr…
Browse files Browse the repository at this point in the history
…ary (automatic linking)
  • Loading branch information
RichardLindhout committed Jun 24, 2023
1 parent 49e39df commit 24bcb10
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@ Use Expo with prebuild (Expo Go is not supported since we have native libraries)
#### 2. Install deps + library
```
yarn add react-native-ridge-navigation navigation navigation-react navigation-react-mobile navigation-react-native
yarn add react-native-ridge-navigation navigation-react-native
```
or with npm
```
npm install react-native-ridge-navigation navigation navigation-react navigation-react-mobile navigation-react-native
npm install react-native-ridge-navigation navigation-react-native
```
Expand Down
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@
"expo-linking": "^4.0.1",
"husky": "^8.0.2",
"jest": "^29.3.1",
"navigation": "^6.1.0",
"navigation": "^6.2.0",
"navigation-react": "^4.5.1",
"navigation-react-mobile": "^3.9.0",
"navigation-react-mobile": "^3.10.0",
"navigation-react-native": "^9.2.1",
"navigation-react-native-web": "^1.3.0",
"pod-install": "^0.1.0",
Expand All @@ -92,9 +92,6 @@
"peerDependencies": {
"color": "*",
"expo-linking": "*",
"navigation": "*",
"navigation-react": "*",
"navigation-react-mobile": "*",
"navigation-react-native": "*",
"react": "*",
"react-native": "*"
Expand Down
15 changes: 10 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10574,11 +10574,16 @@ natural-compare@^1.4.0:
resolved "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==

navigation-react-mobile@*, navigation-react-mobile@^3.9.0:
navigation-react-mobile@*:
version "3.9.0"
resolved "https://registry.npmjs.org/navigation-react-mobile/-/navigation-react-mobile-3.9.0.tgz#4b38bd2412f3a503346c1912c48b24639a3ba5fd"
integrity sha512-ZWwRs3TAByIXgne2ZNvTLSgXa0tKK4puorEC05SUnmeJobXOMFPJpJiYDQrb/pZg0GBr69waFAqPiveGyr0CGw==

navigation-react-mobile@^3.10.0:
version "3.10.0"
resolved "https://registry.npmjs.org/navigation-react-mobile/-/navigation-react-mobile-3.10.0.tgz#ba9ef10d51b492a449b3afa9777debe86f70dabf"
integrity sha512-SEOhP6ugX02kZ/f+2KZA1G+UTMLhyBWLSJAGUfUrOAPSFqCmPv0jKJTRM2EoAvQg+FVqfwOObXNoDWf2UXEBIA==

navigation-react-native-web@^1.3.0:
version "1.3.0"
resolved "https://registry.npmjs.org/navigation-react-native-web/-/navigation-react-native-web-1.3.0.tgz#dc192205d3d9fc117adac51d7b86c83748ac92b8"
Expand All @@ -10596,10 +10601,10 @@ navigation-react@^4.5.1:
resolved "https://registry.npmjs.org/navigation-react/-/navigation-react-4.5.1.tgz#47adb8ba220f0701736328b359f347a619f2fc6c"
integrity sha512-s8FUkLATlr2JcXiyOR9DUQlIAZNyqX3oW0m2u6VCLxmSNSUHUCqueSsULtRTS2FoBAYqN81tZzLMsSw0sBQeDg==

navigation@^6.1.0:
version "6.1.0"
resolved "https://registry.npmjs.org/navigation/-/navigation-6.1.0.tgz#6addd11b212064250f6c7168c05b4ddb1fbbd2aa"
integrity sha512-lzFTF9L49o5v5/Ja3VTACLqg2cthMu63YjAa8ripzMA6+ayAVUvNmfulZcbHhU8LFX/qoUlb8fSSKFb+lNpwQQ==
navigation@^6.2.0:
version "6.2.0"
resolved "https://registry.npmjs.org/navigation/-/navigation-6.2.0.tgz#9dee79f82e1ab603fa2d9bdd5465e42441fcbf6e"
integrity sha512-PcAsKXzTJ4WSLEz2AWHeIv+R9tvagN7qdMaGO8mY0SuPaY11q5HLBbpYQi6+kwljbmRKHju0gxRMwNf17e1zDg==

ncp@~2.0.0:
version "2.0.0"
Expand Down

0 comments on commit 24bcb10

Please sign in to comment.