refactor: 将默认看板生成文件名从 index.html 改为 board.html

- 避免在用户现有前端工程中意外冲掉项目入口 index.html
- 同步更新 package.json、SKILL.md 与 Pages 部署工作流

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
czm
2026-09-08 17:14:41 +08:00
co-authored by Claude
parent 89d074e275
commit 004b446de5
5 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ function checkTargetSafety(targetPath: string) {
}
if (isInitMode) {
const targetPath = cleanArgs[0] ? resolve(cleanArgs[0]) : resolve(process.cwd(), 'index.html');
const targetPath = cleanArgs[0] ? resolve(cleanArgs[0]) : resolve(process.cwd(), 'board.html');
const projectName = cleanArgs[1] || '工程决策看板';
checkTargetSafety(targetPath);