fix(one): engines 统一 ≥22.15.0,清除 >=20 虚假承诺(#45 尾巴) - #92
Merged
Conversation
7 个插件 package.json 仍写 node >=20,但套件所有包都依赖 orchestrator (node:sqlite)且 dsh 本体需要 zlib zstd(22.15 起)——装在 Node 20 必然 不可用,>=20 是假门槛。verify-plugin-packages.mjs 此前甚至断言了这个 不一致(orchestrator 特例 >=22.15.0、其余 >=20),一并改为统一断言。 文档口径在 #45 已统一为 ≥22.15,本提交把 engines 字段落到同一口径。 验证:verify-plugin-packages ok;全量单测绿;双构建 + assemble + publish-npm --dry-run 通过。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
#45 只统一了文档口径(≥22.15),engines 字段没动:7 个插件 package.json 仍写 node >=20。
为什么是虚假承诺
套件所有包都依赖 orchestrator(用 node:sqlite,22.15 起稳定);dsh 本体依赖 node:zlib 的 zstd API(同样 22.15 起)。装在 Node 20 必然运行失败——>=20 只会误导用户。
另发现 verify-plugin-packages.mjs:36 的契约校验竟然断言了这个不一致(orchestrator 特例 >=22.15.0、其余 >=20),一并改为统一断言。
方案
验证