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 (`([email protected])` for onebot, `([email protected])` for core).
On the dev→main merge the auto-resolver kept main's snapshot list,
dropping the `([email protected])` 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/[email protected]([email protected])'`.

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/[email protected]([email protected])` snapshot.
This commit is contained in:
DrSmoothl committed 2026-05-21 17:43:10 +08:00
1 parent 607a7b319b
commit ee0f159b7e
3 files changed
+9 -17

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@
"@rollup/plugin-node-resolve": "^16.0.3", "@rollup/plugin-node-resolve": "^16.0.3",
"@types/node": "^24.12.2", "@types/node": "^24.12.2",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"hono": "^4.12.14", "hono": "^4.12.18",
"tsx": "^4.21.0", "tsx": "^4.21.0",
"typescript": "catalog:", "typescript": "catalog:",
"vite": "catalog:", "vite": "catalog:",
-2
View File
@@ -95,9 +95,7 @@
"@snowluma/websocket": "workspace:*" "@snowluma/websocket": "workspace:*"
}, },
"devDependencies": { "devDependencies": {
"@hono/node-server": "^1.19.14",
"@types/node": "^24.12.2", "@types/node": "^24.12.2",
"hono": "^4.12.14",
"typescript": "catalog:", "typescript": "catalog:",
"vite": "catalog:", "vite": "catalog:",
"vitest": "^4.1.4" "vitest": "^4.1.4"
+8 -14
View File
@@ -111,7 +111,7 @@ importers:
devDependencies: devDependencies:
'@hono/node-server': '@hono/node-server':
specifier: ^1.19.14 specifier: ^1.19.14
version: 1.19.14([email protected]4) version: 1.19.14([email protected].21)
'@rollup/plugin-node-resolve': '@rollup/plugin-node-resolve':
specifier: ^16.0.3 specifier: ^16.0.3
version: 16.0.3([email protected]) version: 16.0.3([email protected])
@@ -122,8 +122,8 @@ importers:
specifier: ^10.1.0 specifier: ^10.1.0
version: 10.1.0 version: 10.1.0
hono: hono:
specifier: ^4.12.14 specifier: ^4.12.18
version: 4.12.14 version: 4.12.21
tsx: tsx:
specifier: ^4.21.0 specifier: ^4.21.0
version: 4.21.0 version: 4.21.0
@@ -164,15 +164,9 @@ importers:
specifier: workspace:* specifier: workspace:*
version: link:../websocket version: link:../websocket
devDependencies: devDependencies:
'@hono/node-server':
specifier: ^1.19.14
version: 1.19.14([email protected])
'@types/node': '@types/node':
specifier: ^24.12.2 specifier: ^24.12.2
version: 24.12.2 version: 24.12.2
hono:
specifier: ^4.12.14
version: 4.12.14
typescript: typescript:
specifier: 'catalog:' specifier: 'catalog:'
version: 6.0.2 version: 6.0.2
@@ -2178,8 +2172,8 @@ packages:
[email protected]: [email protected]:
resolution: {integrity: sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==} resolution: {integrity: sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==}
[email protected]4: [email protected].21:
resolution: {integrity: sha512-am5zfg3yu6sqn5yjKBNqhnTX7Cv+m00ox+7jbaKkrLMRJ4rAdldd1xPd/JzbBWspqaQv6RSTrgFN95EsfhC+7w==} resolution: {integrity: sha512-uV63apnb0kyPtAUwoWgaGh9HyIFcv8lgmzPZSiTBQAFOFGIzka5EZ1dZocmGnn0XdX0+XTqJ6Tqv7selMuGLRQ==}
engines: {node: '>=16.9.0'} engines: {node: '>=16.9.0'}
[email protected]: [email protected]:
@@ -3208,9 +3202,9 @@ snapshots:
'@floating-ui/[email protected]': {} '@floating-ui/[email protected]': {}
'@hono/[email protected]([email protected]4)': '@hono/[email protected]([email protected].21)':
dependencies: dependencies:
hono: 4.12.14 hono: 4.12.21
'@humanfs/[email protected]': {} '@humanfs/[email protected]': {}
@@ -4543,7 +4537,7 @@ snapshots:
dependencies: dependencies:
hermes-estree: 0.25.1 hermes-estree: 0.25.1
[email protected]4: {} [email protected].21: {}
[email protected]: {} [email protected]: {}