mirror of https://github.com/halo-dev/halo
chore: bump vite to 5.x (#5920)
#### What type of PR is this? /area ui /kind improvement /milestone 2.16.x #### What this PR does / why we need it: 升级 Vite 至 5.x。 #### Does this PR introduce a user-facing change? ```release-note 升级 UI 部分的 Vite 版本至 5.x。 ```pull/5930/head
parent
f24b08c7db
commit
b47015a36d
|
@ -1,4 +1,8 @@
|
||||||
{
|
{
|
||||||
|
"type": "module",
|
||||||
|
"workspaces": [
|
||||||
|
"packages/*"
|
||||||
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepare": "cd .. && husky install ui/.husky",
|
"prepare": "cd .. && husky install ui/.husky",
|
||||||
"dev": "run-p dev:console dev:uc",
|
"dev": "run-p dev:console dev:uc",
|
||||||
|
@ -33,9 +37,6 @@
|
||||||
"eslint --fix --max-warnings=0"
|
"eslint --fix --max-warnings=0"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"workspaces": [
|
|
||||||
"packages/*"
|
|
||||||
],
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@codemirror/commands": "^6.1.2",
|
"@codemirror/commands": "^6.1.2",
|
||||||
"@codemirror/lang-css": "^6.0.1",
|
"@codemirror/lang-css": "^6.0.1",
|
||||||
|
@ -147,12 +148,12 @@
|
||||||
"tailwindcss-themer": "^2.0.3",
|
"tailwindcss-themer": "^2.0.3",
|
||||||
"typescript": "~5.3.0",
|
"typescript": "~5.3.0",
|
||||||
"unplugin-icons": "^0.14.15",
|
"unplugin-icons": "^0.14.15",
|
||||||
"vite": "^4.2.3",
|
"vite": "^5.2.11",
|
||||||
"vite-plugin-externals": "^0.6.2",
|
"vite-plugin-externals": "^0.6.2",
|
||||||
"vite-plugin-html": "^3.2.0",
|
"vite-plugin-html": "^3.2.2",
|
||||||
"vite-plugin-pwa": "^0.16.4",
|
"vite-plugin-pwa": "^0.20.0",
|
||||||
"vite-plugin-static-copy": "^0.17.0",
|
"vite-plugin-static-copy": "^1.0.4",
|
||||||
"vite-plugin-vue-devtools": "^7.0.15",
|
"vite-plugin-vue-devtools": "^7.1.3",
|
||||||
"vitest": "^0.34.1",
|
"vitest": "^0.34.1",
|
||||||
"vue-tsc": "^1.8.27"
|
"vue-tsc": "^1.8.27"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
plugins: ["../../prettier.config.js"],
|
plugins: ["../../prettier.config.cjs"],
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
plugins: ["../../prettier.config.js"],
|
plugins: ["../../prettier.config.cjs"],
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
plugins: ["../../prettier.config.js"],
|
plugins: ["../../prettier.config.cjs"],
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
plugins: ["../../prettier.config.js"],
|
plugins: ["../../prettier.config.cjs"],
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
plugins: ["../../prettier.config.js"],
|
plugins: ["../../prettier.config.cjs"],
|
||||||
};
|
};
|
||||||
|
|
3639
ui/pnpm-lock.yaml
3639
ui/pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -273,7 +273,7 @@ onMounted(() => {
|
||||||
UiExtensionAudio.configure({
|
UiExtensionAudio.configure({
|
||||||
uploadAudio: props.uploadImage,
|
uploadAudio: props.uploadImage,
|
||||||
}),
|
}),
|
||||||
ExtensionCharacterCount,
|
ExtensionCharacterCount as AnyExtension,
|
||||||
ExtensionFontSize,
|
ExtensionFontSize,
|
||||||
ExtensionColor,
|
ExtensionColor,
|
||||||
ExtensionIndent,
|
ExtensionIndent,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"extends": "@tsconfig/node18/tsconfig.json",
|
"extends": "@tsconfig/node18/tsconfig.json",
|
||||||
"include": [
|
"include": [
|
||||||
"vite.config.*",
|
"vite.config.ts",
|
||||||
"vite.uc.config.ts",
|
"vite.uc.config.ts",
|
||||||
"vitest.config.*",
|
"vitest.config.*",
|
||||||
"cypress.config.*",
|
"cypress.config.*",
|
||||||
|
|
Loading…
Reference in New Issue