29 Commits
Author SHA1 Message Date
xuyueandClaude Opus 5.5 bd84e3f8d1 build: 恢复前端类型检查
Deploy / deploy (build, debian, 22) (push) Canceled after 0s
vue-tsc 不支持 TypeScript 7,前端单独用 TS 5.9 + vue-tsc(服务端仍是 TS 7),
根目录 bun run typecheck 同时检查两边。修掉前端原有的 8 个类型错误(未使用的变量、类型标注)。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 22:03:51 +08:00
xuyueandClaude Opus 5.5 4014aaabbf build: 改成 Bun workspaces 的 monorepo
- 根目录新增 package.json(workspaces: client、server),两边共用一个 bun.lock,
  依赖版本与原来两个 lockfile 完全一致
- 根目录脚本:bun run dev / build / build:staging / test / typecheck / fmt,
  取代 dev.sh;client 的 start 改名为 dev,包名改为 webpreview-client
- workspaces 用 isolated 安装,补上 client 一直直接 import 却没声明的 @codemirror/view
- server 镜像改用仓库根目录做构建上下文,只装 server 的依赖;
  .dockerignore 用白名单,不再把 node_modules、数据库等发给 docker
- CI 在根目录安装并构建前端

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 20:57:29 +08:00
xuyueandClaude Opus 5.5 d1c6b8c201 chore: 将前端移动到 client/ 目录,准备合并为单仓库
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 16:01:25 +08:00
xuyueandClaude Opus 5 1f6935e31e add creation
自由创作:新增 /creation 列表与详情页、Creation API 与类型定义,
TaskPanel 增加入口,PromptPanel 支持 allowSubmit 控制提交按钮。
顺带升级依赖并按 prettier 重新格式化。

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-14 09:28:05 -06:00
xuyue c0084462eb update 2026-05-05 06:59:09 -06:00
xuyue 2fa90738e7 update 2026-04-13 05:01:46 -06:00
xuyue 8f331419e7 update 2026-01-26 14:38:23 +08:00
xuyue aa0e71ce94 update 2025-12-20 22:41:11 +08:00
xuyue b77f90559a fix 2025-09-25 10:29:10 +08:00
xuyue a1828a0aba update 2025-09-25 10:03:39 +08:00
xuyue 095626b857 add staging env 2025-09-04 18:11:16 +08:00
xuyue 1ff887c94f fix 2025-07-16 09:44:09 +08:00
xuyue 33e4ead2c5 update 2025-07-16 09:22:47 +08:00
xuyue 2ad2a971c0 添加代码格式化 2025-07-15 13:08:20 +08:00
xuyue 4556eb71d8 UI 2025-06-15 19:12:00 +08:00
xuyue dd9233a6d6 添加挑战 2025-04-27 20:35:16 +08:00
xuyue 9eb18fedd4 添加 rating 2025-03-19 09:15:20 +08:00
xuyue 82623d141e add copy 2025-03-07 14:27:49 +08:00
xuyue b1593b1c8e code lint 2025-03-06 00:12:38 +08:00
xuyue f01f8a174d update 2025-03-03 13:47:34 +08:00
xuyue 81706fc48d 添加路由 2025-02-28 09:22:38 +08:00
xuyue 8993455dfb 添加预览 2025-02-27 13:01:50 +08:00
xuyue db87a1d675 update 2025-02-26 14:44:05 +08:00
xuyue 9a289d8c39 代码高亮 2025-02-25 11:02:04 +08:00
xuyue 942c1fb59d 重新布局,添加教程 2025-02-25 00:56:42 +08:00
xuyue 06368bb8ec auto import 2025-02-24 18:42:11 +08:00
xuyue 697cd50544 fix 2025-02-24 10:47:02 +08:00
xuyue d934111354 update 2025-02-23 22:25:46 +08:00
xuyue 3b26fe4adc first commit 2025-02-23 21:26:12 +08:00