 SkyJourneyandClaude Sonnet 4.6
|
a6afbcffeb
|
添加 CI/CD 构建配置与部署文件
- deploy/Dockerfile:多阶段构建,node:24-alpine(阿里镜像)构建
dist,nginx:alpine 作为成品镜像;构建上下文为仓库根目录
- deploy/nginx.conf:Vue Router history 模式 SPA 配置,含 gzip
压缩和 /assets/ 长期缓存
- deploy/compose.yaml:以 zhican-admin:latest 启动服务,对外暴露
12801 端口
- .teamcity/pipeline.yaml:main 分支触发,build/deploy 独立 step
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-04-08 17:36:10 +08:00 |
|
 SkyJourneyandClaude Opus 4.6
|
c8a18c9ec3
|
切换到 pnpm 工作流,补齐 .gitignore 与 vendor 拆分
- 根目录、zhican/、miniprogram/ 三层 .gitignore 就位
- 删除 package-lock.json,仓库统一追踪 pnpm-lock.yaml
- vite.config.ts 拆出 vue-vendor(vue/vue-router/pinia);
ant-design-vue 体积~1MB,继续按路由 code-split,不入 manualChunks
- 新增根 CLAUDE.md 记录仓库结构、常用命令、antd 类型陷阱、
构建门禁、vendor 拆分策略等
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-08 17:25:26 +08:00 |
|
 SkyJourneyandClaude Opus 4.6
|
077495a401
|
修复 admin 构建门禁与类型错误,清理死代码
- tsconfig.node.json 启用 composite,让 vue-tsc --noEmit 真正生效
- 修复 24 处 antd-vue 4.x 类型错误(Table columns、Tree data、
RangePicker null、Progress format 回调等)
- 删除未被引用的 axios 封装与 api 聚合(admin/utils/request.ts、
admin/api/index.ts、miniprogram/utils/request.js)
- 新增 .githooks/pre-commit:admin 源码变更时自动 pnpm run build
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-08 17:24:29 +08:00 |
|