更新依赖版本

This commit is contained in:
洛洛希雅Lolosia 2023-06-25 15:05:43 +08:00
parent e27e52fa96
commit dbf7b68027
6 changed files with 48 additions and 41761 deletions

View File

@ -1,5 +0,0 @@
#!/bin/sh
#. "$(dirname "$0")/_/husky.sh"
#在项目中我们会使用commit-msg这个git hook来校验我们commit时添加的备注信息是否符合规范。在以前的我们通常是这样配置
#--no-install 参数表示强制npx使用项目中node_modules目录中的commitlint包(如果需要开启注意需要安装npx)
#npx --no-install commitlint --edit $1

View File

@ -1,8 +0,0 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
#推送之前运行eslint检查
npm run lint
#推送之前运行单元测试检查
#npm run test:unit

41705
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -12,95 +12,98 @@
"preview:build": "npm run build && vite preview ",
"preview": "vite preview ",
"lint": "eslint --ext .js,.jsx,.vue,.ts,.tsx src --fix",
"prepare": "husky install",
"test:unit": "vue-cli-service test:unit",
"test:watchAll": "vue-cli-service test:unit --watchAll",
"test:cov": "vue-cli-service test:unit --coverage",
"test:majestic": "majestic",
"vitest": "vitest --ui",
"tsc-check": "tsc",
"coverage": "vitest run --coverage"
"coverage": "vitest run --coverage",
"preinstall": "only-allow pnpm"
},
"dependencies": {
"@element-plus/icons-vue": "^2.0.4",
"@types/uuid": "^9.0.1",
"axios": "^1.1.3",
"bootstrap-icons": "^1.10.3",
"@element-plus/icons-vue": "^2.1.0",
"axios": "^1.4.0",
"bootstrap-icons": "^1.10.5",
"d3": "7.2.1",
"driver.js": "^0.9.8",
"echarts": "^5.4.0",
"element-plus": "^2.2.9",
"js-error-collection": "^1.0.7",
"echarts": "^5.4.2",
"element-plus": "^2.3.7",
"hash.js": "^1.1.7",
"js-error-collection": "^1.0.8",
"mitt": "3.0.0",
"moment-mini": "2.22.1",
"nprogress": "0.2.0",
"path-browserify": "^1.0.1",
"path-to-regexp": "^6.2.1",
"pinia": "^2.0.16",
"pinia": "^2.1.4",
"pinia-plugin-persistedstate": "2.3.0",
"screenfull": "^6.0.2",
"sortablejs": "1.15.0",
"splitpanes": "^3.1.1",
"tinymce": "^6.1.0",
"splitpanes": "^3.1.5",
"tinymce": "^6.5.1",
"uuid": "^9.0.0",
"only-allow": "^1.1.1",
"vite-plugin-vue-setup-extend": "^0.4.0",
"vue": "^3.2.37",
"vue": "^3.3.4",
"vue-clipboard3": "^2.0.0",
"vue-cropper": "next",
"vue-i18n": "9.1.10",
"vue-router": "^4.1.5",
"vxe-table": "^4.3.5",
"xe-utils": "^3.5.6",
"vue-router": "^4.2.2",
"vxe-table": "^4.4.2",
"xe-utils": "^3.5.11",
"xlsx": "^0.18.5"
},
"devDependencies": {
"@babel/eslint-parser": "7.16.3",
"@tinymce/tinymce-vue": "^5.0.0",
"@babel/eslint-parser": "^7.22.5",
"@types/mockjs": "1.0.6",
"@types/node": "^17.0.35",
"@tinymce/tinymce-vue": "^5.1.0",
"@types/node": "^17.0.45",
"@types/path-browserify": "^1.0.0",
"@types/uuid": "^9.0.2",
"@typescript-eslint/eslint-plugin": "5.53.0",
"@typescript-eslint/parser": "5.53.0",
"@vitejs/plugin-legacy": "^2.2.0",
"@vitejs/plugin-vue": "^2.3.3",
"@vitejs/plugin-vue-jsx": "^2.0.1",
"@vitest/coverage-c8": "^0.22.1",
"@vitest/ui": "^0.22.1",
"@vitejs/plugin-legacy": "^4.0.5",
"@vitejs/plugin-vue": "^4.2.3",
"@vitejs/plugin-vue-jsx": "^3.0.1",
"@vitest/coverage-c8": "^0.32.2",
"@vitest/ui": "^0.32.2",
"@vue-macros/reactivity-transform": "^0.3.10",
"@vue/cli-plugin-unit-jest": "4.5.17",
"@vue/cli-service": "4.5.17",
"@vue/test-utils": "^2.0.2",
"@vueuse/core": "^8.7.5",
"@vue/cli-plugin-unit-jest": "^5.0.8",
"@vue/cli-service": "^5.0.8",
"@vue/test-utils": "^2.4.0",
"@vueuse/core": "^8.9.4",
"ejs": "^3.1.9",
"eslint": "8.18.0",
"eslint-config-prettier": "8.5.0",
"eslint-define-config": "1.5.1",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jsonc": "^2.3.0",
"eslint-plugin-jsonc": "^2.9.0",
"eslint-plugin-markdown": "^3.0.0",
"eslint-plugin-prettier": "4.1.0",
"eslint-plugin-unicorn": "^43.0.2",
"eslint-plugin-vue": "9.1.1",
"husky": "7.0.2",
"jsdom": "16.4.0",
"jsonc-eslint-parser": "^2.1.0",
"jsonc-eslint-parser": "^2.3.0",
"majestic": "1.8.1",
"mockjs": "1.1.0",
"prettier": "2.2.1",
"prettier": "^2.8.8",
"resize-observer-polyfill": "^1.5.1",
"rollup-plugin-visualizer": "^5.8.3",
"sass": "^1.52.1",
"rollup-plugin-visualizer": "^5.9.2",
"sass": "^1.63.6",
"svg-sprite-loader": "6.0.11",
"typescript": "^4.7.2",
"unocss": "^0.33.5",
"unplugin-auto-import": "^0.11.2",
"unplugin-vue-components": "^0.22.8",
"vite": "^4.0.2",
"vite-plugin-mkcert": "^1.7.2",
"vite-plugin-mock": "^2.9.6",
"terser": "^5.18.1",
"typescript": "^4.9.5",
"unocss": "^0.53.3",
"unplugin-auto-import": "^0.11.5",
"unplugin-vue-components": "^0.22.12",
"vite": "^4.3.9",
"vite-plugin-mkcert": "^1.15.0",
"vite-plugin-mock": "^2.9.8",
"vite-plugin-svg-icons": "^2.0.1",
"vitest": "^0.22.1",
"vue-tsc": "^0.34.16"
"vitest": "^0.32.2",
"vue-tsc": "^0.34.17"
},
"pnpm": {
"peerDependencyRules": {

View File

@ -11,6 +11,7 @@ declare module '@vue/runtime-core' {
Container: typeof import('@/components/AppPage.vue')['default']
ElSvgIcon: typeof import('./../src/components/ElSvgIcon.vue')['default']
IconSelector: typeof import('./../src/components/IconSelector.vue')['default']
MenuIcon: typeof import('./../src/components/MenuIcon.vue')['default']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
SvgIcon: typeof import('./../src/icons/SvgIcon.vue')['default']

View File

@ -1,6 +1,7 @@
import { defineConfig } from 'vitest/config'
import Vue from '@vitejs/plugin-vue'
import VueJsx from '@vitejs/plugin-vue-jsx'
// @ts-ignore
import DefineOptions from 'unplugin-vue-define-options/vite'
export default defineConfig({
plugins: [Vue(), VueJsx(), DefineOptions()],