Repository navigation
修复 Git 托管插件安装后的入口构建:新增 prepare,同步包版本与锁文件,并声明宿主提供的正确运行时 peer 依赖。插件功能仍为读取暂存区并生成中文约定式提交信息,不自行执行提交。
- 7 项单元测试通过,CI 使用
npm ci并验证从 Git 安装后存在 dist/index.js 与 cordis.patch.yml。 - 限制打包内容为运行产物、插件 patch、README 和许可证。
- 适配 dsh 0.2.0-rc.2;Cordis 自身版本为 4.0.4。
安装:dsh plugin --profile <name> add github:ChenYueqi2024/dsh-commit。如 pnpm 拦截 prepare,只放行该包的精确 Git 哈希。
CI: https://github.com/ChenYueqi2024/dsh-commit/actions/runs/43569256544