chore(deps): upgrade Vite 5.1.4 → 7.3.1 and ecosystem plugins
Core: - vite 5.1.4 → 7.3.1 - @vitejs/plugin-vue 5 → 6.0.4 - @vitejs/plugin-vue-jsx 3 → 5.1.4 - @vitejs/plugin-legacy 5 → 7.2.1 - @types/node 20.17.9 → 25.3.3 Plugins: - unplugin-auto-import 0.16.7 → 21.0.0 - unplugin-vue-components 0.25.2 → 31.0.0 - unplugin-element-plus 0.8.0 → 0.11.2 - vite-plugin-svg-icons-ng 1.3.1 → 1.5.2 - vite-plugin-top-level-await 1.4.4 → 1.6.0 Config: - Switch to Sass Modern Compiler API (api: 'modern-compiler') - Remove silenceDeprecations workaround Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>pull/878/head
parent
f4b8fea579
commit
fd11e07e92
20
package.json
20
package.json
|
|
@ -94,16 +94,16 @@
|
|||
"@purge-icons/generated": "^0.9.0",
|
||||
"@types/jsoneditor": "^9.9.5",
|
||||
"@types/lodash-es": "^4.17.12",
|
||||
"@types/node": "^20.11.21",
|
||||
"@types/node": "^25.3.3",
|
||||
"@types/nprogress": "^0.2.3",
|
||||
"@types/qrcode": "^1.5.5",
|
||||
"@types/qs": "^6.9.12",
|
||||
"@unocss/eslint-config": "^66.6.3",
|
||||
"@unocss/eslint-plugin": "66.6.3",
|
||||
"@unocss/transformer-variant-group": "^66.6.3",
|
||||
"@vitejs/plugin-legacy": "^5.3.1",
|
||||
"@vitejs/plugin-vue": "^5.0.4",
|
||||
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
||||
"@vitejs/plugin-legacy": "^7.2.1",
|
||||
"@vitejs/plugin-vue": "^6.0.4",
|
||||
"@vitejs/plugin-vue-jsx": "^5.1.4",
|
||||
"autoprefixer": "^10.4.17",
|
||||
"bpmn-js": "^18.12.0",
|
||||
"bpmn-js-properties-panel": "5.52.1",
|
||||
|
|
@ -128,17 +128,17 @@
|
|||
"typescript": "5.9.3",
|
||||
"typescript-eslint": "^8.56.1",
|
||||
"unocss": "^66.6.2",
|
||||
"unplugin-auto-import": "^0.16.7",
|
||||
"unplugin-element-plus": "^0.8.0",
|
||||
"unplugin-vue-components": "^0.25.2",
|
||||
"vite": "5.1.4",
|
||||
"unplugin-auto-import": "^21.0.0",
|
||||
"unplugin-element-plus": "^0.11.2",
|
||||
"unplugin-vue-components": "^31.0.0",
|
||||
"vite": "7.3.1",
|
||||
"vite-plugin-compression": "^0.5.1",
|
||||
"vite-plugin-ejs": "^1.7.0",
|
||||
"vite-plugin-eslint2": "^5.0.5",
|
||||
"vite-plugin-progress": "^0.0.7",
|
||||
"vite-plugin-purge-icons": "^0.10.0",
|
||||
"vite-plugin-svg-icons-ng": "^1.3.1",
|
||||
"vite-plugin-top-level-await": "^1.4.4",
|
||||
"vite-plugin-svg-icons-ng": "^1.5.2",
|
||||
"vite-plugin-top-level-await": "^1.6.0",
|
||||
"vue-eslint-parser": "^10.4.0",
|
||||
"vue-tsc": "^3.2.5"
|
||||
},
|
||||
|
|
|
|||
2967
pnpm-lock.yaml
2967
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
|
@ -44,8 +44,7 @@ export default ({command, mode}: ConfigEnv): UserConfig => {
|
|||
preprocessorOptions: {
|
||||
scss: {
|
||||
additionalData: '@use "@/styles/variables.scss" as *;',
|
||||
javascriptEnabled: true,
|
||||
silenceDeprecations: ["legacy-js-api"], // 参考自 https://stackoverflow.com/questions/78997907/the-legacy-js-api-is-deprecated-and-will-be-removed-in-dart-sass-2-0-0
|
||||
api: 'modern-compiler'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue