@buoy-gg/console 7.0.5 → 7.0.6
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 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -14,18 +14,16 @@ npm install @buoy-gg/core @buoy-gg/console
|
|
|
14
14
|
|
|
15
15
|
## Quick start
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
Zero config. Install the package and the Console tool auto-appears in the floating menu, with capture starting at app launch — logs emitted before you open the tool are retained:
|
|
18
18
|
|
|
19
19
|
```tsx
|
|
20
20
|
import { FloatingDevTools } from "@buoy-gg/core";
|
|
21
|
-
import { consoleToolPreset, ConsoleRoot } from "@buoy-gg/console";
|
|
22
21
|
|
|
23
22
|
export default function App() {
|
|
24
23
|
return (
|
|
25
24
|
<>
|
|
26
25
|
{/* your app */}
|
|
27
|
-
<
|
|
28
|
-
<FloatingDevTools apps={[consoleToolPreset]} />
|
|
26
|
+
<FloatingDevTools /> {/* Console tool auto-detected, capture auto-starts */}
|
|
29
27
|
</>
|
|
30
28
|
);
|
|
31
29
|
}
|
|
@@ -33,6 +31,8 @@ export default function App() {
|
|
|
33
31
|
|
|
34
32
|
That's the whole setup — it patches `console.*` directly, so no logger integration or Babel plugin is required.
|
|
35
33
|
|
|
34
|
+
> Upgrading? Older versions required mounting `<ConsoleRoot />` manually. That's automatic now; an existing manual mount is harmless (capture install is idempotent) and can be deleted.
|
|
35
|
+
|
|
36
36
|
## What you get
|
|
37
37
|
|
|
38
38
|
- **Everything logged, everywhere** — patches `console.*` directly, so logs from your own code *and* your dependencies are captured with no extra setup.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@buoy-gg/console",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.6",
|
|
4
4
|
"description": "Chrome DevTools-style console for React Native — captures every console.* on device, even in release builds. Part of Buoy devtools.",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
],
|
|
14
14
|
"sideEffects": false,
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@buoy-gg/shared-ui": "7.0.
|
|
16
|
+
"@buoy-gg/shared-ui": "7.0.6"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"react": "*",
|