mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-06-14 03:26:37 +08:00
refactor: format with eslint & prettier
This commit is contained in:
@@ -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.'
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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.'
|
||||
|
||||
Reference in New Issue
Block a user