Repository navigation
fix(release): 生成 pnpm 可编辑的 nightly YAML 配置 - #50
Merged
Merged
Conversation
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.
nightly 已上传并确认两包后,pnpm 12.6 消费安装会为只有近期版本的第三方依赖自动追加发布时间例外。此前生成的多行 JSON 虽是合法 YAML,但 pnpm 的原地编辑器无法修改其数组,导致
ERR_PNPM_WORKSPACE_MANIFEST_WRITER_UNSUPPORTED_INLINE_BLOCK。使用 repoctl 已有的 YAML 序列化器输出可编辑的块格式,保持每次独立缓存、精确批次例外及重试状态重置。真实 pnpm 注册表回归新增只有近期版本的传递依赖,验证两次安装均实际追加例外,并在下一次安装前重置;不再用手工写文件模拟安装器行为。
验证:针对性单测、真实 pnpm 安装回归、ESLint;旧 JSON 格式的 mutation 必须复现原始写入错误。完整 CI 在本 PR 执行。