@vampgg/utils 1.0.0-beta.8 → 1.0.0-beta.9
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 +10 -0
- package/package.json +22 -6
package/README.md
CHANGED
|
@@ -5,6 +5,16 @@ Low-level utilities for building bebop/tempo-based applications. Provides the sh
|
|
|
5
5
|
- **bebop** — binary serialization library for fast, compact data interchange
|
|
6
6
|
- **tempo** — typed RPC layer built on top of bebop
|
|
7
7
|
|
|
8
|
+
## Optional peer dependencies
|
|
9
|
+
|
|
10
|
+
Three entry points need a package that `@vampgg/utils` does not install. Add the one you import:
|
|
11
|
+
|
|
12
|
+
| Entry point | Install |
|
|
13
|
+
| ------------------------------------------------------------------- | ----------------------- |
|
|
14
|
+
| `@vampgg/utils/pino-logger` | `pino` |
|
|
15
|
+
| `@vampgg/utils/ws-channel` | `websocket-ts` |
|
|
16
|
+
| `@vampgg/utils/extension-channel`, `@vampgg/utils/extension-router` | `webextension-polyfill` |
|
|
17
|
+
|
|
8
18
|
## Development
|
|
9
19
|
|
|
10
20
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vampgg/utils",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.9",
|
|
4
4
|
"description": "Tempo RPC, Bebop serialization, transports, and async primitives for @vampgg.",
|
|
5
5
|
"homepage": "https://github.com/sammccord/vamp/tree/main/packages/utils#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -44,10 +44,7 @@
|
|
|
44
44
|
"@tempojs/common": "^0.0.12",
|
|
45
45
|
"@tempojs/server": "^0.0.12",
|
|
46
46
|
"bebop": "3.2.3",
|
|
47
|
-
"
|
|
48
|
-
"tseep": "^1.3.1",
|
|
49
|
-
"webextension-polyfill": "^0.12.0",
|
|
50
|
-
"websocket-ts": "^2.2.1"
|
|
47
|
+
"tseep": "^1.3.1"
|
|
51
48
|
},
|
|
52
49
|
"devDependencies": {
|
|
53
50
|
"@types/bun": "^1.3.14",
|
|
@@ -55,9 +52,28 @@
|
|
|
55
52
|
"@types/webextension-polyfill": "^0.12.5",
|
|
56
53
|
"@typescript/native-preview": "7.0.0-dev.20260315.1",
|
|
57
54
|
"bebop-tools": "^3.2.3",
|
|
55
|
+
"pino": "^10.3.1",
|
|
58
56
|
"typescript": "^5.9.3",
|
|
59
57
|
"vite-plus": "^0.1.24",
|
|
60
|
-
"vitest": "npm:@voidzero-dev/vite-plus-test@0.1.24"
|
|
58
|
+
"vitest": "npm:@voidzero-dev/vite-plus-test@0.1.24",
|
|
59
|
+
"webextension-polyfill": "^0.12.0",
|
|
60
|
+
"websocket-ts": "^2.2.1"
|
|
61
|
+
},
|
|
62
|
+
"peerDependencies": {
|
|
63
|
+
"pino": "^10.3.1",
|
|
64
|
+
"webextension-polyfill": "^0.12.0",
|
|
65
|
+
"websocket-ts": "^2.2.1"
|
|
66
|
+
},
|
|
67
|
+
"peerDependenciesMeta": {
|
|
68
|
+
"pino": {
|
|
69
|
+
"optional": true
|
|
70
|
+
},
|
|
71
|
+
"webextension-polyfill": {
|
|
72
|
+
"optional": true
|
|
73
|
+
},
|
|
74
|
+
"websocket-ts": {
|
|
75
|
+
"optional": true
|
|
76
|
+
}
|
|
61
77
|
},
|
|
62
78
|
"scripts": {
|
|
63
79
|
"build": "bebopc build && vp pack",
|