docs: 完善 CLAUDE.md 文档,添加景区关联表及 pnpm workspace 配置

- CLAUDE.md: 修正 TypeScript 版本为 4.9.x,补充 project.config.json 说明、type-check 命令、UAT 环境地址
- docs: 新增赣湘全域旅游年卡及超级玩家卡关联景区表
- pnpm: 添加 pnpm-workspace.yaml 及 pnpm-lock.yaml

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
jacobxu666
2026-06-24 20:01:09 +08:00
co-authored by Claude
parent feaae0a77d
commit c062dee3e6
5 changed files with 8536 additions and 3 deletions
+11 -3
View File
@@ -1,4 +1,8 @@
# zhy-test — 产研部用户端微信小程序 # CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
## 项目定位
## 项目定位 ## 项目定位
@@ -10,7 +14,7 @@
|------|------|------| |------|------|------|
| Vue | 3.5.x | 核心框架 | | Vue | 3.5.x | 核心框架 |
| uni-app | 3.0.0 | 跨平台框架(当前仅编译微信小程序) | | uni-app | 3.0.0 | 跨平台框架(当前仅编译微信小程序) |
| TypeScript | 5.x | 类型系统 | | TypeScript | 4.9.x | 类型系统 |
| Pinia | 3.x | 状态管理(仅 user store) | | Pinia | 3.x | 状态管理(仅 user store) |
| Vite | 5.2.8 | 构建工具 | | Vite | 5.2.8 | 构建工具 |
| @dcloudio/uni-ui | 1.5.12 | UI 组件库(easycom 自动导入) | | @dcloudio/uni-ui | 1.5.12 | UI 组件库(easycom 自动导入) |
@@ -63,6 +67,7 @@ zhy-test/
├── .env.dev # 开发环境 ├── .env.dev # 开发环境
├── .env.uat # UAT 环境 ├── .env.uat # UAT 环境
├── package.json ├── package.json
├── project.config.json # 微信开发者工具配置
├── vite.config.ts ├── vite.config.ts
└── tsconfig.json └── tsconfig.json
``` ```
@@ -114,6 +119,9 @@ pnpm run dev:mp-weixin
# 微信小程序生产构建 # 微信小程序生产构建
pnpm run build:mp-weixin pnpm run build:mp-weixin
# TypeScript 类型检查
pnpm run type-check
# 构建产物目录 # 构建产物目录
dist/build/mp-weixin/ # 用微信开发者工具导入此目录 dist/build/mp-weixin/ # 用微信开发者工具导入此目录
``` ```
@@ -124,7 +132,7 @@ dist/build/mp-weixin/ # 用微信开发者工具导入此目录
|------|---------|------| |------|---------|------|
| `.env.local` | `http://localhost:48080` | 本地开发(配合后端 `--spring.profiles.active=local`) | | `.env.local` | `http://localhost:48080` | 本地开发(配合后端 `--spring.profiles.active=local`) |
| `.env.dev` | `https://dscp-dev.hn12301.net` | 开发环境 | | `.env.dev` | `https://dscp-dev.hn12301.net` | 开发环境 |
| `.env.uat` | UAT 环境地址 | UAT 测试 | | `.env.uat` | `https://dscp-uat.hn12301.net` | UAT 测试 |
## 数据库环境 ## 数据库环境
Binary file not shown.
Binary file not shown.
+8521
View File
File diff suppressed because it is too large Load Diff
+4
View File
@@ -0,0 +1,4 @@
allowBuilds:
'@parcel/watcher': true
core-js: true
esbuild: true