`packages/onebot` declared `hono` and `@hono/node-server` as devDeps but
never imported either — they were leftover scaffolding from when onebot
was carved out of `@snowluma/core`. Combined with dependabot's hono
bump only landing on core's pin (4.12.14 → 4.12.18 in cb06624), this
left two distinct peer-dep resolutions of `@hono/node-server` in the
lockfile (`(hono@4.12.14)` for onebot, `(hono@4.12.18)` for core).
On the dev→main merge the auto-resolver kept main's snapshot list,
dropping the `(hono@4.12.14)` variant onebot still referenced — so
v1.9.1 shipped with an inconsistent lockfile and CI's
`pnpm install --frozen-lockfile` blew up with
`ERR_PNPM_LOCKFILE_MISSING_DEPENDENCY: no entry for
'@hono/node-server@1.19.14(hono@4.12.14)'`.
Fix:
- Remove `hono` + `@hono/node-server` from onebot (verified zero source
imports — only matches were `honour` / `WebHonorType` false hits).
- Bump core's `hono` pin to `^4.12.18` so dev matches what dependabot
already landed on main (otherwise the drift comes back on next merge).
- Regenerate pnpm-lock.yaml — now resolves to a single
`@hono/node-server@1.19.14(hono@4.12.21)` snapshot.
64 lines
1.7 KiB
JSON
64 lines
1.7 KiB
JSON
{
|
|
"name": "@snowluma/core",
|
|
"version": "1.9.1",
|
|
"description": "SnowLuma core - NTQQ packet sniffer with Node.js native addon",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "../../dist/index.mjs",
|
|
"exports": {
|
|
".": {
|
|
"types": "./src/index.ts",
|
|
"default": "../../dist/index.mjs"
|
|
},
|
|
"./bridge": {
|
|
"types": "./src/bridge/bridge.ts",
|
|
"default": "./src/bridge/bridge.ts"
|
|
},
|
|
"./bridge-interface": {
|
|
"types": "./src/bridge/bridge-interface.ts",
|
|
"default": "./src/bridge/bridge-interface.ts"
|
|
},
|
|
"./bridge-context": {
|
|
"types": "./src/bridge/bridge-context.ts",
|
|
"default": "./src/bridge/bridge-context.ts"
|
|
},
|
|
"./manager": {
|
|
"types": "./src/bridge/manager.ts",
|
|
"default": "./src/bridge/manager.ts"
|
|
},
|
|
"./apis": {
|
|
"types": "./src/bridge/apis/index.ts",
|
|
"default": "./src/bridge/apis/index.ts"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"build:all": "cross-env BUILD_WEBUI=true vite build",
|
|
"dev": "tsx src/index.ts",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@snowluma/bridge": "workspace:*",
|
|
"@snowluma/common": "workspace:*",
|
|
"@snowluma/onebot": "workspace:*",
|
|
"@snowluma/proto-defs": "workspace:*",
|
|
"@snowluma/proton": "workspace:*",
|
|
"@snowluma/sqlite": "workspace:*",
|
|
"@snowluma/websocket": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@hono/node-server": "^1.19.14",
|
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
"@types/node": "^24.12.2",
|
|
"cross-env": "^10.1.0",
|
|
"hono": "^4.12.18",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "catalog:",
|
|
"vite": "catalog:",
|
|
"vite-plugin-cp": "^6.0.3",
|
|
"vitest": "^4.1.4"
|
|
}
|
|
}
|