@buoy-gg/highlight-updates 7.0.39 → 7.0.41

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": "@buoy-gg/highlight-updates",
3
- "version": "7.0.39",
3
+ "version": "7.0.41",
4
4
  "description": "Highlight observed React Native renders and inspect available render diagnostics.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -10,42 +10,61 @@
10
10
  "exports": {
11
11
  ".": {
12
12
  "react-native": "./lib/module/index.js",
13
+ "browser": {
14
+ "types": "./lib/typescript/index.d.ts",
15
+ "default": "./lib/web/index.mjs"
16
+ },
13
17
  "import": {
14
- "default": "./lib/module/index.js",
15
- "types": "./lib/typescript/index.d.ts"
18
+ "types": "./lib/typescript/index.d.ts",
19
+ "default": "./lib/module/index.js"
16
20
  },
17
21
  "require": {
18
- "default": "./lib/commonjs/index.js",
19
- "types": "./lib/typescript/index.d.ts"
22
+ "types": "./lib/typescript/index.d.ts",
23
+ "default": "./lib/commonjs/index.js"
20
24
  }
21
25
  },
22
- "./package.json": "./package.json"
26
+ "./package.json": "./package.json",
27
+ "./web": {
28
+ "types": "./lib/typescript/index.d.ts",
29
+ "default": "./lib/web/index.mjs"
30
+ }
23
31
  },
24
32
  "files": [
25
33
  "lib"
26
34
  ],
27
35
  "sideEffects": false,
28
36
  "dependencies": {
29
- "@buoy-gg/shared-ui": "^7.0.39",
30
- "@buoy-gg/floating-tools-core": "^7.0.39"
37
+ "@buoy-gg/floating-tools-core": "^7.0.41",
38
+ "@buoy-gg/shared-ui": "^7.0.41"
31
39
  },
32
40
  "peerDependencies": {
33
- "@buoy-gg/license": "7.0.39",
41
+ "@buoy-gg/license": "7.0.41",
34
42
  "react": "*",
35
43
  "react-native": "*",
36
- "@buoy-gg/core": "^7.0.39"
44
+ "react-native-web": "^0.21.0",
45
+ "react-dom": ">=18",
46
+ "@buoy-gg/core": "^7.0.41"
37
47
  },
38
48
  "peerDependenciesMeta": {
39
49
  "@buoy-gg/core": {
40
50
  "optional": true
51
+ },
52
+ "react-native": {
53
+ "optional": true
54
+ },
55
+ "react-native-web": {
56
+ "optional": true
57
+ },
58
+ "react-dom": {
59
+ "optional": true
41
60
  }
42
61
  },
43
62
  "devDependencies": {
44
63
  "@types/react": "^19.1.0",
45
64
  "@types/react-native": "^0.73.0",
46
65
  "typescript": "~5.8.3",
47
- "@buoy-gg/core": "^7.0.39",
48
- "@buoy-gg/license": "^7.0.39"
66
+ "@buoy-gg/core": "^7.0.41",
67
+ "@buoy-gg/license": "^7.0.41"
49
68
  },
50
69
  "react-native-builder-bob": {
51
70
  "source": "src",
@@ -96,10 +115,11 @@
96
115
  "performance"
97
116
  ],
98
117
  "scripts": {
99
- "build": "bob build",
118
+ "build": "bob build && pnpm run build:web",
100
119
  "typecheck": "tsc --noEmit",
101
120
  "clean": "rimraf lib",
102
121
  "test": "pnpm run typecheck",
103
- "postinstall": "echo \"Run pnpm build to compile this package\""
122
+ "postinstall": "echo \"Run pnpm build to compile this package\"",
123
+ "build:web": "node ../../scripts/build-web.mjs highlight-updates"
104
124
  }
105
125
  }