Skip to content

Commit

Permalink
chore: bump rn web and add async storage that supports web (example a…
Browse files Browse the repository at this point in the history
…pp) (#2057)
  • Loading branch information
Trancever committed Jul 16, 2020
1 parent 1052ed6 commit 676de43
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 9 deletions.
3 changes: 2 additions & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "node_modules/expo/AppEntry.js",
"dependencies": {
"@expo/vector-icons": "^10.2.0",
"@react-native-community/async-storage": "~1.11.0",
"@react-native-community/masked-view": "0.1.10",
"@react-navigation/drawer": "^5.6.1",
"@react-navigation/native": "^5.2.1",
Expand All @@ -30,7 +31,7 @@
"react-native-safe-area-context": "3.0.2",
"react-native-screens": "~2.9.0",
"react-native-vector-icons": "^6.6.0",
"react-native-web": "~0.11.7",
"react-native-web": "~0.13.0",
"typeface-roboto": "^0.0.54"
},
"devDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion example/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import * as React from 'react';
import { AsyncStorage, I18nManager, Platform, YellowBox } from 'react-native';
import { I18nManager, Platform, YellowBox } from 'react-native';
import AsyncStorage from '@react-native-community/async-storage';
import { Updates } from 'expo';
import { useKeepAwake } from 'expo-keep-awake';
import { InitialState, NavigationContainer } from '@react-navigation/native';
Expand Down
26 changes: 19 additions & 7 deletions example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1993,6 +1993,13 @@
node-gyp "^6.1.0"
read-package-json-fast "^1.1.3"

"@react-native-community/async-storage@~1.11.0":
version "1.11.0"
resolved "https://registry.yarnpkg.com/@react-native-community/async-storage/-/async-storage-1.11.0.tgz#bf81b8813080846f150c67f531987c429b442166"
integrity sha512-Pq9LlmvtCEKAGdkyrgTcRxNh2fnHFykEj2qnRYijOl1pDIl2MkD5IxaXu5eOL0wgOtAl4U//ff4z40Td6XR5rw==
dependencies:
deep-assign "^3.0.0"

"@react-native-community/cli-debugger-ui@^4.8.0":
version "4.8.0"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-debugger-ui/-/cli-debugger-ui-4.8.0.tgz#9a6419b29be69422e0056bbb1874775750351d22"
Expand Down Expand Up @@ -7005,6 +7012,11 @@ hyphenate-style-name@^1.0.2:
resolved "https://registry.yarnpkg.com/hyphenate-style-name/-/hyphenate-style-name-1.0.3.tgz#097bb7fa0b8f1a9cf0bd5c734cf95899981a9b48"
integrity sha512-EcuixamT82oplpoJ2XU4pDtKGWQ7b00CD9f1ug9IaQ3p1bkHMiKCZ9ut9QDI6qsa6cpUuB+A/I+zLtdNK4n2DQ==

hyphenate-style-name@^1.0.3:
version "1.0.4"
resolved "https://registry.yarnpkg.com/hyphenate-style-name/-/hyphenate-style-name-1.0.4.tgz#691879af8e220aea5750e8827db4ef62a54e361d"
integrity sha512-ygGZLjmXfPHj+ZWh6LwbC37l43MhfztxetbFCoYTM2VjkIUpeHgSNn7QIyVFj7YQ1Wl9Cbw5sholVJPzWvC2MQ==

iconv-lite@0.4.23:
version "0.4.23"
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.23.tgz#297871f63be507adcfbfca715d0cd0eed84e9a63"
Expand Down Expand Up @@ -7152,7 +7164,7 @@ ini@^1.3.5, ini@~1.3.0:
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927"
integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==

inline-style-prefixer@^5.0.3:
inline-style-prefixer@^5.1.0:
version "5.1.2"
resolved "https://registry.yarnpkg.com/inline-style-prefixer/-/inline-style-prefixer-5.1.2.tgz#e5a5a3515e25600e016b71e39138971228486c33"
integrity sha512-PYUF+94gDfhy+LsQxM0g3d6Hge4l1pAqOSOiZuHWzMvQEGsbRQ/ck2WioLqrY2ZkHyPgVUXxn+hrkF7D6QUGbA==
Expand Down Expand Up @@ -10751,18 +10763,18 @@ react-native-vector-icons@^6.6.0:
prop-types "^15.6.2"
yargs "^13.2.2"

react-native-web@~0.11.7:
version "0.11.7"
resolved "https://registry.yarnpkg.com/react-native-web/-/react-native-web-0.11.7.tgz#d173d5a9b58db23b6d442c4bc4c81e9939adac23"
integrity sha512-w1KAxX2FYLS2GAi3w3BnEZg/IUu7FdgHnLmFKHplRnHMV3u1OPB2EVA7ndNdfu7ds4Rn2OZjSXoNh6F61g3gkA==
react-native-web@~0.13.0:
version "0.13.3"
resolved "https://registry.yarnpkg.com/react-native-web/-/react-native-web-0.13.3.tgz#fe6799a1a341b60a617194b51042c40f57bfb34c"
integrity sha512-szUf/qDMZileJKglUmMT5UdPYltmmF2ywZ0OFeW7/6XmYDJP+Bepo3eGaCwm1bMcopLBq+lNdbn854CHfU8yBw==
dependencies:
array-find-index "^1.0.2"
create-react-class "^15.6.2"
debounce "^1.2.0"
deep-assign "^3.0.0"
fbjs "^1.0.0"
hyphenate-style-name "^1.0.2"
inline-style-prefixer "^5.0.3"
hyphenate-style-name "^1.0.3"
inline-style-prefixer "^5.1.0"
normalize-css-color "^1.0.2"
prop-types "^15.6.0"
react-timer-mixin "^0.13.4"
Expand Down

0 comments on commit 676de43

Please sign in to comment.