capnweb 0.0.0-cfa1b95 → 0.0.0-d33df03
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 +3365 -0
- package/dist/index-bun.cjs.map +1 -0
- package/dist/index-bun.d.cts +593 -0
- package/dist/index-bun.d.ts +593 -0
- package/dist/index-bun.js +3346 -0
- package/dist/index-bun.js.map +1 -0
- package/dist/index-workers.cjs +3159 -3317
- package/dist/index-workers.cjs.map +1 -1
- package/dist/index-workers.d.cts +469 -2
- package/dist/index-workers.d.ts +469 -2
- package/dist/index-workers.js +3122 -3290
- package/dist/index-workers.js.map +1 -1
- package/dist/index.cjs +3128 -3297
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +262 -237
- package/dist/index.d.ts +262 -237
- package/dist/index.js +3118 -3289
- package/dist/index.js.map +1 -1
- package/package.json +39 -25
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "capnweb",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-d33df03",
|
|
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,43 +11,42 @@
|
|
|
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
|
},
|
|
29
|
-
"scripts": {
|
|
30
|
-
"build": "tsup",
|
|
31
|
-
"build:watch": "tsup --watch",
|
|
32
|
-
"test": "vitest run",
|
|
33
|
-
"test:watch": "vitest",
|
|
34
|
-
"test:types": "tsc -p __type-tests__/tsconfig.json --noEmit",
|
|
35
|
-
"prepublishOnly": "npm run build"
|
|
36
|
-
},
|
|
37
33
|
"devDependencies": {
|
|
38
34
|
"@changesets/changelog-github": "^0.5.2",
|
|
39
35
|
"@changesets/cli": "^2.29.8",
|
|
40
36
|
"@cloudflare/vitest-pool-workers": "^0.12.10",
|
|
41
|
-
"@cloudflare/workers-types": "^
|
|
37
|
+
"@cloudflare/workers-types": "^5.20260820.1",
|
|
38
|
+
"@types/bun": "^1.2.0",
|
|
42
39
|
"@types/ws": "^8.18.1",
|
|
43
|
-
"@vitest/browser": "^3.2.
|
|
40
|
+
"@vitest/browser": "^3.2.7",
|
|
41
|
+
"markdownlint-cli2": "^0.23.2",
|
|
44
42
|
"pkg-pr-new": "^0.0.60",
|
|
45
|
-
"playwright": "
|
|
46
|
-
"
|
|
43
|
+
"playwright": "1.56.1",
|
|
44
|
+
"tsdown": "^0.22.0",
|
|
47
45
|
"tsx": "^4.21.0",
|
|
48
46
|
"typescript": "^5.9.3",
|
|
49
|
-
"vitest": "^3.2.
|
|
50
|
-
"
|
|
47
|
+
"vitest": "^3.2.7",
|
|
48
|
+
"wrangler": "4.125.0",
|
|
49
|
+
"ws": "^8.21.1"
|
|
51
50
|
},
|
|
52
51
|
"repository": {
|
|
53
52
|
"type": "git",
|
|
@@ -56,5 +55,20 @@
|
|
|
56
55
|
"bugs": {
|
|
57
56
|
"url": "https://github.com/cloudflare/capnweb/issues"
|
|
58
57
|
},
|
|
59
|
-
"homepage": "https://
|
|
60
|
-
|
|
58
|
+
"homepage": "https://capnweb.com",
|
|
59
|
+
"scripts": {
|
|
60
|
+
"build": "tsdown --config-loader native && node scripts/check-dist-ascii.mjs && pnpm --filter capnweb-validate build",
|
|
61
|
+
"build:watch": "tsdown --config-loader native --watch",
|
|
62
|
+
"dev": "pnpm run build:watch",
|
|
63
|
+
"dev:docs": "pnpm --filter capnweb-docs dev",
|
|
64
|
+
"build:docs": "pnpm --filter capnweb-docs build",
|
|
65
|
+
"deploy:docs": "pnpm run build:docs && pnpm --filter capnweb-docs exec wrangler deploy",
|
|
66
|
+
"lint:md": "markdownlint-cli2 && node scripts/align-markdown-tables.mjs --check",
|
|
67
|
+
"lint:md:fix": "node scripts/align-markdown-tables.mjs && markdownlint-cli2 --fix",
|
|
68
|
+
"test": "vitest run",
|
|
69
|
+
"test:bun": "bun test __tests__/bun.test.ts",
|
|
70
|
+
"test:ci": "vitest run && bun test __tests__/bun.test.ts",
|
|
71
|
+
"test:watch": "vitest",
|
|
72
|
+
"test:types": "tsc --project __type-tests__/tsconfig.json --noEmit"
|
|
73
|
+
}
|
|
74
|
+
}
|