@naeemo/capnp 0.5.0 → 0.5.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naeemo/capnp",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "Pure TypeScript Cap'n Proto implementation with RPC support",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -13,28 +13,27 @@
13
13
  "require": "./dist/index.cjs"
14
14
  }
15
15
  },
16
- "files": ["dist", "README.md", "README.zh.md", "LICENSE"],
16
+ "files": [
17
+ "dist",
18
+ "README.md",
19
+ "README.zh.md",
20
+ "LICENSE"
21
+ ],
17
22
  "bin": {
18
23
  "capnp": "./dist/cli.js",
19
24
  "capnp-ts-codegen": "./dist/cli.js"
20
25
  },
21
- "scripts": {
22
- "build": "rolldown -c rolldown.config.ts",
23
- "dev": "rolldown -c rolldown.config.ts --watch",
24
- "test": "vitest run",
25
- "test:watch": "vitest",
26
- "lint": "biome check .",
27
- "lint:fix": "biome check . --write",
28
- "typecheck": "tsc --noEmit",
29
- "clean": "rm -rf dist",
30
- "prepublishOnly": "npm run lint && npm run typecheck && npm run build && npm test",
31
- "docs:dev": "vitepress dev docs",
32
- "docs:build": "vitepress build docs",
33
- "docs:preview": "vitepress preview docs"
34
- },
35
- "keywords": ["capnp", "capnproto", "serialization", "typescript"],
26
+ "keywords": [
27
+ "capnp",
28
+ "capnproto",
29
+ "serialization",
30
+ "typescript"
31
+ ],
36
32
  "author": "Naeemo <naeemo@qq.com>",
37
- "contributors": ["Naeemo <naeemo@qq.com>", "Kimi"],
33
+ "contributors": [
34
+ "Naeemo <naeemo@qq.com>",
35
+ "Kimi"
36
+ ],
38
37
  "license": "MIT",
39
38
  "repository": {
40
39
  "type": "git",
@@ -46,15 +45,28 @@
46
45
  "homepage": "https://github.com/Naeemo/capnp#readme",
47
46
  "devDependencies": {
48
47
  "@biomejs/biome": "^1.9.4",
49
- "@types/node": "^22.13.5",
50
- "rolldown": "^1.0.0-beta.3",
51
- "tsx": "^4.19.3",
52
- "typescript": "^5.7.3",
53
- "vitepress": "^1.0.0-rc.44",
54
- "vitest": "^3.0.7"
48
+ "@types/node": "^22.19.13",
49
+ "rolldown": "1.0.0-rc.6",
50
+ "tsx": "^4.21.0",
51
+ "typescript": "^5.9.3",
52
+ "vite": "^7.3.1",
53
+ "vitepress": "^1.6.4",
54
+ "vitest": "^3.2.4"
55
55
  },
56
56
  "engines": {
57
57
  "node": ">=18"
58
58
  },
59
- "packageManager": "pnpm@9.15.0"
60
- }
59
+ "scripts": {
60
+ "build": "rolldown -c rolldown.config.ts",
61
+ "dev": "rolldown -c rolldown.config.ts --watch",
62
+ "test": "vitest run",
63
+ "test:watch": "vitest",
64
+ "lint": "biome check .",
65
+ "lint:fix": "biome check . --write",
66
+ "typecheck": "tsc --noEmit",
67
+ "clean": "rm -rf dist",
68
+ "docs:dev": "vitepress dev docs",
69
+ "docs:build": "vitepress build docs",
70
+ "docs:preview": "vitepress preview docs"
71
+ }
72
+ }