Make line endings deterministic across macOS, Windows, and Linux while preserving the native checkout format required by Windows launchers. Pin the tested application runtime and Node type baseline, add a shared startup preflight, and keep independently published packages on their existing compatibility ranges. Align local scripts, pull request validation, complete package builds, dependency metadata, and contributor documentation around the same Node and pnpm contract. The root test command now covers every tested workspace package while a focused Core command remains available for local iteration.
79 lines
2.4 KiB
JSON
79 lines
2.4 KiB
JSON
{
|
|
"license": "SEE LICENSE IN LICENSE",
|
|
"name": "@snowluma/proto-defs",
|
|
"version": "1.12.10",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "SnowLuma QQ/Lagrange wire-protobuf type definitions. Pure TypeScript interfaces with proton's `pb<N, T>` marker types — `@snowluma/proton`'s vite plugin compiles them into zero-runtime encoder/decoder functions at the call sites in `@snowluma/core` (and any downstream consumer). Exposed as per-file subpaths (`@snowluma/proto-defs/oidb`, `@snowluma/proto-defs/message`, …) so the import-site shape mirrors the legacy `bridge/proto/proton/*` layout and avoids name collisions across files (notably `highway.ts` and `oidb-actions/media.ts` share NTV2-prefixed names).",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./src/index.ts",
|
|
"default": "./src/index.ts"
|
|
},
|
|
"./action": {
|
|
"types": "./src/action.ts",
|
|
"default": "./src/action.ts"
|
|
},
|
|
"./collection": {
|
|
"types": "./src/collection.ts",
|
|
"default": "./src/collection.ts"
|
|
},
|
|
"./element": {
|
|
"types": "./src/element.ts",
|
|
"default": "./src/element.ts"
|
|
},
|
|
"./highway": {
|
|
"types": "./src/highway.ts",
|
|
"default": "./src/highway.ts"
|
|
},
|
|
"./longmsg": {
|
|
"types": "./src/longmsg.ts",
|
|
"default": "./src/longmsg.ts"
|
|
},
|
|
"./message": {
|
|
"types": "./src/message.ts",
|
|
"default": "./src/message.ts"
|
|
},
|
|
"./get-group-msg": {
|
|
"types": "./src/get-group-msg.ts",
|
|
"default": "./src/get-group-msg.ts"
|
|
},
|
|
"./get-c2c-msg": {
|
|
"types": "./src/get-c2c-msg.ts",
|
|
"default": "./src/get-c2c-msg.ts"
|
|
},
|
|
"./notify": {
|
|
"types": "./src/notify.ts",
|
|
"default": "./src/notify.ts"
|
|
},
|
|
"./ptt-trans": {
|
|
"types": "./src/ptt-trans.ts",
|
|
"default": "./src/ptt-trans.ts"
|
|
},
|
|
"./oidb": {
|
|
"types": "./src/oidb.ts",
|
|
"default": "./src/oidb.ts"
|
|
},
|
|
"./oidb-action": {
|
|
"types": "./src/oidb-action.ts",
|
|
"default": "./src/oidb-action.ts"
|
|
},
|
|
"./oidb-actions/*": {
|
|
"types": "./src/oidb-actions/*.ts",
|
|
"default": "./src/oidb-actions/*.ts"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@snowluma/proton": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "catalog:",
|
|
"typescript": "catalog:"
|
|
}
|
|
}
|