chore: update version & remove unseless code

This commit is contained in:
Apple Sun 2023-05-12 16:01:44 +08:00
parent 7bd3cef63a
commit 3a41d8fd02
3 changed files with 2000 additions and 1653 deletions

View File

@ -26,77 +26,77 @@
"prepare": "husky install" "prepare": "husky install"
}, },
"dependencies": { "dependencies": {
"@types/lodash-es": "^4.17.6", "@types/lodash-es": "^4.17.7",
"@vicons/antd": "^0.12.0", "@vicons/antd": "^0.12.0",
"@vicons/ionicons5": "^0.12.0", "@vicons/ionicons5": "^0.12.0",
"@vicons/utils": "^0.1.4", "@vicons/utils": "^0.1.4",
"@vueuse/core": "^9.2.0", "@vueuse/core": "^9.13.0",
"axios": "^0.26.1", "axios": "^0.26.1",
"date-fns": "^2.29.2", "date-fns": "^2.30.0",
"echarts": "^5.3.3", "echarts": "^5.4.2",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"mockjs": "^1.1.0", "mockjs": "^1.1.0",
"pinia": "^2.0.19", "pinia": "^2.0.36",
"pinia-plugin-persist": "^1.0.0", "pinia-plugin-persist": "^1.0.0",
"qs": "^6.11.0", "qs": "^6.11.1",
"vant": "4.0.0-beta.0", "vant": "4.0.0-beta.0",
"vue": "^3.2.37", "vue": "^3.3.1",
"vue-router": "4.1.5", "vue-router": "4.1.5",
"vue-types": "^4.2.1" "vue-types": "^4.2.1"
}, },
"devDependencies": { "devDependencies": {
"@commitlint/cli": "^17.1.2", "@commitlint/cli": "^17.6.3",
"@commitlint/config-conventional": "^17.1.0", "@commitlint/config-conventional": "^17.6.3",
"@types/fs-extra": "^9.0.13", "@types/fs-extra": "^9.0.13",
"@types/mockjs": "^1.0.6", "@types/mockjs": "^1.0.7",
"@types/node": "^18.7.1", "@types/node": "^18.16.8",
"@types/qs": "^6.9.7", "@types/qs": "^6.9.7",
"@typescript-eslint/eslint-plugin": "^5.33.1", "@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/parser": "^5.33.1", "@typescript-eslint/parser": "^5.59.5",
"@vitejs/plugin-vue": "^3.0.3", "@vitejs/plugin-vue": "^3.2.0",
"@vue/compiler-sfc": "^3.2.37", "@vue/compiler-sfc": "^3.3.1",
"@vue/eslint-config-typescript": "^11.0.0", "@vue/eslint-config-typescript": "^11.0.3",
"autoprefixer": "^10.4.8", "autoprefixer": "^10.4.14",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"cz-git": "^1.3.12", "cz-git": "^1.6.1",
"dotenv": "^16.0.1", "dotenv": "^16.0.3",
"eslint": "^8.22.0", "eslint": "^8.40.0",
"eslint-config-prettier": "^8.5.0", "eslint-config-prettier": "^8.8.0",
"eslint-define-config": "^1.6.0", "eslint-define-config": "^1.20.0",
"eslint-plugin-prettier": "^4.2.1", "eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.3.0", "eslint-plugin-vue": "^9.12.0",
"esno": "^0.16.3", "esno": "^0.16.3",
"fs-extra": "^10.1.0", "fs-extra": "^10.1.0",
"husky": "^8.0.1", "husky": "^8.0.3",
"less": "^4.1.3", "less": "^4.1.3",
"lint-staged": "^13.0.3", "lint-staged": "^13.2.2",
"only-allow": "^1.1.1", "only-allow": "^1.1.1",
"picocolors": "^1.0.0", "picocolors": "^1.0.0",
"postcss": "^8.4.16", "postcss": "^8.4.23",
"postcss-html": "^1.0.0", "postcss-html": "^1.5.0",
"postcss-less": "^6.0.0", "postcss-less": "^6.0.0",
"postcss-mobile-forever": "^3.3.1", "postcss-mobile-forever": "^3.3.2",
"prettier": "^2.7.1", "prettier": "^2.8.8",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"rollup": "^2.79.0", "rollup": "^2.79.1",
"rollup-plugin-visualizer": "^5.8.1", "rollup-plugin-visualizer": "^5.9.0",
"stylelint": "^14.10.0", "stylelint": "^14.16.1",
"stylelint-config-prettier": "^9.0.3", "stylelint-config-prettier": "^9.0.5",
"stylelint-config-recommended": "^9.0.0", "stylelint-config-recommended": "^9.0.0",
"stylelint-config-recommended-vue": "^1.4.0", "stylelint-config-recommended-vue": "^1.4.0",
"stylelint-config-standard": "^27.0.0", "stylelint-config-standard": "^27.0.0",
"stylelint-order": "^5.0.0", "stylelint-order": "^5.0.0",
"typescript": "^4.6.4", "typescript": "^4.9.5",
"unplugin-vue-components": "^0.22.4", "unplugin-vue-components": "^0.22.12",
"vite": "^3.0.0", "vite": "^4.3.5",
"vite-plugin-compression": "^0.5.1", "vite-plugin-compression": "^0.5.1",
"vite-plugin-html": "^3.2.0", "vite-plugin-html": "^3.2.0",
"vite-plugin-mock": "^2.9.6", "vite-plugin-mock": "^2.9.8",
"vite-plugin-svg-icons": "^2.0.1", "vite-plugin-svg-icons": "^2.0.1",
"vite-plugin-vue-setup-extend": "^0.4.0", "vite-plugin-vue-setup-extend": "^0.4.0",
"vite-plugin-windicss": "^1.8.7", "vite-plugin-windicss": "^1.9.0",
"vue-eslint-parser": "^9.0.0", "vue-eslint-parser": "^9.2.1",
"vue-tsc": "^1.0.5" "vue-tsc": "^1.6.4"
}, },
"engines": { "engines": {
"node": ">=15", "node": ">=15",

3561
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -121,12 +121,12 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
// } // }
// } // }
}, },
// 有需要再打开,否则 既不优化 也不排除
optimizeDeps: { // optimizeDeps: {
include: [], // include: [],
// 打包时强制排除的依赖项 // // 打包时强制排除的依赖项
exclude: [], // exclude: [],
}, // },
// 加载插件 // 加载插件
plugins: createVitePlugins(viteEnv, isBuild, prodMock), plugins: createVitePlugins(viteEnv, isBuild, prodMock),