From 5531cdd2378ae948217454e419fcab36f46f9337 Mon Sep 17 00:00:00 2001 From: ray <1490493387@qq.com> Date: Sat, 12 Oct 2024 00:12:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E9=80=82=E9=85=8Delement-plus?= =?UTF-8?q?=E7=9A=842.8.5=E7=89=88=E6=9C=ACSASS=E5=8D=87=E7=BA=A7=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E5=BA=9F=E5=BC=83=E7=9A=84color=20function?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 37 +++++++++++++++++++------------------ vite.config.ts | 1 + 2 files changed, 20 insertions(+), 18 deletions(-) diff --git a/package.json b/package.json index bcaa5099..203b3d75 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue3-element-admin", - "version": "2.16.5", + "version": "2.16.6", "private": true, "type": "module", "scripts": { @@ -54,7 +54,7 @@ "codemirror": "^5.65.18", "codemirror-editor-vue3": "^2.8.0", "echarts": "^5.5.1", - "element-plus": "^2.8.4", + "element-plus": "^2.8.5", "exceljs": "^4.4.0", "lodash-es": "^4.17.21", "nprogress": "^0.2.0", @@ -70,49 +70,49 @@ "devDependencies": { "@commitlint/cli": "^19.5.0", "@commitlint/config-conventional": "^19.5.0", - "@iconify-json/ep": "^1.2.0", + "@iconify-json/ep": "^1.2.1", "@types/codemirror": "^5.60.15", - "@types/lodash": "^4.17.7", + "@types/lodash": "^4.17.10", "@types/node": "^22.7.5", "@types/nprogress": "^0.2.3", "@types/path-browserify": "^1.0.3", - "@types/qs": "^6.9.15", + "@types/qs": "^6.9.16", "@types/sortablejs": "^1.15.8", "@typescript-eslint/eslint-plugin": "^8.8.1", "@typescript-eslint/parser": "^8.8.1", - "@vitejs/plugin-vue": "^5.1.3", + "@vitejs/plugin-vue": "^5.1.4", "@vitejs/plugin-vue-jsx": "^3.1.0", "autoprefixer": "^10.4.20", - "commitizen": "^4.3.0", + "commitizen": "^4.3.1", "cz-git": "1.9.4", "eslint": "^9.12.0", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-import": "^2.30.0", + "eslint-plugin-import": "^2.31.0", "eslint-plugin-prettier": "^5.2.1", - "eslint-plugin-vue": "^9.28.0", + "eslint-plugin-vue": "^9.29.0", "fast-glob": "^3.3.2", - "husky": "^9.1.5", + "husky": "^9.1.6", "lint-staged": "^15.2.10", - "postcss": "^8.4.45", + "postcss": "^8.4.47", "postcss-html": "^1.7.0", "postcss-scss": "^4.0.9", "prettier": "^3.3.3", - "sass": "1.78.0", + "sass": "^1.79.5", "stylelint": "^16.9.0", "stylelint-config-html": "^1.1.0", "stylelint-config-recess-order": "^5.1.1", "stylelint-config-recommended-scss": "^14.1.0", "stylelint-config-recommended-vue": "^1.5.0", "stylelint-config-standard": "^36.0.1", - "terser": "^5.31.6", - "typescript": "^5.5.4", + "terser": "^5.34.1", + "typescript": "^5.6.3", "unocss": "^0.63.4", "unplugin-auto-import": "^0.18.3", "unplugin-vue-components": "^0.27.4", - "vite": "^5.4.3", - "vite-plugin-mock-dev-server": "^1.7.1", + "vite": "^5.4.8", + "vite-plugin-mock-dev-server": "^1.8.0", "vite-plugin-svg-icons": "^2.0.1", - "vite-plugin-vue-devtools": "^7.4.4", + "vite-plugin-vue-devtools": "^7.4.6", "vue-tsc": "^2.1.6" }, "engines": { @@ -120,5 +120,6 @@ }, "repository": "https://gitee.com/youlaiorg/vue3-element-admin.git", "author": "有来开源组织", - "license": "MIT" + "license": "MIT", + "packageManager": "pnpm@9.1.3+sha512.7c2ea089e1a6af306409c4fc8c4f0897bdac32b772016196c469d9428f1fe2d5a21daf8ad6512762654ac645b5d9136bb210ec9a00afa8dbc4677843ba362ecd" } diff --git a/vite.config.ts b/vite.config.ts index 3cf1fe97..3b951d3a 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -44,6 +44,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => { // 定义全局 SCSS 变量 scss: { javascriptEnabled: true, + api: "modern-compiler", additionalData: ` @use "@/styles/variables.scss" as *; `,