Files
happy-export/package.json
T
Drsakura e4537d5bf0 feat: 设置页新增「系统与更新」,按 GitHub 版本号检查更新
- 顶层 package.json 作为应用版本唯一来源(happy-export v1.0.0)
- backend/lib/updater.js:查 GitHub Release(优先)或 tag,与本机版本做 semver 比对
- backend/routes/system.js:GET /api/system/info、GET /api/system/check-update(30s 缓存)
- /api/health 版本号改为读真实版本
- 设置页新增第 4 个分类:当前版本 / 更新源仓库 / 检查更新(含更新说明折叠)
- 新增 RefreshIcon
2026-09-10 16:23:42 +08:00

16 lines
458 B
JSON

{
"name": "happy-export",
"version": "1.0.0",
"private": true,
"description": "happy 出口通 —— 一体化外贸出口工具系统(SKU 管理 / 知识库 / 客户 CRM / 邮件开发 / AI 回复 / AI 生成)",
"repository": {
"type": "git",
"url": "git+https://github.com/Drsakura/happy-export.git"
},
"scripts": {
"dev": "cd frontend && npm run dev",
"start": "cd backend && npm start"
},
"license": "UNLICENSED"
}