feat: 我的缓存页支持一键拉取存量包最新版本
CI / Backend tests (push) Canceled after 0s
CI / Frontend build (push) Canceled after 0s

- 后端新增 sync-latest 模块:经 Verdaccio 查询包元数据取 latest,跳过已缓存版本,未缓存版本走 Verdaccio 代拉落盘;异步状态机 + POST /api/sync/latest + GET /api/sync/progress
- 前端 SearchView 工具栏新增拉取按钮,轮询进度并汇总成功/跳过/失败明细
- 上游路由交由 Verdaccio 自身 uplinks(npm/淘宝/华为)处理,仅需 VERDACCIO_BASE_URL 配置
- docker-compose 补充私服地址环境变量;忽略 .dumate/.tmp 中间产物
This commit is contained in:
yinjun.chen1
2026-09-21 14:06:22 +08:00
parent 6c6a319d70
commit a00a58af30
8 changed files with 403 additions and 9 deletions
+2 -1
View File
@@ -4,7 +4,8 @@ frontend/node_modules/
frontend/dist/
backend/node_modules/
.CodeCounter
.dumate
.tmp
# 运行时数据(SQLite)
backend/data/
manager-data/