refactor: format with eslint & prettier

This commit is contained in:
digua
2026-02-11 20:24:46 +08:00
committed by digua
parent 5068df81c3
commit f3ba043140
79 changed files with 883 additions and 525 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
interface:
display_name: "生成版本日志"
short_description: "按版本区间提取提交并自动生成项目中文 changelog 文件"
default_prompt: "Use $generate-changelog to read package.json version, collect commits since the previous version, and update docs/changelogs_cn.json."
display_name: '生成版本日志'
short_description: '按版本区间提取提交并自动生成项目中文 changelog 文件'
default_prompt: 'Use $generate-changelog to read package.json version, collect commits since the previous version, and update docs/changelogs_cn.json.'
+1 -2
View File
@@ -20,8 +20,7 @@ description: 将 docs/changelogs_cn.json 的当前版本日志生成适合英文
- 工作区干净,否则退出。
- 位于 `main`,否则在干净前提下切换。
可复用脚本:`scripts/preflight_main_clean.sh`
当前仓库建议调用:
可复用脚本:`scripts/preflight_main_clean.sh` 当前仓库建议调用:
```bash
scripts/preflight_main_clean.sh . "package.json,docs/changelogs_cn.json"
+3 -3
View File
@@ -1,4 +1,4 @@
interface:
display_name: "同步版本日志"
short_description: "生成英文 changelog 并在双仓库创建提交(不推送)"
default_prompt: "Use $sync-changelog to translate the latest Chinese changelog entry into natural English, commit release notes in this repo, and sync both changelog files to ../chatlab.fun with a docs commit."
display_name: '同步版本日志'
short_description: '生成英文 changelog 并在双仓库创建提交(不推送)'
default_prompt: 'Use $sync-changelog to translate the latest Chinese changelog entry into natural English, commit release notes in this repo, and sync both changelog files to ../chatlab.fun with a docs commit.'