Introduce a new @snowluma/protobuf package (v0.0.4) that provides a lightweight protobuf-ts wrapper (NapProto/NapProtoMsg) with type helpers, ProtoField factory, and encode/decode utilities. Adds package.json, tsconfig.json, and the implementation at src/NapProto.ts. pnpm-lock.yaml was updated to include the @protobuf-ts/runtime dependency resolution.
15 lines
371 B
JSON
15 lines
371 B
JSON
{
|
|
"name": "@snowluma/protobuf",
|
|
"type": "module",
|
|
"version": "0.0.4",
|
|
"description": "A lightweight, elegant, and efficient protobuf-ts solution.From NapNeko/NapCatQQ",
|
|
"main": "./src/NapProto.ts",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"prepack": "tsc"
|
|
},
|
|
"dependencies": {
|
|
"@protobuf-ts/runtime": "^2.9.4"
|
|
}
|
|
}
|