From 1832b8a035ba6ed663caf1fb05e3a3da9663f7ea Mon Sep 17 00:00:00 2001 From: pany <939630029@qq.com> Date: Fri, 26 Aug 2022 21:46:26 +0800 Subject: [PATCH] chore: updates all dependencies --- .env.development | 3 + .env.production | 3 + .env.staging | 3 + package.json | 8 +- pnpm-lock.yaml | 194 +++++++++++++++++++++++------------------------ 5 files changed, 110 insertions(+), 101 deletions(-) diff --git a/.env.development b/.env.development index 6cc7f2f4..19e56962 100644 --- a/.env.development +++ b/.env.development @@ -2,9 +2,12 @@ NODE_ENV = development # 下面是自定义的环境变量,可以修改(命名必须以 VITE_ 开头) + # 后端接口公共路径 VITE_BASE_API = 'https://vue-typescript-admin-mock-server-armour.vercel.app/mock-api/v1' + # 路由模式 hash 或 html5 VITE_ROUTER_HISTORY = 'hash' + # 开发环境地址前缀(一般 '/','./' 都可以) VITE_PUBLIC_PATH = '/' diff --git a/.env.production b/.env.production index d4764747..bbc17b03 100644 --- a/.env.production +++ b/.env.production @@ -2,9 +2,12 @@ NODE_ENV = production # 下面是自定义的环境变量,可以修改(命名必须以 VITE_ 开头) + # 后端接口公共路径 VITE_BASE_API = 'https://vue-typescript-admin-mock-server-armour.vercel.app/mock-api/v1' + # 路由模式 hash 或 html5 VITE_ROUTER_HISTORY = 'hash' + # 打包路径(就是网站前缀,例如部署到 https://un-pany.github.io/v3-admin-vite/ 域名下,就需要填写 /v3-admin-vite/) VITE_PUBLIC_PATH = '/v3-admin-vite/' diff --git a/.env.staging b/.env.staging index 69bcab42..1f1a8ad8 100644 --- a/.env.staging +++ b/.env.staging @@ -2,9 +2,12 @@ NODE_ENV = production # 下面是自定义的环境变量,可以修改(命名必须以 VITE_ 开头) + # 后端接口公共路径 VITE_BASE_API = 'https://vue-typescript-admin-mock-server-armour.vercel.app/mock-api/v1' + # 路由模式 hash 或 html5 VITE_ROUTER_HISTORY = 'hash' + #打包路径(就是网站前缀,例如部署到 https://un-pany.github.io/v3-admin-vite/ 域名下,就需要填写 /v3-admin-vite/) VITE_PUBLIC_PATH = '/v3-admin-vite/' diff --git a/package.json b/package.json index 99f0b7a7..a066b8eb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "v3-admin-vite", - "version": "3.1.11", + "version": "3.2.0", "description": "一个免费开源的中后台管理系统基础解决方案,基于 Vue3、TypeScript、Element-Plus、Pinia 和 Vite 等主流技术.", "author": { "name": "pany", @@ -33,10 +33,10 @@ "nprogress": "^0.2.0", "path-browserify": "^1.0.1", "path-to-regexp": "^6.2.1", - "pinia": "^2.0.20", + "pinia": "^2.0.21", "screenfull": "^6.0.2", "vue": "^3.2.37", - "vue-router": "^4.1.4" + "vue-router": "^4.1.5" }, "devDependencies": { "@types/js-cookie": "^3.0.2", @@ -58,7 +58,7 @@ "sass": "^1.54.5", "terser": "^5.15.0", "typescript": "^4.8.2", - "unocss": "^0.45.12", + "unocss": "^0.45.13", "vite": "^3.0.9", "vite-plugin-svg-icons": "^2.0.1", "vue-eslint-parser": "^9.0.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e05c5f2c..bec2ee09 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -26,18 +26,18 @@ specifiers: nprogress: ^0.2.0 path-browserify: ^1.0.1 path-to-regexp: ^6.2.1 - pinia: ^2.0.20 + pinia: ^2.0.21 prettier: ^2.7.1 sass: ^1.54.5 screenfull: ^6.0.2 terser: ^5.15.0 typescript: ^4.8.2 - unocss: ^0.45.12 + unocss: ^0.45.13 vite: ^3.0.9 vite-plugin-svg-icons: ^2.0.1 vue: ^3.2.37 vue-eslint-parser: ^9.0.3 - vue-router: ^4.1.4 + vue-router: ^4.1.5 vue-tsc: ^0.40.1 dependencies: @@ -51,10 +51,10 @@ dependencies: nprogress: 0.2.0 path-browserify: 1.0.1 path-to-regexp: 6.2.1 - pinia: 2.0.20_bw4xur2vyhvhfd4whxbr7emp4u + pinia: 2.0.21_bw4xur2vyhvhfd4whxbr7emp4u screenfull: 6.0.2 vue: 3.2.37 - vue-router: 4.1.4_vue@3.2.37 + vue-router: 4.1.5_vue@3.2.37 devDependencies: '@types/js-cookie': 3.0.2 @@ -76,7 +76,7 @@ devDependencies: sass: 1.54.5 terser: 5.15.0 typescript: 4.8.2 - unocss: 0.45.12_vite@3.0.9 + unocss: 0.45.13_vite@3.0.9 vite: 3.0.9_sass@1.54.5+terser@5.15.0 vite-plugin-svg-icons: 2.0.1_vite@3.0.9 vue-eslint-parser: 9.0.3_eslint@8.22.0 @@ -462,24 +462,24 @@ packages: eslint-visitor-keys: 3.3.0 dev: true - /@unocss/astro/0.45.12_vite@3.0.9: - resolution: {integrity: sha512-1j4+piseVWxr4OeeLQkFfAA1NW+spzVXtcr7PleRq6cHDYhZd5ZE+NqDeWXhhkT/hVDmWKhFq4RPdEZ18EgioQ==} + /@unocss/astro/0.45.13_vite@3.0.9: + resolution: {integrity: sha512-XoJeBwMiQAfF6XpfoE26MOFfHaeszQ9goWIZcTs/3oaLoBZI36jGFVOTumG7ls4X3Pl4tDS/SB7jn078aWBOhQ==} dependencies: - '@unocss/core': 0.45.12 - '@unocss/reset': 0.45.12 - '@unocss/vite': 0.45.12_vite@3.0.9 + '@unocss/core': 0.45.13 + '@unocss/reset': 0.45.13 + '@unocss/vite': 0.45.13_vite@3.0.9 transitivePeerDependencies: - vite dev: true - /@unocss/cli/0.45.12: - resolution: {integrity: sha512-wpwTFF1FbsAIOh5qs0rzxs/1xHnogVEebSXxaafGXli8rl0v1U7XE2Hmv9NgeP8SoDe/hE/iscGj7rvosgRdOA==} + /@unocss/cli/0.45.13: + resolution: {integrity: sha512-X6D0VJ8OPY+1QxIMSIn/j/1I7vzVXAqiCL9lJ5DUAJFgLsKUunwb7NH3YiH+1BPwDxd+iiyv3eY1aqFxORVBAA==} engines: {node: '>=14'} hasBin: true dependencies: - '@unocss/config': 0.45.12 - '@unocss/core': 0.45.12 - '@unocss/preset-uno': 0.45.12 + '@unocss/config': 0.45.13 + '@unocss/core': 0.45.13 + '@unocss/preset-uno': 0.45.13 cac: 6.7.12 chokidar: 3.5.3 colorette: 2.0.19 @@ -489,126 +489,126 @@ packages: perfect-debounce: 0.1.3 dev: true - /@unocss/config/0.45.12: - resolution: {integrity: sha512-Fjj7OH+X8vPmw+odXYESP9bXl7Fw62ks4dlDejFyJOFG+g8MMxuVMu2LinJf+rdiVO203p7MqN6FUSEBOOoy8Q==} + /@unocss/config/0.45.13: + resolution: {integrity: sha512-LprNWU3AHaiVpYzmdHei/p67XNtHteyClB66L7eoNumTvztFcEooNWxP3lhrrEq2JuzfL8iqLpIVbbyFW7fQtA==} engines: {node: '>=14'} dependencies: - '@unocss/core': 0.45.12 + '@unocss/core': 0.45.13 unconfig: 0.3.5 dev: true - /@unocss/core/0.45.12: - resolution: {integrity: sha512-21ri/IF/r82lYJTSZ8kBwesSPysaMopMbPy6AtHgCQIHQPsdx6lOzg9Wq5rh+5IjXywXSmuRMuHiYSPjI0yxdw==} + /@unocss/core/0.45.13: + resolution: {integrity: sha512-EesxqFM6lPA6Ot5X4cyRcjJQsgpztrNFpxpu4HBIzbZvXLcoeG97bcLTASGSHPGWeL4baq0ur/47lM42dtjiMQ==} dev: true - /@unocss/inspector/0.45.12: - resolution: {integrity: sha512-Z7QVaZ4t7KnUZAQLaqitk9bWmTFW9f9sJRmxc6qUPi0DsVRFBxth4u61LHyEUT0lIDm7+1smzp42hc9M+6yutg==} + /@unocss/inspector/0.45.13: + resolution: {integrity: sha512-2BMfCrLwjYFyZ9BXRshFLfpNq9mqYwWTy3SNNWfC/Vx/jDL+fYvbJy5s1QTpB6spHTJt2WWgN9HGkFtDMa7Ebw==} dependencies: gzip-size: 6.0.0 sirv: 2.0.2 dev: true - /@unocss/preset-attributify/0.45.12: - resolution: {integrity: sha512-Ypo0Y+2upQkjuNw6KCwzWgvQKbLyrKlLiFxSLdJ9DtHyWFSMHe6Ue9mI73pyqKSYngb5UHTSmdfs0+FbWGPmlQ==} + /@unocss/preset-attributify/0.45.13: + resolution: {integrity: sha512-vEclkLqTNJjpgPrLJg0FR1ItQYTsua1XNDqUaNVypNC5LHcVO5AgJxwVGnMQTQpcK5Lx+9MM2F3tmIfLJR3KgA==} dependencies: - '@unocss/core': 0.45.12 + '@unocss/core': 0.45.13 dev: true - /@unocss/preset-icons/0.45.12: - resolution: {integrity: sha512-ttoQHT76hLXF++oLgORCwi4+SpSGURkrcPm9PjavnQtLaItBHgFNEp2dPw4aJl+8njsY/YAHg6QrqZ7ItE7h1Q==} + /@unocss/preset-icons/0.45.13: + resolution: {integrity: sha512-f84rjUzbjL8j2gemygKMQ6H+8q9rSL86v9y2I6Xc8tI8D9vZeOrObsaHrfZutgFNlCmWsslPdtjB8PlHZ5gMMw==} dependencies: '@iconify/utils': 1.0.33 - '@unocss/core': 0.45.12 + '@unocss/core': 0.45.13 ohmyfetch: 0.4.18 transitivePeerDependencies: - supports-color dev: true - /@unocss/preset-mini/0.45.12: - resolution: {integrity: sha512-2t+ia6CRnzYJQ9WSGpJgc6GOYY4BXU55TI7YdZMhNLB4+2fHt699W/EzEb8pAo+dHRcJob71Wu5RrGpF6F+HvA==} + /@unocss/preset-mini/0.45.13: + resolution: {integrity: sha512-aHnVtVu0twY0m/SzTzOLniFiBDHx1PaewJRfRdqeJdTu5d+FeWK9XA/kXudWBTvRSxOKz2yQJw3kReCVit8ueQ==} dependencies: - '@unocss/core': 0.45.12 + '@unocss/core': 0.45.13 dev: true - /@unocss/preset-tagify/0.45.12: - resolution: {integrity: sha512-/tNYR9IU25HJsFEafsm6JltTmhU923ntopd4GjRSgdvniCeFTAwOsrBk/5qH0VELmJmY1veGePrTH3eocP6mgA==} + /@unocss/preset-tagify/0.45.13: + resolution: {integrity: sha512-8gI6YGuoG99OKQv3lYklIsFmwy7N8a+NP8hVWjUfC85/kDJSIPR8BZs/eyr7vr20EkvDrTaFyRymrAAPyXVG1Q==} dependencies: - '@unocss/core': 0.45.12 + '@unocss/core': 0.45.13 dev: true - /@unocss/preset-typography/0.45.12: - resolution: {integrity: sha512-7K7uI8fQJ7lk15roFS1Nc3OgPerfYah3qcmc+Zmny+2oVXmN1u0aABL6daELvvS4lsXqd+j+GHdTphNaGgSfNw==} + /@unocss/preset-typography/0.45.13: + resolution: {integrity: sha512-zOivg+03ejd4cPWy37loItQkFh0y+snjfYvSDlaAkiZNpVltUe5qp+fD4dekC8RJvdgJcW727277nQnflF9JLA==} dependencies: - '@unocss/core': 0.45.12 + '@unocss/core': 0.45.13 dev: true - /@unocss/preset-uno/0.45.12: - resolution: {integrity: sha512-NkOHtzl/k81++I9y3rZV6SecHkp0bcF6bKTwNO4fDOStfarvg8NFgRR03K25Dc+2Jm/KTgT0OvOUplCTht6Xiw==} + /@unocss/preset-uno/0.45.13: + resolution: {integrity: sha512-j5ZdguEVHmJ105MimxvietXknYYA/Xii1+YAmr61NSHLBWGJqrwMGzYqko3tYXndB6jv8YWjq9CEB7U6SaTxdw==} dependencies: - '@unocss/core': 0.45.12 - '@unocss/preset-mini': 0.45.12 - '@unocss/preset-wind': 0.45.12 + '@unocss/core': 0.45.13 + '@unocss/preset-mini': 0.45.13 + '@unocss/preset-wind': 0.45.13 dev: true - /@unocss/preset-web-fonts/0.45.12: - resolution: {integrity: sha512-oBALsG7Q16R9v3mUMVQ9loaj68QlM3Ow1q+wytkCoc8FjAMP6fx6isuta+FBYpH/h8rpD4TVMKbImS+KLAczfA==} + /@unocss/preset-web-fonts/0.45.13: + resolution: {integrity: sha512-tY9w5zvUU5p97wzJXa7qiN7HIl9t5Gr2TTAk6wdNpqU9BWkdO+eQEXV2/3djO50CS7tmIw/JdL7GtYrS466MbA==} dependencies: - '@unocss/core': 0.45.12 + '@unocss/core': 0.45.13 ohmyfetch: 0.4.18 dev: true - /@unocss/preset-wind/0.45.12: - resolution: {integrity: sha512-xZ8GNKEr4xWdbffBVgSxsWI86IMU/akvuDXMDBeA3C+yrkQFrohMn077ztF9PypXP6/CzTLtSc2x5HyHdFNQyA==} + /@unocss/preset-wind/0.45.13: + resolution: {integrity: sha512-tmF8Gnmskc8B0uElaN3D9Ir/RvKfoVmhn5oKtny1rXpjpFBZsYlNYwUxzXWayH+Fzo//yppAx0FkmRxxIqOhmA==} dependencies: - '@unocss/core': 0.45.12 - '@unocss/preset-mini': 0.45.12 + '@unocss/core': 0.45.13 + '@unocss/preset-mini': 0.45.13 dev: true - /@unocss/reset/0.45.12: - resolution: {integrity: sha512-4HldzkLErjp90W9RMkMgnDbFQzZNz+cpLTB/3Wnj9UqvIBYAZ+gfZ7Y7YEntFKmHLMV1W+6emnuMNI4qS3B0Jg==} + /@unocss/reset/0.45.13: + resolution: {integrity: sha512-BLnmfZNMNRu+qKNMm0v0xccGg8qEj4nLBKCGW739871qduN28KfqztYnY3UfGy6CJGIyMyZRI7lElhkjWO2NhA==} dev: true - /@unocss/scope/0.45.12: - resolution: {integrity: sha512-BiGm4OUOhrN/woql/daUtj+jL74IuqwCrMp5m5pBGZ8JGtb0k5qWd4yOZLJllvjTJ3Im5AMFGQCbE9h6Oez+Ag==} + /@unocss/scope/0.45.13: + resolution: {integrity: sha512-HJuvQVUGqAad/rPUqtjjza8yMMZTpPpVPg47w3jRUnoIS2DOVg/Ko7W3EEa+174hG2MrpoCcQLMu/o0QcYVCDg==} dev: true - /@unocss/transformer-attributify-jsx/0.45.12: - resolution: {integrity: sha512-Kg6PyT8qlJvIwHHQNI9c3ukXJW1vsIXeC/5zCv4jEt3FT9W/WqoCVSGNwkubrEot9iNqelNGFnpv0AziCzExrw==} + /@unocss/transformer-attributify-jsx/0.45.13: + resolution: {integrity: sha512-ajw/3VPhJv4nJg/UgNQpdhOrF+6xGiGYD5UvsCyhJAFl4BHu10agylRXDd+37e7nHgjA+YB5+621zQ34J2o7Wg==} dependencies: - '@unocss/core': 0.45.12 + '@unocss/core': 0.45.13 dev: true - /@unocss/transformer-compile-class/0.45.12: - resolution: {integrity: sha512-xbbvdzjW2Q3iiZrH8/yCIgDlk0tcOOtq+qUvufuacSE3QmrYCI4tx2pNoFy1RrZc6snbWM4qH7QOPiHTFafC0w==} + /@unocss/transformer-compile-class/0.45.13: + resolution: {integrity: sha512-dfQKhJN/cS77YOTQ4O4uQJgFfy+adkKZBOYxa+9qJ22t/7q29Hge6fHQG+2R1c3B8OZjrpbq6X3EjRtsbD12Jw==} dependencies: - '@unocss/core': 0.45.12 + '@unocss/core': 0.45.13 dev: true - /@unocss/transformer-directives/0.45.12: - resolution: {integrity: sha512-VRUNAgWtBtrTTJPiUVoSbuFgJnr7ema00nRtOG9L1+YF27hBUQvIn/u5rkADY+R+j4+iUi2CUD/Recywk6WR8A==} + /@unocss/transformer-directives/0.45.13: + resolution: {integrity: sha512-qEBj3zw06cFFUv4+P36ZKw0YKjNt/H9q2IivEOoQETxAiYAH+1ZfHP5gb1lPGSYQYoWHIGVezp56OGQcv7qkwQ==} dependencies: - '@unocss/core': 0.45.12 + '@unocss/core': 0.45.13 css-tree: 2.2.1 dev: true - /@unocss/transformer-variant-group/0.45.12: - resolution: {integrity: sha512-ZyvCF63gs6pRm+SxZ7Ixg9uwIYHnKiT7XaTXVWqh/TPDtBm2AGZ+cVIvuPk7ekiofVHSh+iPFJJDTK/WT1rvZg==} + /@unocss/transformer-variant-group/0.45.13: + resolution: {integrity: sha512-A1PoS9ijg9x/3Pu8vsBjdlAPLNKKAwFQSyVxFyQsLVG+0IEcqA/s7sRYam3QqM8RLn6lft4QPJ+q/K0+dJ84/A==} dependencies: - '@unocss/core': 0.45.12 + '@unocss/core': 0.45.13 dev: true - /@unocss/vite/0.45.12_vite@3.0.9: - resolution: {integrity: sha512-6DRU4Kv0+oKqvTS6fPG5rtI2cfexPCGoCY5OgYEeN6uaDzoINBl1ULaWe8ycSuCdQvAC5NRpSX9bC4LYH0Fb1Q==} + /@unocss/vite/0.45.13_vite@3.0.9: + resolution: {integrity: sha512-uh9tGBhDX79j5tmTSsP2YBr6tplKx5ZWq/am+H9gNLLQjOo/YAMpLNyJsSvTQq0/TplxMarfXiWOmNFMMCiFjw==} peerDependencies: vite: ^2.9.0 || ^3.0.0-0 dependencies: '@ampproject/remapping': 2.2.0 '@rollup/pluginutils': 4.2.1 - '@unocss/config': 0.45.12 - '@unocss/core': 0.45.12 - '@unocss/inspector': 0.45.12 - '@unocss/scope': 0.45.12 - '@unocss/transformer-directives': 0.45.12 + '@unocss/config': 0.45.13 + '@unocss/core': 0.45.13 + '@unocss/inspector': 0.45.13 + '@unocss/scope': 0.45.13 + '@unocss/transformer-directives': 0.45.13 magic-string: 0.26.2 vite: 3.0.9_sass@1.54.5+terser@5.15.0 dev: true @@ -2964,8 +2964,8 @@ packages: hasBin: true dev: true - /pinia/2.0.20_bw4xur2vyhvhfd4whxbr7emp4u: - resolution: {integrity: sha512-fdHHumXW/0U5HhxmY1emo3I4z85p8NJPdbtFQSlmJXFe3ktuF0pYNVgVtk2q+j2zCtTufY763xzaEMx0t6T59g==} + /pinia/2.0.21_bw4xur2vyhvhfd4whxbr7emp4u: + resolution: {integrity: sha512-6ol04PtL29O0Z6JHI47O3JUSoyOJ7Og0rstXrHVMZSP4zAldsQBXJCNF0i/H7m8vp/Hjd/CSmuPl7C5QAwpeWQ==} peerDependencies: '@vue/composition-api': ^1.4.0 typescript: '>=4.4.4' @@ -3652,32 +3652,32 @@ packages: engines: {node: '>= 10.0.0'} dev: true - /unocss/0.45.12_vite@3.0.9: - resolution: {integrity: sha512-XVsmWo/kXkpKBQZ2lPR4MYo4YGLyU2ioAWTD8Yxyy6lqODElZ0DQKHVFWWmAKHbUzFvNh14O+7IKM93R7uuZpQ==} + /unocss/0.45.13_vite@3.0.9: + resolution: {integrity: sha512-LNLfSN1kafeIJnEBG1aWlPDShZZN+szNfYCcz6iFnKP2rDwSQ2piFJ+ATn6EwT62DY3uGOoGmlPgxzHhbYKTSQ==} engines: {node: '>=14'} peerDependencies: - '@unocss/webpack': 0.45.12 + '@unocss/webpack': 0.45.13 peerDependenciesMeta: '@unocss/webpack': optional: true dependencies: - '@unocss/astro': 0.45.12_vite@3.0.9 - '@unocss/cli': 0.45.12 - '@unocss/core': 0.45.12 - '@unocss/preset-attributify': 0.45.12 - '@unocss/preset-icons': 0.45.12 - '@unocss/preset-mini': 0.45.12 - '@unocss/preset-tagify': 0.45.12 - '@unocss/preset-typography': 0.45.12 - '@unocss/preset-uno': 0.45.12 - '@unocss/preset-web-fonts': 0.45.12 - '@unocss/preset-wind': 0.45.12 - '@unocss/reset': 0.45.12 - '@unocss/transformer-attributify-jsx': 0.45.12 - '@unocss/transformer-compile-class': 0.45.12 - '@unocss/transformer-directives': 0.45.12 - '@unocss/transformer-variant-group': 0.45.12 - '@unocss/vite': 0.45.12_vite@3.0.9 + '@unocss/astro': 0.45.13_vite@3.0.9 + '@unocss/cli': 0.45.13 + '@unocss/core': 0.45.13 + '@unocss/preset-attributify': 0.45.13 + '@unocss/preset-icons': 0.45.13 + '@unocss/preset-mini': 0.45.13 + '@unocss/preset-tagify': 0.45.13 + '@unocss/preset-typography': 0.45.13 + '@unocss/preset-uno': 0.45.13 + '@unocss/preset-web-fonts': 0.45.13 + '@unocss/preset-wind': 0.45.13 + '@unocss/reset': 0.45.13 + '@unocss/transformer-attributify-jsx': 0.45.13 + '@unocss/transformer-compile-class': 0.45.13 + '@unocss/transformer-directives': 0.45.13 + '@unocss/transformer-variant-group': 0.45.13 + '@unocss/vite': 0.45.13_vite@3.0.9 transitivePeerDependencies: - supports-color - vite @@ -3800,8 +3800,8 @@ packages: - supports-color dev: true - /vue-router/4.1.4_vue@3.2.37: - resolution: {integrity: sha512-UgYen33gOtwT3cOG1+yRen+Brk9py8CSlC9LEa3UjvKZ4EAoSo8NjZPDeDnmNerfazorHIJG1NC7qdi1SuQJnQ==} + /vue-router/4.1.5_vue@3.2.37: + resolution: {integrity: sha512-IsvoF5D2GQ/EGTs/Th4NQms9gd2NSqV+yylxIyp/OYp8xOwxmU8Kj/74E9DTSYAyH5LX7idVUngN3JSj1X4xcQ==} peerDependencies: vue: ^3.2.0 dependencies: