fix(deps): drop dead hono devDeps from @snowluma/onebot, align core to ^4.12.18

`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.
This commit is contained in:
DrSmoothl
2026-05-21 17:43:10 +08:00
parent 607a7b319b
commit ee0f159b7e
3 changed files with 9 additions and 17 deletions
+1 -1
View File
@@ -53,7 +53,7 @@
"@rollup/plugin-node-resolve": "^16.0.3",
"@types/node": "^24.12.2",
"cross-env": "^10.1.0",
"hono": "^4.12.14",
"hono": "^4.12.18",
"tsx": "^4.21.0",
"typescript": "catalog:",
"vite": "catalog:",
-2
View File
@@ -95,9 +95,7 @@
"@snowluma/websocket": "workspace:*"
},
"devDependencies": {
"@hono/node-server": "^1.19.14",
"@types/node": "^24.12.2",
"hono": "^4.12.14",
"typescript": "catalog:",
"vite": "catalog:",
"vitest": "^4.1.4"
+8 -14
View File
@@ -111,7 +111,7 @@ importers:
devDependencies:
'@hono/node-server':
specifier: ^1.19.14
version: 1.19.14(hono@4.12.14)
version: 1.19.14(hono@4.12.21)
'@rollup/plugin-node-resolve':
specifier: ^16.0.3
version: 16.0.3(rollup@4.60.4)
@@ -122,8 +122,8 @@ importers:
specifier: ^10.1.0
version: 10.1.0
hono:
specifier: ^4.12.14
version: 4.12.14
specifier: ^4.12.18
version: 4.12.21
tsx:
specifier: ^4.21.0
version: 4.21.0
@@ -164,15 +164,9 @@ importers:
specifier: workspace:*
version: link:../websocket
devDependencies:
'@hono/node-server':
specifier: ^1.19.14
version: 1.19.14(hono@4.12.14)
'@types/node':
specifier: ^24.12.2
version: 24.12.2
hono:
specifier: ^4.12.14
version: 4.12.14
typescript:
specifier: 'catalog:'
version: 6.0.2
@@ -2178,8 +2172,8 @@ packages:
hermes-parser@0.25.1:
resolution: {integrity: sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==}
hono@4.12.14:
resolution: {integrity: sha512-am5zfg3yu6sqn5yjKBNqhnTX7Cv+m00ox+7jbaKkrLMRJ4rAdldd1xPd/JzbBWspqaQv6RSTrgFN95EsfhC+7w==}
hono@4.12.21:
resolution: {integrity: sha512-uV63apnb0kyPtAUwoWgaGh9HyIFcv8lgmzPZSiTBQAFOFGIzka5EZ1dZocmGnn0XdX0+XTqJ6Tqv7selMuGLRQ==}
engines: {node: '>=16.9.0'}
ieee754@1.2.1:
@@ -3208,9 +3202,9 @@ snapshots:
'@floating-ui/utils@0.2.11': {}
'@hono/node-server@1.19.14(hono@4.12.14)':
'@hono/node-server@1.19.14(hono@4.12.21)':
dependencies:
hono: 4.12.14
hono: 4.12.21
'@humanfs/core@0.19.1': {}
@@ -4543,7 +4537,7 @@ snapshots:
dependencies:
hermes-estree: 0.25.1
hono@4.12.14: {}
hono@4.12.21: {}
ieee754@1.2.1: {}