capnweb 0.0.0-e0d2f1d → 0.0.0-e3cfbb4
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 +112 -655
- package/dist/index-bun.cjs +3324 -0
- package/dist/index-bun.cjs.map +1 -0
- package/dist/index-bun.d.cts +573 -0
- package/dist/index-bun.d.ts +573 -0
- package/dist/index-bun.js +3304 -0
- package/dist/index-bun.js.map +1 -0
- package/dist/index-workers.cjs +3117 -3307
- package/dist/index-workers.cjs.map +1 -1
- package/dist/index-workers.d.cts +449 -2
- package/dist/index-workers.d.ts +449 -2
- package/dist/index-workers.js +3080 -3280
- package/dist/index-workers.js.map +1 -1
- package/dist/index.cjs +3086 -3286
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +273 -196
- package/dist/index.d.ts +273 -196
- package/dist/index.js +3076 -3279
- package/dist/index.js.map +1 -1
- package/package.json +39 -17
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "capnweb",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-e3cfbb4",
|
|
4
4
|
"description": "JavaScript/TypeScript-native RPC library with Promise Pipelining",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -11,42 +11,64 @@
|
|
|
11
11
|
],
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
"
|
|
14
|
+
"workerd": {
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"import": "./dist/index-workers.js",
|
|
17
|
+
"require": "./dist/index-workers.cjs"
|
|
18
|
+
},
|
|
19
|
+
"bun": {
|
|
20
|
+
"types": "./dist/index-bun.d.ts",
|
|
21
|
+
"import": "./dist/index-bun.js",
|
|
22
|
+
"require": "./dist/index-bun.cjs"
|
|
18
23
|
},
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
24
|
+
"types": "./dist/index.d.ts",
|
|
25
|
+
"import": "./dist/index.js",
|
|
26
|
+
"require": "./dist/index.cjs"
|
|
23
27
|
}
|
|
24
28
|
},
|
|
25
29
|
"type": "module",
|
|
26
30
|
"publishConfig": {
|
|
27
31
|
"access": "public"
|
|
28
32
|
},
|
|
33
|
+
"workspaces": [
|
|
34
|
+
".",
|
|
35
|
+
"packages/*",
|
|
36
|
+
"!packages/docs"
|
|
37
|
+
],
|
|
29
38
|
"scripts": {
|
|
30
|
-
"build": "
|
|
31
|
-
"build:watch": "
|
|
39
|
+
"build": "tsdown --config-loader native && node scripts/check-dist-ascii.mjs && npm run -w capnweb-validate build",
|
|
40
|
+
"build:watch": "tsdown --config-loader native --watch",
|
|
41
|
+
"dev": "npm run build:watch",
|
|
42
|
+
"dev:docs": "npm run build && npm --prefix packages/docs run dev -- --port 4321",
|
|
43
|
+
"build:docs": "npm run build && npm --prefix packages/docs run build",
|
|
44
|
+
"deploy:docs": "npm run build:docs && wrangler deploy -c packages/docs/wrangler.jsonc",
|
|
45
|
+
"lint:md": "markdownlint-cli2 && node scripts/align-markdown-tables.mjs --check",
|
|
46
|
+
"lint:md:fix": "node scripts/align-markdown-tables.mjs && markdownlint-cli2 --fix",
|
|
47
|
+
"setup": "npm install && npm --prefix packages/docs install && npm --prefix examples/worker-react/client install",
|
|
32
48
|
"test": "vitest run",
|
|
49
|
+
"test:bun": "bun test __tests__/bun.test.ts",
|
|
50
|
+
"test:ci": "vitest run && bun test __tests__/bun.test.ts",
|
|
33
51
|
"test:watch": "vitest",
|
|
52
|
+
"test:types": "tsc -p __type-tests__/tsconfig.json --noEmit",
|
|
34
53
|
"prepublishOnly": "npm run build"
|
|
35
54
|
},
|
|
36
55
|
"devDependencies": {
|
|
37
56
|
"@changesets/changelog-github": "^0.5.2",
|
|
38
57
|
"@changesets/cli": "^2.29.8",
|
|
39
58
|
"@cloudflare/vitest-pool-workers": "^0.12.10",
|
|
40
|
-
"@cloudflare/workers-types": "^
|
|
59
|
+
"@cloudflare/workers-types": "^5.20260820.1",
|
|
60
|
+
"@types/bun": "^1.2.0",
|
|
41
61
|
"@types/ws": "^8.18.1",
|
|
42
|
-
"@vitest/browser": "^3.2.
|
|
62
|
+
"@vitest/browser": "^3.2.7",
|
|
63
|
+
"markdownlint-cli2": "^0.23.2",
|
|
43
64
|
"pkg-pr-new": "^0.0.60",
|
|
44
65
|
"playwright": "^1.56.1",
|
|
45
|
-
"
|
|
66
|
+
"tsdown": "^0.22.0",
|
|
46
67
|
"tsx": "^4.21.0",
|
|
47
68
|
"typescript": "^5.9.3",
|
|
48
|
-
"vitest": "^3.2.
|
|
49
|
-
"
|
|
69
|
+
"vitest": "^3.2.7",
|
|
70
|
+
"wrangler": "4.125.0",
|
|
71
|
+
"ws": "^8.21.1"
|
|
50
72
|
},
|
|
51
73
|
"repository": {
|
|
52
74
|
"type": "git",
|
|
@@ -55,5 +77,5 @@
|
|
|
55
77
|
"bugs": {
|
|
56
78
|
"url": "https://github.com/cloudflare/capnweb/issues"
|
|
57
79
|
},
|
|
58
|
-
"homepage": "https://
|
|
80
|
+
"homepage": "https://capnweb.com"
|
|
59
81
|
}
|