提交 ecc2135b 编写于 作者: V vben

chore: update deps

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