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

Commit e78920e

Browse files
committed
add and remove some dependecy
1 parent 3b9b4f5 commit e78920e

File tree

4 files changed

+43
-27
lines changed

4 files changed

+43
-27
lines changed

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"trailingComma": "all",
2+
"trailingComma": "es5",
33
"semi": true,
44
"singleQuote": true,
55
"tabWidth": 2,

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@
3232
"homepage": "https://github.com/react-navigation/react-navigation-hooks#readme",
3333
"dependencies": {
3434
"@babel/core": "^7.1.6",
35+
"babel-core": "^7.0.0-bridge.0",
3536
"babel-jest": "^23.6.0"
3637
},
3738
"devDependencies": {
38-
"@react-navigation/core": "bySabi/react-navigation-core#wip",
39-
"@react-navigation/native": "^3.0.0",
39+
"@react-navigation/core": "^3.0.0",
4040
"@types/jest": "^23.3.9",
4141
"@types/react": "^16.7.7",
4242
"@types/react-native": "^0.57.14",
@@ -49,6 +49,7 @@
4949
"pretty-quick": "^1.8.0",
5050
"react": "^16.7.0-alpha.2",
5151
"react-native": "^0.57.7",
52+
"react-navigation": "^3.0.4",
5253
"react-navigation-types-only": "bySabi/react-navigation#patch-1",
5354
"react-test-renderer": "^16.7.0-alpha.2",
5455
"release-it": "^7.6.1",
@@ -61,7 +62,6 @@
6162
},
6263
"peerDependencies": {
6364
"@react-navigation/core": "^3.0.0",
64-
"@react-navigation/native": "^3.0.0",
6565
"react": "^16.7.0-alpha.2",
6666
"react-native": "*"
6767
},

src/__tests__/Hooks-test.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import * as renderer from 'react-test-renderer';
44
// TODO: Remove "react-navigation-types-only" when https://github.com/react-navigation/react-navigation/pull/5276
55
// get merged
66
// import { NavigationScreenProp } from "react-navigation-types-only";
7-
import { createStackNavigator } from '@react-navigation/core';
8-
import { createAppContainer } from '@react-navigation/native';
7+
import { createStackNavigator, createAppContainer } from 'react-navigation';
98
import {
109
useNavigation
1110
} from '../../';

yarn.lock

Lines changed: 38 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -701,9 +701,10 @@
701701
universal-user-agent "^2.0.0"
702702
url-template "^2.0.8"
703703

704-
"@react-navigation/core@^3.0.0", "@react-navigation/core@bySabi/react-navigation-core#wip":
704+
"@react-navigation/core@3.0.0", "@react-navigation/core@^3.0.0":
705705
version "3.0.0"
706-
resolved "https://codeload.github.com/bySabi/react-navigation-core/tar.gz/9ff22565b9d0ece2ceb72f97ee46feeec98c82e0"
706+
resolved "https://registry.yarnpkg.com/@react-navigation/core/-/core-3.0.0.tgz#042c7fcb99331d7b452868d129b4e1cc3a4c60b9"
707+
integrity sha512-WZH4notU5tZNxtQ1Vl/y8Z0685+nWtyJlfqKf6ybZruah8BC+sml3tKoBqCHzUTybCfYtRT7pPuCgvlpADe3UQ==
707708
dependencies:
708709
create-react-context "^0.2.3"
709710
hoist-non-react-statics "^3.0.1"
@@ -712,7 +713,7 @@
712713
react-is "^16.5.2"
713714
react-lifecycles-compat "^3.0.4"
714715

715-
"@react-navigation/native@^3.0.0", "@react-navigation/native@^3.0.1":
716+
"@react-navigation/native@3.0.2", "@react-navigation/native@^3.0.1":
716717
version "3.0.2"
717718
resolved "https://registry.yarnpkg.com/@react-navigation/native/-/native-3.0.2.tgz#3365846d54f7e0cf4a7e6bc9b5ef574bfe6774ce"
718719
integrity sha512-DGeP/EvLmoPxkfF9OQg5ZUgfiEA6vfQdYCL3VIkpw5pEVDO9LFvUih9N9ZWcGLBhn6eEXUa4Dx7cyUnvFp04nQ==
@@ -760,9 +761,9 @@
760761
"@types/react" "*"
761762

