@tuidom/inspector 0.1.0 → 0.2.1
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 +20 -0
- package/package.json +3 -3
package/README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# @tuidom/inspector
|
|
2
|
+
|
|
3
|
+
WebSocket inspector for [TUIDom](https://github.com/tuidom/tuidom) apps —
|
|
4
|
+
devtools and e2e drivers: inspect the element tree, send keys/mouse, capture
|
|
5
|
+
frames, await idle. Zero dependencies (hand-written RFC 6455 server).
|
|
6
|
+
|
|
7
|
+
> ⚠️ Experimental — the API is unstable, deep imports expose internals on purpose.
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install @tuidom/core @tuidom/elements @tuidom/inspector
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
```ts
|
|
14
|
+
import { attachInspector } from "@tuidom/inspector/attachInspector";
|
|
15
|
+
|
|
16
|
+
// app is a running TuiApplication:
|
|
17
|
+
await attachInspector(app, { host: "127.0.0.1", port: 7007 });
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Full guide: <https://github.com/tuidom/tuidom/blob/main/GUIDE.md>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tuidom/inspector",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Experimental terminal UI DOM — WebSocket inspector for devtools/e2e (hand-written RFC6455, zero-dep). API is unstable.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"./*": "./dist/*.js"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@tuidom/core": "0.1
|
|
33
|
-
"@tuidom/elements": "0.1
|
|
32
|
+
"@tuidom/core": "0.2.1",
|
|
33
|
+
"@tuidom/elements": "0.2.1"
|
|
34
34
|
}
|
|
35
35
|
}
|