优化已知错误

This commit is contained in:
ahjung
2024-05-12 11:02:47 +08:00
parent 3d4d554733
commit 2f72f34bbe
5 changed files with 489 additions and 553 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "naive-ui-admin",
"version": "1.9.1",
"version": "1.9.2",
"author": {
"name": "Ahjung",
"email": "735878602@qq.com",
@@ -12,20 +12,18 @@
"serve": "pnpm run dev",
"dev": "vite",
"build": "vite build && esno ./build/script/postBuild.ts",
"build:no-cache": "pnpm clean:cache && npm run build",
"report": "cross-env REPORT=true npm run build",
"preview": "npm run build && vite preview",
"build:no-cache": "pnpm clean:cache && pnpm run build",
"report": "cross-env REPORT=true pnpm run build",
"preview": "pnpm run build && vite preview",
"preview:dist": "vite preview",
"clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
"clean:lib": "rimraf node_modules",
"build typecheck": "vuedx-typecheck . && vite build",
"deploy": "gh-pages -d dist",
"lint:eslint": "eslint \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
"lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
"lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
"lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
"lint:pretty": "pretty-quick --staged",
"test prod gzip": "http-server dist --cors --gzip -c-1"
"lint:pretty": "pretty-quick --staged"
},
"dependencies": {
"@vicons/antd": "^0.12.0",
@@ -40,28 +38,28 @@
"lodash-es": "^4.17.21",
"mitt": "^3.0.1",
"mockjs": "^1.1.0",
"naive-ui": "^2.38.1",
"naive-ui": "^2.38.2",
"pinia": "^2.1.7",
"qs": "^6.12.0",
"qs": "^6.12.1",
"vfonts": "^0.0.3",
"vue": "^3.4.21",
"vue-router": "^4.3.0",
"vue": "^3.4.27",
"vue-router": "^4.3.2",
"vue-types": "^4.2.1"
},
"devDependencies": {
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@types/lodash": "^4.17.0",
"@types/node": "^18.19.31",
"@types/lodash": "^4.17.1",
"@types/node": "^18.19.33",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@vitejs/plugin-vue": "^3.2.0",
"@vitejs/plugin-vue-jsx": "^2.1.1",
"@vue/compiler-sfc": "^3.4.21",
"@vue/compiler-sfc": "^3.4.27",
"@vue/eslint-config-typescript": "^11.0.3",
"autoprefixer": "^10.4.19",
"commitizen": "^4.3.0",
"core-js": "^3.36.1",
"core-js": "^3.37.0",
"cross-env": "^7.0.3",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
@@ -69,7 +67,7 @@
"eslint-define-config": "1.12.0",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.24.1",
"eslint-plugin-vue": "^9.26.0",
"esno": "^0.16.3",
"gh-pages": "^4.0.0",
"husky": "^8.0.3",