762763
"@types/react@*", "@types/react@^16.7.7":
763-
version "16.7.10"
764-
resolved "https://registry.yarnpkg.com/@types/react/-/react-16.7.10.tgz#a0ebd3af6632d6997506f6d1aac67fed8d0851b0"
765-
integrity sha512-8EFSjCFLUA7JJQ6lJ9+9/99urIrdHACwH8GqPlYAPyIjxOkz2snkttOzItwUwXgqc2xg+r/IYW8M1J8WXax7xg==
764+
version "16.7.11"
765+
resolved "https://registry.yarnpkg.com/@types/react/-/react-16.7.11.tgz#1743b82ea6a0c659467f0c7317c233edb1f10be9"
766+
integrity sha512-KZvX2XjzBPz+Dh7cjgDzzLxUmg4k8CnCSsB1V2Vtt1YtSIGe1sfHp2+Htl3S5DzeKrHnioaDHTMN/fjAvnEsSg==
766767
dependencies:
767768
"@types/prop-types" "*"
768769
csstype "^2.2.0"
@@ -1157,6 +1158,11 @@ babel-core@^6.0.0, babel-core@^6.26.0:
11571158
slash "^1.0.0"
11581159
source-map "^0.5.7"
11591160

1161+
babel-core@^7.0.0-bridge.0:
1162+
version "7.0.0-bridge.0"
1163+
resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-7.0.0-bridge.0.tgz#95a492ddd90f9b4e9a4a1da14eb335b87b634ece"
1164+
integrity sha512-poPX9mZH/5CSanm50Q+1toVci6pv5KSRv/5TWCwtzQS5XEwn40BcCrgIeMFWP9CKKIniKXNxoIOnOq4VVlGXhg==
1165+
11601166
babel-generator@^6.18.0, babel-generator@^6.26.0:
11611167
version "6.26.1"
11621168
resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.26.1.tgz#1844408d3b8f0d35a404ea7ac180f087a601bd90"
@@ -2853,9 +2859,9 @@ ee-first@1.1.1:
28532859
integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=
28542860

28552861
electron-to-chromium@^1.3.47:
2856-
version "1.3.85"
2857-
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.85.tgz#5c46f790aa96445cabc57eb9d17346b1e46476fe"
2858-
integrity sha512-kWSDVVF9t3mft2OHVZy4K85X2beP6c6mFm3teFS/mLSDJpQwuFIWHrULCX+w6H1E55ZYmFRlT+ATAFRwhrYzsw==
2862+
version "1.3.86"
2863+
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.86.tgz#a45ea01da5b26500d12bca5e0f194ebb3e1fd14e"
2864+
integrity sha512-BcmXOu37FCPxrrh0wyKgKi5dAjIu2ohxN5ptapkLPKRC3IBK2NeIwh9n1x/8HzSRQiEKamJkDce1ZgOGgEX9iw==
28592865

28602866
elegant-spinner@^1.0.1:
28612867
version "1.0.1"
@@ -6715,22 +6721,22 @@ react-native@^0.57.7:
67156721
xmldoc "^0.4.0"
67166722
yargs "^9.0.0"
67176723

6718-
react-navigation-drawer@^1.0.1:
6719-
version "1.0.3"
6720-
resolved "https://registry.yarnpkg.com/react-navigation-drawer/-/react-navigation-drawer-1.0.3.tgz#5a14de75801a3367762b0562aa506829cb3bb92f"
6721-
integrity sha512-CcYrYsNQZM8Ko69M3+U+0hxOi3TPj0kPtViYdBltDBNG6bOlsnWkRQ1K/TKVRvkucKp9zsjJepHzfREU5S53Gw==
6724+
react-navigation-drawer@1.0.4, react-navigation-drawer@^1.0.1:
6725+
version "1.0.4"
6726+
resolved "https://registry.yarnpkg.com/react-navigation-drawer/-/react-navigation-drawer-1.0.4.tgz#41fbf71db108b3183e0c0351bf19ffee0aea10e7"
6727+
integrity sha512-P+3FgiYX2iQIkXeYCg7hOfg7u9fYBLWjqb1k6ILxML9VBimPXXM+87/lnIsfkZVOm4FIoH/ZAofbkPa7rYeJcQ==
67226728
dependencies:
67236729
react-native-tab-view "^1.2.0"
67246730

