Repository navigation
chore(release): 接入 npmmirror 发布后 API 同步 - #32
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.
升级到已发布的 repoctl 5.9.0,统一使用
repo release sync-npmmirror直接调用 npmmirror API。发布后通过afterPublish自动同步本次发布的版本及对应 dist-tag,同时提供pnpm sync:npmmirror手动补同步入口。钩子配置continueOnError: true、idempotent: true,镜像失败会告警并保留 npm 发布成功状态,恢复发布不重复执行已完成的同步钩子。repoctl 5.9.0 尚未包含本仓库已有的发布检查点权限补丁,因此通过原生 pnpm patch 将补丁迁移至 5.9.0。继续用仅含检查点 README 的独立初始分支,保留 CAS、并发初始化恢复及原始授权错误,避免复制历史 workflow 所需的额外权限。移除旧 5.7.1 专用 logger/worker overrides,并保留当前预发布版本产物必须先提交的工作流约束。
为旧版
@pnpm/fs.find-packages@1000.0.24单独提供@pnpm/logger@1001.0.1,使其 manifest reader 子树的 peer 依赖匹配;新版 worker 继续使用 logger 1100。通过精确的packageExtensions修复依赖边界,保留pnpm peers check门禁。验证:冻结锁文件安装、
pnpm peers check、8 项发布检查点回归、严格配置类型检查、18 个任务的全仓 lint、定向 lint、9 个发布包构建、完整单测(1571 项通过,覆盖率门禁通过)、workspace dry-run 和空发布列表均通过。仅调整发布工具和兼容配置,无业务版本变化,无须业务包 change intent。统一能力来自已合并并发布的 repoctl #1050。
CI 验收:提交
99c70560b58d的全部检查与工作流均已通过(7 项成功),无失败、取消或待完成任务。