Commit Graph
10 Commits
Author SHA1 Message Date
SkyJourneyandClaude Sonnet 4.6 4c9723b1df 合并 pipeline 为单 job 双 step
build 与 deploy 顺序执行且无并行需要,
合并为一个 job 的两个 step 更简洁

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 17:45:02 +08:00
SkyJourneyandClaude Sonnet 4.6 e5e5b841a4 修正 TeamCity pipeline.yaml 语法
使用正确的 TeamCity Pipelines YAML 格式:
- type: script + script-content 替换错误的 script 字段
- dependencies 替换 GitHub Actions 风格的 needs
- 移除无效的 on/push 触发块,改为注释说明
  (VCS 触发器需在 TeamCity UI 或 Kotlin DSL 中配置)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 17:44:18 +08:00
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
yangmiandClaude Opus 4.6 f9772b99cb 修改 zhican 项目描述
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 16:20:35 +08:00
yangmiandClaude Opus 4.6 25a5987cfb 修改 zhican 项目描述
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 16:08:42 +08:00
yangmi fb8ac360f0 修改 2026-04-08 16:00:44 +08:00
yangmi fdbbee16b9 初始化 2026-04-08 15:57:05 +08:00
yangmi b1ac4ac0b0 Initial commit 2026-04-08 15:47:50 +08:00