@blipit/react-native 0.2.0 → 0.3.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blipit/react-native",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Blipit error monitoring for React Native and Expo. Know your app broke before your users tell you.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -20,7 +20,15 @@
20
20
  ],
21
21
  "sideEffects": false,
22
22
  "peerDependencies": {
23
- "@sentry/react-native": ">=6"
23
+ "@sentry/react-native": ">=6",
24
+ "react": ">=18",
25
+ "react-native": ">=0.72",
26
+ "react-native-view-shot": ">=3"
27
+ },
28
+ "peerDependenciesMeta": {
29
+ "react-native-view-shot": {
30
+ "optional": true
31
+ }
24
32
  },
25
33
  "devDependencies": {
26
34
  "@sentry/react-native": "^8.28.0",
@@ -51,8 +59,8 @@
51
59
  "blipit"
52
60
  ],
53
61
  "scripts": {
54
- "build": "tsup src/index.ts --format esm,cjs --dts --clean",
62
+ "build": "tsup src/index.ts --format esm,cjs --dts --clean --external react-native-view-shot",
55
63
  "typecheck": "tsc -p tsconfig.json --noEmit",
56
- "test": "node --experimental-strip-types --experimental-test-module-mocks --test test/init.test.ts"
64
+ "test": "node --experimental-strip-types --experimental-test-module-mocks --import ./test/tsx-hook.mjs --test test/init.test.ts test/report.test.ts"
57
65
  }
58
66
  }