@instantdb/react-native-mmkv 0.0.0 → 0.22.112-experimental.react-native-mmkv.21370269859.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,16 @@
1
+
2
+ > @instantdb/react-native-mmkv@0.22.112-experimental.react-native-mmkv.21370269859.1 build /home/runner/work/instant/instant/client/packages/react-native-mmkv
3
+ > rm -rf dist; npm run build:main && npm run build:module
4
+
5
+ npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm.
6
+ npm warn Unknown user config "always-auth". This will stop working in the next major version of npm.
7
+
8
+ > @instantdb/react-native-mmkv@0.22.112-experimental.react-native-mmkv.21370269859.1 build:main
9
+ > tsc -p tsconfig.json
10
+
11
+ npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm.
12
+ npm warn Unknown user config "always-auth". This will stop working in the next major version of npm.
13
+
14
+ > @instantdb/react-native-mmkv@0.22.112-experimental.react-native-mmkv.21370269859.1 build:module
15
+ > tsc -p tsconfig.module.json
16
+
package/README.md CHANGED
@@ -22,6 +22,23 @@
22
22
 
23
23
  Welcome to [Instant's](http://instantdb.com) React Native MMKV interface.
24
24
 
25
+ ## Usage
26
+
27
+ ### Create an app with expo
28
+ npx create-expo-app instant-rn-demo
29
+ cd instant-rn-demo
30
+
31
+ ### Install instant
32
+ npm i @instantdb/react-native @instantdb/react-native-mmkv
33
+
34
+ ### Install peer dependencies
35
+ npx expo install react-native-mmkv react-native-nitro-modules @react-native-community/netinfo react-native-get-random-values @react-native-async-storage/async-storage
36
+
37
+ ### Prebuild
38
+ npx expo prebuild
39
+
40
+ ### Import Storage from @instantdb/react-native-mmkv
41
+
25
42
  ```javascript
26
43
  // ༼ つ ◕_◕ ༽つ Real-time Chat
27
44
  // ----------------------------------
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instantdb/react-native-mmkv",
3
- "version": "0.0.0",
3
+ "version": "0.22.112-experimental.react-native-mmkv.21370269859.1",
4
4
  "description": "React Native MMKV interface for Instant DB",
5
5
  "homepage": "https://github.com/instantdb/instant/tree/main/client/packages/react-native-mmkv",
6
6
  "repository": {
@@ -25,7 +25,7 @@
25
25
  "react-native-mmkv": ">=1.15"
26
26
  },
27
27
  "dependencies": {
28
- "@instantdb/core": "0.0.0"
28
+ "@instantdb/core": "0.22.112-experimental.react-native-mmkv.21370269859.1"
29
29
  },
30
30
  "scripts": {
31
31
  "test": "vitest",