@buoy-gg/events 6.0.0 → 7.0.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.
Files changed (2) hide show
  1. package/README.md +35 -36
  2. package/package.json +17 -6
package/README.md CHANGED
@@ -1,55 +1,54 @@
1
1
  # @buoy-gg/events
2
2
 
3
- ## Description
3
+ [![npm version](https://img.shields.io/npm/v/@buoy-gg/events?style=flat-square&labelColor=1c1c1c&color=10B981)](https://www.npmjs.com/package/@buoy-gg/events) [![npm downloads](https://img.shields.io/npm/dm/@buoy-gg/events?style=flat-square&labelColor=1c1c1c&color=10B981)](https://www.npmjs.com/package/@buoy-gg/events)
4
4
 
5
- events package for the monorepo.
5
+ **One chronological timeline across every tool — network, storage, Redux, React Query, routes — so you can watch a whole user flow unfold in order.**
6
6
 
7
- ## Installation
7
+ Part of [Buoy](https://github.com/Buoy-gg/buoy) — devtools that live inside your React Native app. Install it and it auto-appears in the floating menu from [`@buoy-gg/core`](https://www.npmjs.com/package/@buoy-gg/core).
8
8
 
9
- This package is part of the monorepo and is automatically available to other packages and the example app.
9
+ ## Install
10
10
 
11
- ## Usage
12
-
13
- ```typescript
14
- import { EventsComponent } from '@buoy-gg/events';
15
-
16
- // Use in your component
17
- <EventsComponent title="Hello World" />
11
+ ```bash
12
+ npm install @buoy-gg/core @buoy-gg/events
18
13
  ```
19
14
 
20
- ## Development
15
+ ## Quick start
21
16
 
22
- ### Building
17
+ ```tsx
18
+ import { FloatingDevTools } from "@buoy-gg/core";
23
19
 
24
- ```bash
25
- pnpm build
20
+ export default function App() {
21
+ return (
22
+ <>
23
+ <YourApp />
24
+ <FloatingDevTools />
25
+ </>
26
+ );
27
+ }
26
28
  ```
27
29
 
28
- ### Type Checking
30
+ That's it. The EVENTS tool appears in the menu and automatically captures from every Buoy tool you have installed — no per-source setup.
29
31
 
30
- ```bash
31
- pnpm typecheck
32
- ```
32
+ ## What you get
33
33
 
34
- ### Clean Build
34
+ - **One timeline, every source** — network requests, AsyncStorage/MMKV writes, Redux actions, React Query queries and mutations, Zustand, Jotai, and navigation events, interleaved chronologically
35
+ - **Auto-detection** — if a Buoy tool is installed, its events just show up
36
+ - **Correlation badges** — related events are linked: a React Query fetch start → success pair shows as "1/2" so you can trace the full lifecycle
37
+ - **LLM export presets** — copy the timeline as Markdown tuned for AI agents, a Bug Report with timestamps and error details, machine-readable JSON, or Errors Only
38
+ - **Smart formatting** — nested JSON parsed, verbose fields stripped, and Redux events show only the state that actually changed
39
+ - **Filter and search** — narrow by source, status, or text before you export
40
+ - **`useUnifiedEvents` hook** — consume the merged event stream in your own components
35
41
 
36
- ```bash
37
- pnpm clean
38
- ```
42
+ ## Desktop & AI
39
43
 
40
- ## Structure
44
+ The same live session streams to [Buoy Desktop](https://github.com/Buoy-gg/Buoy-Desktop) (free, macOS/Windows/Linux) and to Claude Code or Cursor via the [Buoy MCP server](https://buoy.gg/buoy/latest/docs/mcp).
41
45
 
42
- ```
43
- events/
44
- ├── src/
45
- │ └── index.ts # Main export file
46
- ├── lib/ # Built output (git ignored)
47
- ├── package.json
48
- ├── tsconfig.json
49
- └── README.md
50
- ```
46
+ ## Free vs Pro
47
+
48
+ Every tool is free. [Pro](https://buoy.gg/pricing) unlocks production builds, the MCP server, and unlimited capture. Every weekend, Pro features unlock free for everyone.
49
+
50
+ ---
51
51
 
52
- ## Dependencies
52
+ 📚 [Full docs](https://buoy.gg/buoy/latest/docs/tools/events) · [All Buoy tools](https://github.com/Buoy-gg/buoy)
53
53
 
54
- - Uses `@buoy-gg/shared-ui` for common components and utilities
55
- - React and React Native as peer dependencies
54
+ Proprietary software. © Buoy LLC. [Terms](https://buoy.gg/terms)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@buoy-gg/events",
3
- "version": "6.0.0",
4
- "description": "events package",
3
+ "version": "7.0.0",
4
+ "description": "One timeline across every Buoy devtool, with LLM-ready export presets. Part of Buoy devtools.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
7
7
  "types": "lib/typescript/index.d.ts",
@@ -27,8 +27,8 @@
27
27
  ],
28
28
  "sideEffects": false,
29
29
  "dependencies": {
30
- "@buoy-gg/floating-tools-core": "6.0.0",
31
- "@buoy-gg/shared-ui": "6.0.0"
30
+ "@buoy-gg/floating-tools-core": "7.0.0",
31
+ "@buoy-gg/shared-ui": "7.0.0"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "react": "*",
@@ -70,17 +70,28 @@
70
70
  },
71
71
  "repository": {
72
72
  "type": "git",
73
- "url": "https://github.com/LovesWorking/react-native-buoy.git",
73
+ "url": "https://github.com/Buoy-gg/buoy.git",
74
74
  "directory": "packages/events"
75
75
  },
76
76
  "bugs": {
77
77
  "url": "https://github.com/LovesWorking/react-native-buoy/issues"
78
78
  },
79
- "homepage": "https://github.com/LovesWorking/react-native-buoy/tree/main/packages/events#readme",
79
+ "homepage": "https://buoy.gg/tools/events",
80
80
  "publishConfig": {
81
81
  "access": "public",
82
82
  "tag": "latest"
83
83
  },
84
+ "keywords": [
85
+ "react-native",
86
+ "expo",
87
+ "devtools",
88
+ "debugging",
89
+ "react-native-devtools",
90
+ "flipper-alternative",
91
+ "event-timeline",
92
+ "touch-events",
93
+ "app-events"
94
+ ],
84
95
  "scripts": {
85
96
  "build": "bob build",
86
97
  "typecheck": "tsc --noEmit",