@rootnode-app/react-native 0.1.1 → 0.1.2
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.
- package/README.md +4 -2
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -8,8 +8,10 @@ queueing and sessions, person properties, push registration.
|
|
|
8
8
|
npx expo install @rootnode-app/react-native
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
>
|
|
12
|
-
>
|
|
11
|
+
> One command — the native engines arrive automatically (npm installs peer
|
|
12
|
+
> dependencies since v7). If expo-doctor reports a version mismatch with your
|
|
13
|
+
> Expo SDK, run `npx expo install --fix` once. Includes a native crash
|
|
14
|
+
> engine: ship with a new build (EAS), not an OTA update.
|
|
13
15
|
|
|
14
16
|
```tsx
|
|
15
17
|
import { Rootnode } from '@rootnode-app/react-native';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rootnode-app/react-native",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Rootnode for React Native / Expo apps: crash reporting, analytics, sessions and push registration — one install, one init.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Doğan Aktı",
|
|
@@ -19,19 +19,19 @@
|
|
|
19
19
|
"scripts": {
|
|
20
20
|
"build": "tsc -p tsconfig.build.json",
|
|
21
21
|
"test": "vitest run",
|
|
22
|
-
"prepublishOnly": "npm run test && npm run build"
|
|
22
|
+
"prepublishOnly": "npm run test && npm run build && npm run verify:bundle",
|
|
23
|
+
"verify:bundle": "esbuild dist/index.js --bundle --platform=browser --outfile=/dev/null --external:react-native --external:@sentry/react-native --external:expo-device --external:expo-notifications --external:expo-file-system --external:expo-file-system/legacy --external:expo-application --external:expo-updates --external:@react-native-async-storage/async-storage --log-level=error"
|
|
23
24
|
},
|
|
24
|
-
"
|
|
25
|
+
"peerDependencies": {
|
|
26
|
+
"react-native": "*",
|
|
25
27
|
"@sentry/react-native": ">=5.0.0",
|
|
26
28
|
"expo-device": "*",
|
|
27
29
|
"expo-notifications": "*"
|
|
28
30
|
},
|
|
29
|
-
"peerDependencies": {
|
|
30
|
-
"react-native": "*"
|
|
31
|
-
},
|
|
32
31
|
"devDependencies": {
|
|
33
32
|
"@types/node": "^22.20.5",
|
|
34
33
|
"typescript": "^5.9.3",
|
|
35
|
-
"vitest": "^2.1.9"
|
|
34
|
+
"vitest": "^2.1.9",
|
|
35
|
+
"esbuild": "^0.24.0"
|
|
36
36
|
}
|
|
37
37
|
}
|