|
@@ -1,6 +1,6 @@
|
|
{
|
|
{
|
|
"name": "vben-admin",
|
|
"name": "vben-admin",
|
|
- "version": "2.7.2",
|
|
|
|
|
|
+ "version": "2.8.0",
|
|
"author": {
|
|
"author": {
|
|
"name": "vben",
|
|
"name": "vben",
|
|
"email": "anncwb@126.com",
|
|
"email": "anncwb@126.com",
|
|
@@ -48,12 +48,12 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
"scripts": {
|
|
"scripts": {
|
|
- "bootstrap": "yarn install",
|
|
|
|
- "dev": "vite",
|
|
|
|
|
|
+ "bootstrap": "pnpm install",
|
|
"serve": "npm run dev",
|
|
"serve": "npm run dev",
|
|
|
|
+ "dev": "vite",
|
|
"build": "cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts",
|
|
"build": "cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts",
|
|
"build:test": "cross-env vite build --mode test && esno ./build/script/postBuild.ts",
|
|
"build:test": "cross-env vite build --mode test && esno ./build/script/postBuild.ts",
|
|
- "build:no-cache": "yarn clean:cache && npm run build",
|
|
|
|
|
|
+ "build:no-cache": "pnpm clean:cache && npm run build",
|
|
"dev:app": "esno ./build/script/startElectron.ts --env=development --watch",
|
|
"dev:app": "esno ./build/script/startElectron.ts --env=development --watch",
|
|
"build:app": "npm run build && esno ./build/script/startElectron.ts --env=production && electron-builder ",
|
|
"build:app": "npm run build && esno ./build/script/startElectron.ts --env=production && electron-builder ",
|
|
"report": "cross-env REPORT=true npm run build",
|
|
"report": "cross-env REPORT=true npm run build",
|
|
@@ -66,48 +66,53 @@
|
|
"lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
|
|
"lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
|
|
"lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
|
|
"lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
|
|
"lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
|
|
"lint:stylelint": "stylelint --cache --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",
|
|
|
|
|
|
+ "lint:lint-staged": "lint-staged",
|
|
"test:unit": "jest",
|
|
"test:unit": "jest",
|
|
- "test:unit-coverage": "jest --coverage",
|
|
|
|
- "test:gzip": "http-server dist --cors --gzip -c-1",
|
|
|
|
- "test:br": "http-server dist --cors --brotli -c-1",
|
|
|
|
- "reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
|
|
|
|
|
|
+ "test:gzip": "npx http-server dist --cors --gzip -c-1",
|
|
|
|
+ "test:br": "npx http-server dist --cors --brotli -c-1",
|
|
|
|
+ "reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
|
|
"prepare": "husky install",
|
|
"prepare": "husky install",
|
|
"gen:icon": "esno ./build/generate/icon/index.ts"
|
|
"gen:icon": "esno ./build/generate/icon/index.ts"
|
|
},
|
|
},
|
|
"dependencies": {
|
|
"dependencies": {
|
|
- "@iconify/iconify": "^2.0.4",
|
|
|
|
|
|
+ "@ant-design/colors": "^6.0.0",
|
|
|
|
+ "@ant-design/icons-vue": "^6.1.0",
|
|
"@logicflow/core": "^0.6.16",
|
|
"@logicflow/core": "^0.6.16",
|
|
"@logicflow/extension": "^0.6.16",
|
|
"@logicflow/extension": "^0.6.16",
|
|
|
|
+ "@iconify/iconify": "^2.2.1",
|
|
|
|
+ "@vue/runtime-core": "^3.2.31",
|
|
|
|
+ "@vue/shared": "^3.2.31",
|
|
"@vueuse/core": "^6.3.3",
|
|
"@vueuse/core": "^6.3.3",
|
|
- "@zxcvbn-ts/core": "^1.0.0-beta.0",
|
|
|
|
- "ant-design-vue": "2.2.7",
|
|
|
|
|
|
+ "@vueuse/shared": "^6.3.3",
|
|
|
|
+ "@zxcvbn-ts/core": "^2.0.1",
|
|
|
|
+ "ant-design-vue": "3.1.1",
|
|
"axios": "^0.21.4",
|
|
"axios": "^0.21.4",
|
|
"codemirror": "^5.62.3",
|
|
"codemirror": "^5.62.3",
|
|
"cropperjs": "^1.5.12",
|
|
"cropperjs": "^1.5.12",
|
|
"electron-is-dev": "^1.2.0",
|
|
"electron-is-dev": "^1.2.0",
|
|
"crypto-js": "^4.1.1",
|
|
"crypto-js": "^4.1.1",
|
|
|
|
+ "dayjs": "^1.11.0",
|
|
"echarts": "^5.2.0",
|
|
"echarts": "^5.2.0",
|
|
"intro.js": "^4.2.2",
|
|
"intro.js": "^4.2.2",
|
|
"lodash-es": "^4.17.21",
|
|
"lodash-es": "^4.17.21",
|
|
"mockjs": "^1.1.0",
|
|
"mockjs": "^1.1.0",
|
|
"nprogress": "^0.2.0",
|
|
"nprogress": "^0.2.0",
|
|
"path-to-regexp": "^6.2.0",
|
|
"path-to-regexp": "^6.2.0",
|
|
- "pinia": "2.0.0-rc.9",
|
|
|
|
|
|
+ "pinia": "2.0.12",
|
|
"print-js": "^1.6.0",
|
|
"print-js": "^1.6.0",
|
|
"qrcode": "^1.4.4",
|
|
"qrcode": "^1.4.4",
|
|
|
|
+ "qs": "^6.10.3",
|
|
"resize-observer-polyfill": "^1.5.1",
|
|
"resize-observer-polyfill": "^1.5.1",
|
|
"showdown": "^1.9.1",
|
|
"showdown": "^1.9.1",
|
|
"sortablejs": "^1.14.0",
|
|
"sortablejs": "^1.14.0",
|
|
"tinymce": "^5.9.2",
|
|
"tinymce": "^5.9.2",
|
|
- "vditor": "^3.8.6",
|
|
|
|
- "vue": "3.2.11",
|
|
|
|
- "vue-i18n": "9.1.7",
|
|
|
|
- "vue-json-pretty": "^2.0.4",
|
|
|
|
- "vue-router": "^4.0.11",
|
|
|
|
- "vue-types": "^4.1.0",
|
|
|
|
- "xlsx": "^0.17.1"
|
|
|
|
|
|
+ "vditor": "^3.8.13",
|
|
|
|
+ "vue": "^3.2.31",
|
|
|
|
+ "vue-i18n": "^9.1.9",
|
|
|
|
+ "vue-json-pretty": "^2.0.6",
|
|
|
|
+ "vue-router": "^4.0.14",
|
|
|
|
+ "vue-types": "^4.1.1",
|
|
|
|
+ "xlsx": "^0.18.5"
|
|
},
|
|
},
|
|
"devDependencies": {
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^13.1.0",
|
|
"@commitlint/cli": "^13.1.0",
|
|
@@ -144,7 +149,7 @@
|
|
"conventional-changelog-cli": "^2.1.1",
|
|
"conventional-changelog-cli": "^2.1.1",
|
|
"cross-env": "^7.0.3",
|
|
"cross-env": "^7.0.3",
|
|
"dotenv": "^10.0.0",
|
|
"dotenv": "^10.0.0",
|
|
- "electron": "^11.0.0",
|
|
|
|
|
|
+ "electron": "^18.0.0",
|
|
"electron-builder": "^22.8.0",
|
|
"electron-builder": "^22.8.0",
|
|
"electron-connect": "^0.6.3",
|
|
"electron-connect": "^0.6.3",
|
|
"electron-contextmenu-middleware": "^1.0.3",
|
|
"electron-contextmenu-middleware": "^1.0.3",
|
|
@@ -163,9 +168,12 @@
|
|
"is-ci": "^3.0.0",
|
|
"is-ci": "^3.0.0",
|
|
"jest": "^27.2.0",
|
|
"jest": "^27.2.0",
|
|
"less": "^4.1.1",
|
|
"less": "^4.1.1",
|
|
- "lint-staged": "^11.1.2",
|
|
|
|
|
|
+ "lint-staged": "12.3.7",
|
|
"npm-run-all": "^4.1.5",
|
|
"npm-run-all": "^4.1.5",
|
|
|
|
+ "picocolors": "^1.0.0",
|
|
"postcss": "^8.3.6",
|
|
"postcss": "^8.3.6",
|
|
|
|
+ "postcss-html": "^1.3.0",
|
|
|
|
+ "postcss-less": "^6.0.0",
|
|
"prettier": "^2.4.0",
|
|
"prettier": "^2.4.0",
|
|
"pretty-quick": "^3.1.1",
|
|
"pretty-quick": "^3.1.1",
|
|
"rimraf": "^3.0.2",
|
|
"rimraf": "^3.0.2",
|
|
@@ -178,15 +186,16 @@
|
|
"ts-jest": "^27.0.5",
|
|
"ts-jest": "^27.0.5",
|
|
"ts-node": "^10.2.1",
|
|
"ts-node": "^10.2.1",
|
|
"typescript": "4.4.3",
|
|
"typescript": "4.4.3",
|
|
- "vite": "2.5.7",
|
|
|
|
|
|
+ "vite": "^2.9.1",
|
|
"vite-plugin-compression": "^0.3.5",
|
|
"vite-plugin-compression": "^0.3.5",
|
|
- "vite-plugin-html": "^2.1.0",
|
|
|
|
|
|
+ "vite-plugin-html": "^3.2.0",
|
|
"vite-plugin-imagemin": "^0.4.5",
|
|
"vite-plugin-imagemin": "^0.4.5",
|
|
|
|
+ "vite-plugin-mkcert": "^1.6.0",
|
|
"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",
|
|
"vite-plugin-pwa": "^0.11.2",
|
|
"vite-plugin-pwa": "^0.11.2",
|
|
- "vite-plugin-style-import": "^1.2.1",
|
|
|
|
- "vite-plugin-svg-icons": "^1.0.4",
|
|
|
|
|
|
+ "vite-plugin-style-import": "^2.0.0",
|
|
|
|
+ "vite-plugin-svg-icons": "^2.0.1",
|
|
"vite-plugin-theme": "^0.8.1",
|
|
"vite-plugin-theme": "^0.8.1",
|
|
"wait-on": "^5.2.1",
|
|
"wait-on": "^5.2.1",
|
|
"vite-plugin-vue-setup-extend": "^0.1.0",
|
|
"vite-plugin-vue-setup-extend": "^0.1.0",
|
|
@@ -195,9 +204,9 @@
|
|
"vue-tsc": "^0.3.0"
|
|
"vue-tsc": "^0.3.0"
|
|
},
|
|
},
|
|
"resolutions": {
|
|
"resolutions": {
|
|
- "//": "Used to install imagemin dependencies, because imagemin may not be installed in China. If it is abroad, you can delete it",
|
|
|
|
"bin-wrapper": "npm:bin-wrapper-china",
|
|
"bin-wrapper": "npm:bin-wrapper-china",
|
|
- "rollup": "^2.56.3"
|
|
|
|
|
|
+ "rollup": "^2.56.3",
|
|
|
|
+ "gifsicle": "5.2.0"
|
|
},
|
|
},
|
|
"repository": {
|
|
"repository": {
|
|
"type": "git",
|
|
"type": "git",
|