kurihada
|
e708798684
|
Retrigger CI
Build and Deploy / build-and-deploy (push) Has started running
|
2026-06-01 16:59:14 +08:00 |
|
kurihada
|
112d18320d
|
Simplify Gitea Actions workflow
Build and Deploy / build-and-deploy (push) Waiting to run
|
2026-06-01 16:58:03 +08:00 |
|
kurihada
|
84f8e9113b
|
Trigger Gitea Actions workflow
Build and Deploy / build-and-deploy (push) Has started running
|
2026-06-01 16:47:19 +08:00 |
|
kurihada
|
cb7894bbc2
|
Add Gitea Actions workflow (migrated from Jenkins)
Build and Deploy / build-and-deploy (push) Has started running
|
2026-06-01 16:35:25 +08:00 |
|
田东生
|
9c72da56f4
|
fix: 对齐 no-whatever 验证过的 Dockerfile
- 构建时 DATABASE_URL 改回相对路径 file:./template.db
- COPY 从 prisma/template.db 取文件(Prisma 6 实际生成位置)
|
2026-02-25 19:33:29 +08:00 |
|
田东生
|
e4835c2534
|
fix: Dockerfile 中 template.db 使用绝对路径
Prisma 6 相对路径基于 schema.prisma 位置解析,导致文件
生成在 prisma/ 子目录下而非项目根目录。
|
2026-02-25 19:28:38 +08:00 |
|
田东生
|
c5505868e1
|
refactor: 降级到 Prisma 6,移除 adapter 依赖
Prisma 6 内置 SQLite 引擎,无需 adapter、无需编译工具链,
与 no-whatever 项目保持一致的技术方案。
|
2026-02-25 18:48:20 +08:00 |
|
田东生
|
115f522056
|
fix: 确保 libsql 原生 binding 进入 standalone 运行时
- next.config.ts 添加 serverExternalPackages 防止裁剪
- Dockerfile 显式复制 @libsql node_modules 到 runner 镜像
|
2026-02-25 18:41:38 +08:00 |
|
田东生
|
ddcf81d286
|
fix: 修复 Alpine BusyBox 下 cp -n 不支持导致数据库未初始化
改用 POSIX 兼容的 [ -f ] || cp 条件复制。
|
2026-02-25 18:36:09 +08:00 |
|
kurihada
|
ba0ecb0bc2
|
fix: 端口改为 3002,修复部署冲突
3001 已被占用;同时简化容器清理为 docker rm -f。
|
2026-02-25 18:28:17 +08:00 |
|
kurihada
|
bfed5cc2a2
|
refactor: 替换 better-sqlite3 为 libsql 适配器
移除 C++ 原生依赖,Dockerfile 不再需要 python3/make/g++,
构建更快、镜像更轻。
|
2026-02-25 18:28:17 +08:00 |
|
kurihada
|
5bf98753f1
|
feat: 完整 MVP — 剁手小黑屋反冲动消费 Web App
- 数据层: Prisma 7 + SQLite (better-sqlite3 adapter), Item 模型
- API: POST/GET/PATCH /api/items, 商品 CRUD 与状态流转
- 关押表单: 图片拖拽上传 + Canvas 压缩, Base64 存储
- 首页看守所: 72h 倒计时 Hook, 省钱看板, 冷却/释放卡片交互
- PWA: manifest.ts, apple-icon, viewport 沉浸配置, iOS 引导组件
- 部署: Dockerfile 多阶段构建, docker-compose, Jenkinsfile CI/CD
- 图标: 全套专属像素风锁头+购物车图标 (favicon/96/180/192/512/OG)
|
2026-02-25 18:28:17 +08:00 |
|
kurihada
|
97d5eb72ba
|
Initial commit
|
2026-02-25 18:28:17 +08:00 |
|