Skip to content

Commit

Permalink
Using the right package in example
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamaal committed Jul 7, 2021
1 parent 4dbcffd commit d190f63
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
8 changes: 4 additions & 4 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ PODS:
- React-cxxreact (= 0.63.4)
- React-jsi (= 0.63.4)
- React-jsinspector (0.63.4)
- react-native-userdefaults (0.1.0):
- react-native-userdefaults (0.1.5):
- React-Core
- React-RCTActionSheet (0.63.4):
- React-Core/RCTActionSheetHeaders (= 0.63.4)
Expand Down Expand Up @@ -267,7 +267,7 @@ DEPENDENCIES:
- React-jsi (from `../node_modules/react-native/ReactCommon/jsi`)
- React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`)
- React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
- "react-native-userdefaults (from `../node_modules/@kamaal111/react-native-user-defaults`)"
- "react-native-userdefaults (from `../node_modules/@tranzerdev/react-native-user-defaults`)"
- React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`)
- React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`)
- React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`)
Expand Down Expand Up @@ -316,7 +316,7 @@ EXTERNAL SOURCES:
React-jsinspector:
:path: "../node_modules/react-native/ReactCommon/jsinspector"
react-native-userdefaults:
:path: "../node_modules/@kamaal111/react-native-user-defaults"
:path: "../node_modules/@tranzerdev/react-native-user-defaults"
React-RCTActionSheet:
:path: "../node_modules/react-native/Libraries/ActionSheetIOS"
React-RCTAnimation:
Expand Down Expand Up @@ -357,7 +357,7 @@ SPEC CHECKSUMS:
React-jsi: a0418934cf48f25b485631deb27c64dc40fb4c31
React-jsiexecutor: 93bd528844ad21dc07aab1c67cb10abae6df6949
React-jsinspector: 58aef7155bc9a9683f5b60b35eccea8722a4f53a
react-native-userdefaults: e7e6672f10ec3e932af9b392d35d885f43fafedb
react-native-userdefaults: b9a9bc45cf9c0c9d54c2048d7c1e239130a966aa
React-RCTActionSheet: 89a0ca9f4a06c1f93c26067af074ccdce0f40336
React-RCTAnimation: 1bde3ecc0c104c55df246eda516e0deb03c4e49b
React-RCTBlob: a97d378b527740cc667e03ebfa183a75231ab0f0
Expand Down
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "react-native start"
},
"dependencies": {
"@kamaal111/react-native-user-defaults": "^0.1.0",
"@tranzerdev/react-native-user-defaults": "^0.1.5",
"react": "16.13.1",
"react-native": "0.63.4"
},
Expand Down
3 changes: 2 additions & 1 deletion example/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import * as React from 'react';
import { StyleSheet, View, Button } from 'react-native';

import RNUserdefaults from '@kamaal111/react-native-user-defaults';
// @ts-ignore
import RNUserdefaults from '@tranzerdev/react-native-user-defaults';

export default function App() {
return (
Expand Down
10 changes: 5 additions & 5 deletions example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -732,11 +732,6 @@
"@types/yargs" "^15.0.0"
chalk "^3.0.0"

"@kamaal111/react-native-user-defaults@^0.1.0":
version "0.1.0"
resolved "https://registry.yarnpkg.com/@kamaal111/react-native-user-defaults/-/react-native-user-defaults-0.1.0.tgz#273dfd5179cb1ba5ad77b9a623c44762236e550e"
integrity sha512-6svkqv79x6Qj0IbsZGvyyLChYnCrKsWOov1v3qB7avcRa3V8rLs1Av8KRSxgAyKTZ7qTVjkDNzzmdEKWQ1443w==

"@react-native-community/cli-debugger-ui@^4.13.1":
version "4.13.1"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-debugger-ui/-/cli-debugger-ui-4.13.1.tgz#07de6d4dab80ec49231de1f1fbf658b4ad39b32c"
Expand Down Expand Up @@ -857,6 +852,11 @@
sudo-prompt "^9.0.0"
wcwidth "^1.0.1"

"@tranzerdev/react-native-user-defaults@^0.1.6":
version "0.1.5"
resolved "https://registry.yarnpkg.com/@tranzerdev/react-native-user-defaults/-/react-native-user-defaults-0.1.5.tgz#dd54f0ffbfbbf7a641a07e6889b70f27939f3a0c"
integrity sha512-7d6FB22XsnJPCkd8cxgpKSaL0VhYBDzCwrcWIyp1Bq8qtKNQzWmDRHM2/8GJPOvve4FMagotBUanH4Fy+0qaig==

"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0":
version "2.0.3"
resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.3.tgz#4ba8ddb720221f432e443bd5f9117fd22cfd4762"
Expand Down

0 comments on commit d190f63

Please sign in to comment.