Files
violin-home/package.json
T
simple321vip 4da6832b44 feat: R1 重构对称迁移 + 升级依赖 + 配置文件分离
- 命名重构:tenant → customer(对齐后端 R1 重构)
  - Tenant → Customer / tenant_id → customerId
  - tenantStore → customerStore / getTenant/setTenant → getCustomer/setCustomer
  - cookie key tenant → customer, HTTP header tenantId → customerId
- 后端契约更新:AuthResponse 加 sub 字段
- 接口 URL 修复:/auth/oidc/callback → /api/v1/auth/oidc/callback
- 依赖升级:vue 3.5 / element-plus 2.8 / vite 5 / typescript 5.6 / sass 1.79
- 删 node-sass / scss / sass-loader / moment / mock/index.ts
- 配置文件拆分:.env.development / .env.production / .env.example
- 删除冗余 view/auth/auth/callback.vue 副本
- .gitignore 增加 dist / .opencode / tmp
- 新增 AGENT.md 与后端风格对齐
2026-06-22 08:02:21 +08:00

45 lines
1.2 KiB
JSON

{
"name": "violin-home",
"private": true,
"version": "2.0.0",
"scripts": {
"dev": "vite --host",
"build": "vue-tsc --noEmit && vite build",
"build:test": "vue-tsc --noEmit && vite build --mode test",
"build:dev": "vue-tsc --noEmit && vite build --mode development",
"preview": "vite preview"
},
"dependencies": {
"@element-plus/icons-vue": "^2.3.1",
"axios": "^1.7.7",
"clipboard": "^2.0.11",
"copy-to-clipboard": "^3.3.3",
"dayjs": "^1.11.13",
"echarts": "^5.5.1",
"element-plus": "^2.8.4",
"js-cookie": "^3.0.5",
"lodash-es": "^4.17.21",
"md-editor-v3": "^4.20.1",
"pinia": "^2.2.4",
"qs": "^6.13.0",
"v-contextmenu": "^3.2.0",
"vue": "^3.5.12",
"vue-router": "^4.4.5",
"vuedraggable": "^4.1.0"
},
"devDependencies": {
"@types/js-cookie": "^3.0.6",
"@types/lodash-es": "^4.17.12",
"@types/node": "^22.7.5",
"@types/qs": "^6.9.15",
"@vitejs/plugin-vue": "^5.1.4",
"mockjs": "^1.1.0",
"sass": "^1.79.4",
"typescript": "~5.6.2",
"vite": "^5.4.8",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-mock": "^3.0.2",
"vue-tsc": "^2.1.6"
}
}