Skip to content

chore: upgrade dependencies and migrate to repoctl 6 - #54

Merged
sonofmagic merged 2 commits into
mainfrom
codex/dependencies-repoctl6
Oct 28, 2026
Merged

sonofmagic merged 2 commits into
mainfrom
codex/dependencies-repoctl6

Conversation

@sonofmagic

@sonofmagic sonofmagic commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

仓库仍使用 repoctl 5.5.5 和 Husky/lint-staged。本 PR 将依赖升级到最新兼容稳定版,迁移 repoctl 6.3.0 的 Lefthook、分阶段发布和 Release PR 校验流程,并保留插件 API、PostCSS ^8、双格式导出及现有文档生产部署。

  • 更新 pnpm 12.15.0、Vitest/coverage 5.0.5、tsdown 0.23.3 和其余依赖,重新生成 pnpm 12 双文档锁文件。
  • 移除废弃类型包和跨主版本全局覆盖;使用定向 Tinypool 2.2.0 覆盖消除开发工具链的两项严重漏洞。
  • CI 保留三系统 × Node 22/24 六组矩阵和 Windows Node 22 串行类型检查,加入实际打包后的 CJS/ESM 验证,并修正检查脚本对 Windows pnpm 启动器的兼容性。

兼容性保留:TypeScript 6.0.3 是 repoctl 支持的最新版本;VitePress 保留稳定版 1.6.4 及已验证的专用 Vite 7 运行时。KaTeX 留有一项开发依赖低危通告,上游修复版本超出父包支持范围;生产依赖审计无通告。未修改公共包版本或 engines。

本地验证(macOS arm64,Node 24.22.1 / pnpm 12.15.0):干净 frozen install、build、lint、typecheck、tsd、405 个测试、CJS/ESM 消费测试、文档构建与 27 个页面/资源检查、Wrangler dry-run、8 项 benchmark、actionlint、9 组隔离 hooks 场景及真实 worktree 提交均通过。覆盖率与原基线一致;repo doctor 无失败,发布计划为空且无阻断。中危及以上审计为零。

完整依赖评估、兼容性例外与验证记录。本次验证未执行 npm 发布或生产部署。

GitHub Actions 验收:六组 CI 全部通过,自动 changeset 与 release-intent 检查也全部通过;验证提交为 4fe0ea3。

@sonofmagic
sonofmagic merged commit 5036a0e into main Oct 28, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant