1
0
mirror of synced 2026-05-20 17:28:31 +08:00

feat(cook): 支持菜谱数据分片加载与增量更新

- CLI 转换命令新增 --chunk-size 参数,支持将菜谱数据拆分为多个分片文件
- 前端 DB 初始化重构,支持单文件和分片两种模式
- 分片模式下通过 hash 比对实现增量更新,减少重复数据加载
- .gitignore 新增 recipe-meta.json 和 recipe-chunk-*.json 忽略规则
- 升级 vite、vitest 等依赖
This commit is contained in:
YunYouJun
2026-03-28 23:12:23 +08:00
parent 0ee8941115
commit 7b4c1a6029
9 changed files with 484 additions and 309 deletions

2
.gitignore vendored
View File

@@ -1,5 +1,7 @@
# auto generate
app/data/recipe.json
app/data/recipe-meta.json
app/data/recipe-chunk-*.json
app/data/incompatible-foods.json
.DS_Store