fix: restore missing files (package.json etc) and fix sync script logic

This commit is contained in:
xuxiang
2026-01-31 18:55:45 +08:00
parent b1d03833b9
commit 0e5571998f
85 changed files with 17074 additions and 1 deletions

View File

@@ -0,0 +1,31 @@
# 更新文件
從單一真相來源同步文件:
1. 讀取 package.json scripts 區段
- 產生 scripts 參考表
- 包含註解中的描述
2. 讀取 .env.example
- 擷取所有環境變數
- 記錄用途和格式
3. 產生 docs/CONTRIB.md包含
- 開發工作流程
- 可用的 scripts
- 環境設定
- 測試程序
4. 產生 docs/RUNBOOK.md包含
- 部署程序
- 監控和警報
- 常見問題和修復
- 回滾程序
5. 識別過時的文件:
- 找出 90 天以上未修改的文件
- 列出供手動審查
6. 顯示差異摘要
單一真相來源package.json 和 .env.example