- Bump ant-design-vue 3.2.20 -> 4.2.6, @ant-design/icons-vue 6.1.0 -> 7.0.1. - ADV4 removed LESS theming (modifyVars) for CSS-in-JS design tokens: drop the vite.config.ts modifyVars block and the antd.less import; move the three tokens ant actually consumed (primary/link/border-radius) to App.vue's <a-config-provider :theme>. - Delete src/assets/styles/ant.less (426 lines of hand-written RTL flips): ADV4 renders RTL natively via CSS logical properties given direction="rtl", which App.vue already sets. Preserve only the small residue ADV4 doesn't cover natively (upload filename LTR, select dropdown z-index, tabs nav direction) in a new rtl-overrides.css. - Clean up the stale --primary/--accent token comment in utilities.less now that ant.less is gone. - Verified: pnpm build (vue-tsc -b && vite build) passes with zero errors; the codebase already used v-model:open everywhere (no ADV3 visible prop usage to migrate). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
36 lines
899 B
JSON
36 lines
899 B
JSON
{
|
|
"name": "admin-panel",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"dev:branch": "vite --mode branch",
|
|
"build": "vue-tsc -b && vite build",
|
|
"build:branch": "vue-tsc -b && vite build --mode branch",
|
|
"preview": "vite preview",
|
|
"lint": "eslint \"src/**/*.{ts,vue}\""
|
|
},
|
|
"dependencies": {
|
|
"@ant-design/icons-vue": "^7.0.1",
|
|
"@gold-bank/shared-types": "workspace:*",
|
|
"@vueuse/core": "^9.13.0",
|
|
"ant-design-vue": "^4.2.6",
|
|
"axios": "^1.7.7",
|
|
"lodash": "^4.17.21",
|
|
"moment-jalaali": "^0.10.0",
|
|
"pinia": "^2.2.0",
|
|
"vue": "^3.5.0",
|
|
"vue-router": "^4.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/lodash": "^4.17.0",
|
|
"@vitejs/plugin-vue": "^5.1.0",
|
|
"autoprefixer": "^10.4.2",
|
|
"less": "^4.1.2",
|
|
"postcss": "^8.4.5",
|
|
"typescript": "^5.5.0",
|
|
"vite": "^5.4.0",
|
|
"vue-tsc": "^2.1.0"
|
|
}
|
|
}
|