feat: Add @snowluma/protobuf package
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.
This commit is contained in:
1 parent
4d7302a13f
commit
9f9db8d16f
4 files changed
+232
No files matched your search
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user