chore: 依赖升级

This commit is contained in:
xiangshu233 2023-12-27 18:08:35 +08:00
parent 04c5b94d5a
commit 7817f83d5c
7 changed files with 2142 additions and 1667 deletions

View File

@ -1,7 +1,8 @@
{
"name": "vue3-vant4-mobile",
"private": true,
"version": "0.0.1",
"version": "0.0.2",
"type": "module",
"author": {
"name": "xiangshu233",
"email": "xiangshu233@outlook.com",
@ -26,77 +27,75 @@
"prepare": "husky install"
},
"dependencies": {
"@types/lodash-es": "^4.17.6",
"@types/lodash-es": "^4.17.12",
"@vicons/antd": "^0.12.0",
"@vicons/ionicons5": "^0.12.0",
"@vicons/utils": "^0.1.4",
"@vueuse/core": "^9.2.0",
"axios": "^0.26.1",
"date-fns": "^2.29.2",
"echarts": "^5.3.3",
"@vueuse/core": "^10.7.0",
"axios": "^1.4.0",
"date-fns": "^3.0.6",
"echarts": "^5.4.3",
"lodash-es": "^4.17.21",
"mockjs": "^1.1.0",
"pinia": "^2.0.19",
"pinia": "^2.1.7",
"pinia-plugin-persist": "^1.0.0",
"qs": "^6.11.0",
"vant": "4.0.0-beta.0",
"vue": "^3.2.37",
"vue-router": "4.1.5",
"vue-types": "^4.2.1"
"qs": "^6.11.2",
"vant": "^4.8.1",
"vue": "^3.3.13",
"vue-router": "4.2.5"
},
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@types/fs-extra": "^9.0.13",
"@types/mockjs": "^1.0.6",
"@types/node": "^18.7.1",
"@types/qs": "^6.9.7",
"@typescript-eslint/eslint-plugin": "^5.33.1",
"@typescript-eslint/parser": "^5.33.1",
"@vitejs/plugin-vue": "^3.0.3",
"@vue/compiler-sfc": "^3.2.37",
"@vue/eslint-config-typescript": "^11.0.0",
"autoprefixer": "^10.4.8",
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@types/fs-extra": "^11.0.4",
"@types/mockjs": "^1.0.10",
"@types/node": "^20.10.5",
"@types/qs": "^6.9.11",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
"@vitejs/plugin-vue": "^5.0.0",
"@vue/eslint-config-typescript": "^12.0.0",
"autoprefixer": "^10.4.16",
"cross-env": "^7.0.3",
"cz-git": "^1.3.12",
"dotenv": "^16.0.1",
"eslint": "^8.22.0",
"eslint-config-prettier": "^8.5.0",
"eslint-define-config": "^1.6.0",
"cz-git": "^1.8.0",
"dotenv": "^16.3.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^8.10.0",
"eslint-define-config": "^1.24.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.3.0",
"eslint-plugin-vue": "^9.19.2",
"esno": "^0.16.3",
"fs-extra": "^10.1.0",
"husky": "^8.0.1",
"less": "^4.1.3",
"lint-staged": "^13.0.3",
"only-allow": "^1.1.1",
"fs-extra": "^11.2.0",
"husky": "^8.0.3",
"less": "^4.2.0",
"lint-staged": "^15.2.0",
"only-allow": "^1.2.1",
"picocolors": "^1.0.0",
"postcss": "^8.4.16",
"postcss-html": "^1.0.0",
"postcss": "^8.4.32",
"postcss-html": "^1.5.0",
"postcss-less": "^6.0.0",
"postcss-mobile-forever": "^4.0.0",
"prettier": "^2.7.1",
"prettier": "^2.8.8",
"rimraf": "^3.0.2",
"rollup": "^2.79.0",
"rollup-plugin-visualizer": "^5.8.1",
"stylelint": "^14.10.0",
"stylelint-config-prettier": "^9.0.3",
"rollup": "^4.9.1",
"rollup-plugin-visualizer": "^5.11.0",
"stylelint": "^14.16.1",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-recommended": "^9.0.0",
"stylelint-config-recommended-vue": "^1.4.0",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard": "^27.0.0",
"stylelint-order": "^5.0.0",
"typescript": "^4.6.4",
"unplugin-vue-components": "^0.22.4",
"vite": "^3.0.0",
"typescript": "^5.3.3",
"unplugin-vue-components": "^0.26.0",
"vite": "^5.0.10",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-html": "^3.2.0",
"vite-plugin-mock": "^2.9.6",
"vite-plugin-html": "^3.2.1",
"vite-plugin-mock": "^2.9.8",
"vite-plugin-svg-icons": "^2.0.1",
"vite-plugin-vue-setup-extend": "^0.4.0",
"vite-plugin-windicss": "^1.8.7",
"vue-eslint-parser": "^9.0.0",
"vue-tsc": "^1.0.5"
"vite-plugin-windicss": "^1.9.3",
"vue-eslint-parser": "^9.3.2",
"vue-tsc": "^1.8.27"
},
"engines": {
"node": ">=15",

3700
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -10,6 +10,11 @@
* 改用postcss-px-to-viewport-8-plugin替代
*/
// FIXME: 升级 vite5 后控制台警告The CJS build of Vite's Node API is deprecated.
// 将 "type": "module" 添加到 package.json 后,
// 所有*.js文件现在都解释为 ESM并且需要使用 ESM 语法。您可以使用扩展名重命名文件.cjs来继续使用 CJS。
// require 是cjs 语法
const autoprefixer = require('autoprefixer');
const viewport = require('postcss-mobile-forever');
@ -21,7 +26,8 @@ const baseViewportOpts = {
propList: [
'*',
// '!font-size'
], // 能转化为vw的属性列表!font-size表示font-size后面的单位不会被转换
],
// 能转化为vw的属性列表!font-size表示font-size后面的单位不会被转换
// 指定不转换为视口单位的类,可以自定义,可以无限添加,建议定义一至两个通用的类名
// 需要忽略的CSS选择器不会转为视口单位使用原有的px等单位。
// 下面配置表示类名中含有'keep-px'以及'.ignore'类都不会被转换