chore: 版本回退至 0.5.0 并重建产物(含 CJS 兼容修复)
CI / test (18.x) (push) Successful in 10m8s
CI / test (20.x) (push) Successful in 10m10s
CI / test (22.x) (push) Successful in 10m4s
CI / test (24.x) (push) Successful in 10m2s

This commit is contained in:
tianhao
2026-08-08 15:40:04 +08:00
parent 2516a3a36b
commit 5f8b9d2f75
32 changed files with 104 additions and 103 deletions
+1
View File
@@ -23,6 +23,7 @@ All notable changes to MetonaToast will be documented in this file.
### Added
- **Gitea Actions 发布自动化**`publish.yml` — 推送 `v*` tag 时自动 测试+构建+发布到 Gitea npm registry(需配置 `PACKAGES_TOKEN` secret
- **CI 强化**lint 改为必过(移除 continue-on-error);测试命令带覆盖率门禁
- **CJS 产物兼容性修复**:包声明 `type: module``.js` 产物被 Node 按 ESM 解析导致 `require()` 失效,CJS 产物改 `.cjs` 扩展名并将 default 提升为 `module.exports``require()` 直接返回 MeToast,兼容 `.default`/`.MeToast`/`.Met`/`.Toast`/`.VERSION` 全部用法)
## [0.4.0] - 2026-08-08