清理: 根目录散乱文件归位

- 删根 9 个构建/换装日志(*.log 本已 gitignore,属磁盘残留)+ 根 todo.md(陈旧副本,真板为 docs/todo.md)+ .dockerignore(无 Dockerfile)
- 根 swap-install.ps1(v3 加固版)迁 scripts/,替换其中陈旧 43 行版(句柄探测/SHA256 校验/重试/自清理)
- dev-tools.bat / dev-server.bat 迁 scripts/
- Batch.md / PROGRESS.md 迁 docs/07-项目管理/,同步修正 5 处指向根的文档链接
- .gitignore 补 /swap-install.lock(v3 运行期锁)
This commit is contained in:
lxy
2026-10-10 00:37:19 +08:00
parent 58834c9443
commit da036db1f2
13 changed files with 190 additions and 424 deletions
+30
View File
@@ -0,0 +1,30 @@
@echo off
echo DevFlow 开发工具
echo.
echo 1. 启动开发服务器
echo 2. 停止开发服务器
echo 3. 重启开发服务器
echo 4. 查看运行的 Vite 进程
echo 5. 退出
echo.
set /p choice=请选择操作 (1-5):
if "%choice%"=="1" (
echo 启动开发服务器...
npm run dev
) else if "%choice%"=="2" (
echo 停止开发服务器...
npm run dev:stop
) else if "%choice%"=="3" (
echo 重启开发服务器...
npm run dev:restart
) else if "%choice%"=="4" (
echo 查看运行的 Vite 进程...
tasklist | findstr "vite.exe"
) else if "%choice%"=="5" (
exit /b 0
) else (
echo 无效选择,请重新运行
)
pause