Merge branch 'v2.0' into v2.0-refactoring

This commit is contained in:
apefuu 2024-09-03 21:06:10 +08:00
commit 1c8dd5e6d2
3 changed files with 9591 additions and 61 deletions

View File

@ -1,7 +1,7 @@
{
"name": "hotgo",
"type": "module",
"version": "2.15.7",
"version": "2.15.8",
"author": {
"name": "MengShuai",
"email": "133814250@qq.com",
@ -9,106 +9,116 @@
},
"private": true,
"scripts": {
"bootstrap": "yarn install",
"serve": "npm run dev",
"bootstrap": "pnpm install",
"serve": "pnpm run dev",
"dev": "vite",
"build": "vite build && esno ./build/script/postBuild.ts",
"build:no-cache": "yarn 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",
"build typecheck": "vuedx-typecheck . && vite build",
"test prod gzip": "http-server dist --cors --gzip -c-1"
},
"dependencies": {
"@vicons/antd": "^0.12.0",
"@vicons/ionicons5": "^0.12.0",
"@vue/runtime-core": "^3.4.21",
"@vue/runtime-core": "^3.4.38",
"@vueup/vue-quill": "^1.2.0",
"@vueuse/core": "^10.9.0",
"axios": "^1.7.2",
"date-fns": "^2.30.0",
"@vueuse/core": "^11.0.3",
"axios": "^1.7.7",
"blueimp-md5": "^2.19.0",
"date-fns": "^3.6.0",
"echarts": "^5.5.1",
"element-resize-detector": "^1.2.4",
"fingerprintjs2": "^2.1.4",
"highlight.js": "^11.8.0",
"highlight.js": "^11.10.0",
"lodash-es": "^4.17.21",
"mint-filter": "^4.0.3",
"mitt": "^3.0.1",
"naive-ui": "^2.39.0",
"pinia": "^2.1.7",
"pinyin-pro": "^3.16.3",
"pinia": "^2.2.2",
"pinyin-pro": "^3.24.2",
"print-js": "^1.6.0",
"qrcode.vue": "3.3.3",
"qs": "^6.12.1",
"qrcode.vue": "3.4.1",
"qs": "^6.13.0",
"quill-image-uploader": "^1.3.0",
"quill-magic-url": "^4.2.0",
"spark-md5": "^3.0.2",
"throttle-debounce": "^5.0.0",
"vue": "^3.4.31",
"vue-router": "^4.4.0",
"vue-types": "^4.2.1",
"vue-waterfall-plugin-next": "^2.2.3",
"throttle-debounce": "^5.0.2",
"vfonts": "^0.0.3",
"vue": "^3.4.38",
"vue-router": "^4.4.3",
"vue-types": "^5.1.3",
"vue-waterfall-plugin-next": "^2.6.0",
"vue3-json-viewer": "^2.2.2",
"vuedraggable": "^4.1.0",
"weixin-js-sdk": "^1.6.0"
"weixin-js-sdk": "^1.6.5"
},
"devDependencies": {
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@types/lodash": "^4.17.6",
"@types/node": "^18.19.39",
"@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.31",
"@vue/eslint-config-typescript": "^11.0.3",
"autoprefixer": "^10.4.19",
"@commitlint/cli": "^19.4.1",
"@commitlint/config-conventional": "^19.4.1",
"@types/lodash": "^4.17.7",
"@types/node": "^22.5.2",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"@vitejs/plugin-vue": "^5.1.3",
"@vitejs/plugin-vue-jsx": "^4.0.1",
"@vue/compiler-sfc": "^3.4.38",
"@vue/eslint-config-typescript": "^13.0.0",
"autoprefixer": "^10.4.20",
"commitizen": "^4.3.0",
"core-js": "^3.37.1",
"core-js": "^3.38.1",
"cross-env": "^7.0.3",
"crypto-js": "^4.2.0",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.10.0",
"eslint-define-config": "1.12.0",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.26.0",
"esno": "^0.16.3",
"gh-pages": "^4.0.0",
"husky": "^8.0.3",
"eslint": "^9.9.1",
"eslint-config-prettier": "^9.1.0",
"eslint-define-config": "2.1.0",
"eslint-plugin-jest": "^28.8.2",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-vue": "^9.28.0",
"esno": "^4.7.0",
"gh-pages": "^6.1.1",
"husky": "^9.1.5",
"jest": "^29.7.0",
"less": "^4.2.0",
"less-loader": "^11.1.4",
"lint-staged": "^13.3.0",
"postcss": "^8.4.38",
"prettier": "^2.8.8",
"pretty-quick": "^3.3.1",
"rimraf": "^3.0.2",
"stylelint": "^14.16.1",
"less-loader": "^12.2.0",
"lint-staged": "^15.2.10",
"mockjs": "^1.1.0",
"npm-check-updates": "^17.1.1",
"postcss": "^8.4.44",
"prettier": "^3.3.3",
"pretty-quick": "^4.0.0",
"rimraf": "^6.0.1",
"stylelint": "^16.9.0",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-standard": "^29.0.0",
"stylelint-order": "^5.0.0",
"stylelint-scss": "^4.7.0",
"tailwindcss": "^3.4.4",
"typescript": "^5.3.0",
"unplugin-vue-components": "^0.22.12",
"vite": "^5.3.2",
"stylelint-config-standard": "^36.0.1",
"stylelint-order": "^6.0.4",
"stylelint-scss": "^6.5.1",
"tailwindcss": "^3.4.10",
"typescript": "^5.5.4",
"unplugin-vue-components": "^0.27.4",
"vite": "^5.4.2",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-html": "^3.2.2",
"vite-plugin-require-transform": "^1.0.5",
"vite-plugin-mock": "^3.0.2",
"vite-plugin-require-transform": "^1.0.21",
"vite-plugin-style-import": "^2.0.0",
"vite-plugin-top-level-await": "^1.2.2",
"vite-plugin-top-level-await": "^1.4.4",
"vite-plugin-vue-setup-extend": "^0.4.0",
"vue-eslint-parser": "^9.4.3"
"vue-demi": "^0.14.10",
"vue-draggable-next": "^2.2.1",
"vue-eslint-parser": "^9.4.3",
"vuedraggable": "^4.1.0"
},
"lint-staged": {
"*.{vue,js,ts,tsx}": "eslint --fix"

9520
web/pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -17,7 +17,7 @@
<script lang="ts">
import { defineComponent, ref } from 'vue';
import { useMessage } from 'naive-ui';
import { isYesterday, addDays } from 'date-fns/esm';
import { isYesterday, addDays } from 'date-fns';
export default defineComponent({
setup() {