6725-
react-navigation-stack@^1.0.1:
6726-
version "1.0.2"
6727-
resolved "https://registry.yarnpkg.com/react-navigation-stack/-/react-navigation-stack-1.0.2.tgz#40ce0b7b61ce455e5ea2d071119b35ab38d75321"
6728-
integrity sha512-02iKoZRqr467z26lNn3b6oDIlIOj76ogzbSgw5P1WTZW+YuIABlpDGcKuYfJsWkiBC/GdR9Qg8vl/kMepDRICg==
6731+
react-navigation-stack@1.0.4, react-navigation-stack@^1.0.1:
6732+
version "1.0.4"
6733+
resolved "https://registry.yarnpkg.com/react-navigation-stack/-/react-navigation-stack-1.0.4.tgz#ec97ca34942e1001b6633690e26e33f86f26e0c3"
6734+
integrity sha512-wMLJkv1kUVXqdLp76n54mCLxp7slI7trLhprz0wTrwcunDjosQjE0AtyuPBS4o+nzM81CD5XGSeVkjyDblebgA==
67296735

6730-
react-navigation-tabs@^1.0.0:
6731-
version "1.0.0"
6732-
resolved "https://registry.yarnpkg.com/react-navigation-tabs/-/react-navigation-tabs-1.0.0.tgz#f9fe3eb8b77787551d017d1279ec049c3bed4950"
6733-
integrity sha512-2oWPk+XfwHihgdOBhuAuzzU94NPhwdvuzseL30R3VsggunfVB4cUtNiQjRP4rVVpdGgJygQtws1eRbUsQ9cECA==
6736+
react-navigation-tabs@1.0.1, react-navigation-tabs@^1.0.0:
6737+
version "1.0.1"
6738+
resolved "https://registry.yarnpkg.com/react-navigation-tabs/-/react-navigation-tabs-1.0.1.tgz#c6974e6c279687d3d7f10349b6820dccef1fd37a"
6739+
integrity sha512-XDftTg0sxh2ZMA4yJ4g8POCSova1gJM3heIUUup7/mDeUKcQRZzE9Xf9gQrbZteybJLAxATy+LAjaUpDvvdKmg==
67346740
dependencies:
67356741
hoist-non-react-statics "^2.5.0"
67366742
prop-types "^15.6.1"
@@ -6747,6 +6753,17 @@ react-navigation-types-only@bySabi/react-navigation#patch-1:
67476753
react-navigation-stack "^1.0.1"
67486754
react-navigation-tabs "^1.0.0"
67496755

6756+
react-navigation@^3.0.4:
6757+
version "3.0.4"
6758+
resolved "https://registry.yarnpkg.com/react-navigation/-/react-navigation-3.0.4.tgz#2e2cf5bde077f9427b11223014ca604c0528758c"
6759+
integrity sha512-qVOOy2ek7ymhgZYrPeB2G8lzFb+Nn6wjGKKYEWuWO6O789K4B1KNGzSQiFrdJ73pKF+U13kJCY8lLyx/ApeWzw==
6760+
dependencies:
6761+
"@react-navigation/core" "3.0.0"
6762+
"@react-navigation/native" "3.0.2"
6763+
react-navigation-drawer "1.0.4"
6764+
react-navigation-stack "1.0.4"
6765+
react-navigation-tabs "1.0.1"
6766+
67506767
react-proxy@^1.1.7:
67516768
version "1.1.8"
67526769
resolved "https://registry.yarnpkg.com/react-proxy/-/react-proxy-1.1.8.tgz#9dbfd9d927528c3aa9f444e4558c37830ab8c26a"

0 commit comments

Comments
 (0)