@buoy-gg/route-events 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/README.md +4 -0
- package/lib/commonjs/RouteTracker.web.js +12 -0
- package/lib/commonjs/browserRouteRegistry.js +30 -0
- package/lib/commonjs/browserRoutes.js +96 -0
- package/lib/commonjs/components/ReactNavigationRoutes.web.js +12 -0
- package/lib/commonjs/components/RouteEventDetail.js +1 -1
- package/lib/commonjs/components/RouteEventItemCompact.js +1 -1
- package/lib/commonjs/components/RouteEventsModalWithTabs.js +24 -7
- package/lib/commonjs/expoRouterStore.web.js +44 -0
- package/lib/commonjs/index.js +7 -0
- package/lib/commonjs/useNavigationStack.web.js +32 -0
- package/lib/commonjs/utils/routeTemplate.js +51 -0
- package/lib/commonjs/utils/safeReactNavigation.web.js +36 -0
- package/lib/module/RouteTracker.web.js +8 -0
- package/lib/module/browserRouteRegistry.js +24 -0
- package/lib/module/browserRoutes.js +92 -0
- package/lib/module/components/ReactNavigationRoutes.web.js +3 -0
- package/lib/module/components/RouteEventDetail.js +2 -2
- package/lib/module/components/RouteEventItemCompact.js +2 -2
- package/lib/module/components/RouteEventsModalWithTabs.js +24 -7
- package/lib/module/expoRouterStore.web.js +37 -0
- package/lib/module/index.js +1 -0
- package/lib/module/useNavigationStack.web.js +28 -0
- package/lib/module/utils/routeTemplate.js +49 -0
- package/lib/module/utils/safeReactNavigation.web.js +27 -0
- package/lib/typescript/RouteTracker.web.d.ts +2 -0
- package/lib/typescript/RouteTracker.web.d.ts.map +1 -0
- package/lib/typescript/browserRouteRegistry.d.ts +4 -0
- package/lib/typescript/browserRouteRegistry.d.ts.map +1 -0
- package/lib/typescript/browserRoutes.d.ts +2 -0
- package/lib/typescript/browserRoutes.d.ts.map +1 -0
- package/lib/typescript/components/ReactNavigationRoutes.web.d.ts +2 -0
- package/lib/typescript/components/ReactNavigationRoutes.web.d.ts.map +1 -0
- package/lib/typescript/components/RouteEventsModalWithTabs.d.ts.map +1 -1
- package/lib/typescript/expoRouterStore.web.d.ts +13 -0
- package/lib/typescript/expoRouterStore.web.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +1 -0
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/useNavigationStack.web.d.ts +4 -0
- package/lib/typescript/useNavigationStack.web.d.ts.map +1 -0
- package/lib/typescript/utils/routeTemplate.d.ts +13 -0
- package/lib/typescript/utils/routeTemplate.d.ts.map +1 -1
- package/lib/typescript/utils/safeReactNavigation.web.d.ts +22 -0
- package/lib/typescript/utils/safeReactNavigation.web.d.ts.map +1 -0
- package/lib/web/index.mjs +7 -0
- package/package.json +33 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@buoy-gg/route-events",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.41",
|
|
4
4
|
"description": "Inspect reported navigation state and supported route actions in React Native apps using Expo Router or React Navigation.",
|
|
5
5
|
"main": "lib/commonjs/index.js",
|
|
6
6
|
"module": "lib/module/index.js",
|
|
@@ -10,31 +10,41 @@
|
|
|
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
|
-
"
|
|
15
|
-
"
|
|
18
|
+
"types": "./lib/typescript/index.d.ts",
|
|
19
|
+
"default": "./lib/module/index.js"
|
|
16
20
|
},
|
|
17
21
|
"require": {
|
|
18
|
-
"
|
|
19
|
-
"
|
|
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/floating-tools-core": "^7.0.
|
|
30
|
-
"@buoy-gg/shared-ui": "^7.0.
|
|
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.
|
|
41
|
+
"@buoy-gg/license": "7.0.41",
|
|
34
42
|
"@react-navigation/native": "*",
|
|
35
43
|
"expo-router": "*",
|
|
36
44
|
"react": "*",
|
|
37
|
-
"react-native": "*"
|
|
45
|
+
"react-native": "*",
|
|
46
|
+
"react-native-web": "^0.21.0",
|
|
47
|
+
"react-dom": ">=18"
|
|
38
48
|
},
|
|
39
49
|
"peerDependenciesMeta": {
|
|
40
50
|
"expo-router": {
|
|
@@ -42,6 +52,15 @@
|
|
|
42
52
|
},
|
|
43
53
|
"@react-navigation/native": {
|
|
44
54
|
"optional": true
|
|
55
|
+
},
|
|
56
|
+
"react-native": {
|
|
57
|
+
"optional": true
|
|
58
|
+
},
|
|
59
|
+
"react-native-web": {
|
|
60
|
+
"optional": true
|
|
61
|
+
},
|
|
62
|
+
"react-dom": {
|
|
63
|
+
"optional": true
|
|
45
64
|
}
|
|
46
65
|
},
|
|
47
66
|
"devDependencies": {
|
|
@@ -51,7 +70,7 @@
|
|
|
51
70
|
"@types/react-native": "^0.73.0",
|
|
52
71
|
"expo-router": "~5.0.7",
|
|
53
72
|
"typescript": "~5.8.3",
|
|
54
|
-
"@buoy-gg/license": "^7.0.
|
|
73
|
+
"@buoy-gg/license": "^7.0.41"
|
|
55
74
|
},
|
|
56
75
|
"react-native-builder-bob": {
|
|
57
76
|
"source": "src",
|
|
@@ -103,9 +122,10 @@
|
|
|
103
122
|
"routes"
|
|
104
123
|
],
|
|
105
124
|
"scripts": {
|
|
106
|
-
"build": "bob build",
|
|
125
|
+
"build": "bob build && pnpm run build:web",
|
|
107
126
|
"typecheck": "tsc --noEmit",
|
|
108
127
|
"clean": "rimraf lib",
|
|
109
|
-
"test": "pnpm run typecheck"
|
|
128
|
+
"test": "pnpm run typecheck",
|
|
129
|
+
"build:web": "node ../../scripts/build-web.mjs route-events"
|
|
110
130
|
}
|
|
111
131
|
}
|