项目改名 harbor → lab,前端构建移入 Docker

- 品牌名 港湾 → Lab,favicon harbor.svg → lab.svg
- 新增多阶段 Dockerfile:bun 装依赖并构建,产物直接进 caddy:alpine 镜像,
  部署不再需要宿主机预先 build
- builder 阶段装 nodejs:vue-tsc 在 bun 运行时下无法解析 .vue 模块(TS2307)
- typescript 锁回 ^6.0.3:工作区里未提交的 ^7.0.2 是原生 Go 编译器,
  不再导出 typescript/lib/tsc,vue-tsc@3.3.11 无法运行
- 一并提交此前未提交的 npm → bun 迁移(bun.lock / bunfig.toml,删除 package-lock.json)

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-07 00:49:00 -06:00
parent 9cc8b6ed6c
commit 5069617b33
8 changed files with 196 additions and 1233 deletions

View File

@@ -9,14 +9,14 @@
"preview": "vite preview"
},
"dependencies": {
"vue": "^3.5.31"
"vue": "^3.5.42"
},
"devDependencies": {
"@types/node": "^25.5.0",
"@vitejs/plugin-vue": "^6.0.5",
"@types/node": "^26.4.1",
"@vitejs/plugin-vue": "^6.0.8",
"@vue/tsconfig": "^0.9.1",
"typescript": "^6.0.2",
"vite": "^8.0.3",
"typescript": "^6.0.3",
"vite": "^8.2.2",
"vue-tsc": "^3.2.6"
}
}