提交 ecc2135b 编写于 作者: V vben

chore: update deps

上级 4e4ce944
......@@ -38,14 +38,14 @@
"@iconify/iconify": "^2.1.1",
"@logicflow/core": "^1.0.7",
"@logicflow/extension": "^1.0.7",
"@vue/runtime-core": "^3.2.27",
"@vue/shared": "^3.2.27",
"@vueuse/core": "^7.5.3",
"@vueuse/shared": "^7.5.3",
"@vue/runtime-core": "^3.2.29",
"@vue/shared": "^3.2.29",
"@vueuse/core": "^7.5.4",
"@vueuse/shared": "^7.5.4",
"@zxcvbn-ts/core": "^1.2.0",
"ant-design-vue": "3.0.0-beta.7",
"axios": "^0.24.0",
"codemirror": "^5.65.0",
"ant-design-vue": "3.0.0-beta.8",
"axios": "^0.25.0",
"codemirror": "^5.65.1",
"cropperjs": "^1.5.12",
"crypto-js": "^4.1.1",
"dayjs": "^1.10.7",
......@@ -63,8 +63,8 @@
"showdown": "^1.9.1",
"sortablejs": "^1.14.0",
"tinymce": "^5.10.2",
"vditor": "^3.8.10",
"vue": "^3.2.27",
"vditor": "^3.8.11",
"vue": "^3.2.29",
"vue-i18n": "^9.1.9",
"vue-json-pretty": "^1.8.2",
"vue-router": "^4.0.12",
......@@ -72,9 +72,9 @@
"xlsx": "^0.17.5"
},
"devDependencies": {
"@commitlint/cli": "^16.0.2",
"@commitlint/cli": "^16.1.0",
"@commitlint/config-conventional": "^16.0.0",
"@iconify/json": "^2.0.25",
"@iconify/json": "^2.0.28",
"@purge-icons/generated": "^0.7.0",
"@types/codemirror": "^5.60.5",
"@types/crypto-js": "^4.1.0",
......@@ -84,7 +84,7 @@
"@types/jest": "^27.4.0",
"@types/lodash-es": "^4.17.5",
"@types/mockjs": "^1.0.6",
"@types/node": "^17.0.9",
"@types/node": "^17.0.10",
"@types/nprogress": "^0.2.0",
"@types/qrcode": "^1.4.2",
"@types/qs": "^6.9.7",
......@@ -93,9 +93,9 @@
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"@vitejs/plugin-legacy": "^1.6.4",
"@vitejs/plugin-vue": "^2.0.1",
"@vitejs/plugin-vue": "^2.1.0",
"@vitejs/plugin-vue-jsx": "^1.3.3",
"@vue/compiler-sfc": "3.2.27",
"@vue/compiler-sfc": "3.2.29",
"@vue/test-utils": "^2.0.0-rc.18",
"autoprefixer": "^10.4.2",
"commitizen": "^4.2.4",
......@@ -104,7 +104,7 @@
"dotenv": "^14.2.0",
"eslint": "^8.7.0",
"eslint-config-prettier": "^8.3.0",
"eslint-define-config": "^1.2.2",
"eslint-define-config": "^1.2.3",
"eslint-plugin-jest": "^25.7.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.3.0",
......@@ -114,7 +114,7 @@
"inquirer": "^8.2.0",
"jest": "^27.4.7",
"less": "^4.1.2",
"lint-staged": "12.1.7",
"lint-staged": "12.3.1",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.5",
"postcss-html": "^1.3.0",
......@@ -122,7 +122,7 @@
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"rollup-plugin-visualizer": "^5.5.4",
"stylelint": "^14.2.0",
"stylelint": "^14.3.0",
"stylelint-config-html": "^1.0.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-recommended": "^6.0.0",
......@@ -130,11 +130,11 @@
"stylelint-order": "^5.0.0",
"ts-jest": "^27.1.3",
"ts-node": "^10.4.0",
"typescript": "^4.5.4",
"vite": "^2.8.0-beta.2",
"typescript": "^4.5.5",
"vite": "^2.8.0-beta.3",
"vite-plugin-compression": "^0.4.0",
"vite-plugin-html": "^2.1.2",
"vite-plugin-imagemin": "^0.5.1",
"vite-plugin-imagemin": "^0.5.2",
"vite-plugin-mkcert": "^1.5.2",
"vite-plugin-mock": "^2.9.6",
"vite-plugin-purge-icons": "^0.7.0",
......@@ -144,8 +144,8 @@
"vite-plugin-theme": "^0.8.1",
"vite-plugin-vue-setup-extend": "^0.3.0",
"vite-plugin-windicss": "^1.6.3",
"vue-eslint-parser": "^8.0.1",
"vue-tsc": "^0.30.5"
"vue-eslint-parser": "^8.2.0",
"vue-tsc": "^0.31.1"
},
"resolutions": {
"bin-wrapper": "npm:bin-wrapper-china",
......
此差异已折叠。
......@@ -3,7 +3,6 @@
<div class="p-4 mb-2 bg-white">
<BasicForm @register="registerForm" />
</div>
{{ sliderProp.width }}
<div class="p-2 bg-white">
<List
:grid="{ gutter: 5, xs: 1, sm: 2, md: 4, lg: 4, xl: 6, xxl: grid }"
......@@ -39,7 +38,7 @@
<Image :src="item.imgs[0]" />
</div>
</template>
<template class="ant-card-actions" #actions>
<template #actions>
<!-- <SettingOutlined key="setting" />-->
<EditOutlined key="edit" />
<Dropdown
......
......@@ -24,13 +24,13 @@
"@types/koa": "^2.13.4",
"@types/koa-bodyparser": "^5.0.2",
"@types/koa-router": "^7.4.4",
"@types/node": "^17.0.9",
"@types/node": "^17.0.10",
"nodemon": "^2.0.15",
"pm2": "^5.1.2",
"rimraf": "^3.0.2",
"ts-node": "^10.4.0",
"tsconfig-paths": "^3.12.0",
"tsup": "^5.11.11",
"typescript": "^4.5.4"
"typescript": "^4.5.5"
}
}
......@@ -60,18 +60,24 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
// Load proxy configuration from .env
proxy: createProxy(VITE_PROXY),
},
esbuild: {
pure: VITE_DROP_CONSOLE ? ['console.log', 'debugger'] : [],
},
build: {
minify: false,
// target: 'es2015',
// cssTarget: 'chrome86',
target: 'es2015',
cssTarget: 'chrome80',
outDir: OUTPUT_DIR,
terserOptions: {
compress: {
keep_infinity: true,
// Used to delete console in production environment
drop_console: VITE_DROP_CONSOLE,
},
},
// minify: 'terser',
/**
* 当 minify=“minify:'terser'” 解开注释
* Uncomment when minify="minify:'terser'"
*/
// terserOptions: {
// compress: {
// keep_infinity: true,
// drop_console: VITE_DROP_CONSOLE,
// },
// },
// Turning off brotliSize display can slightly reduce packaging time
brotliSize: false,
chunkSizeWarningLimit: 2000,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册