Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-19 02:19:20 +08:00

chore: upgrade pnpm and dependencies

This commit is contained in:
pany 2025-02-06 11:02:19 +08:00
parent 010dbcbfe0
commit c84b7bcca1
6 changed files with 546 additions and 563 deletions

View File

@ -22,7 +22,7 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 9.15.0
version: 10.2.0
- name: Build
run: pnpm install && pnpm build

View File

@ -37,7 +37,7 @@ V3 Admin Vite is a free and open-source foundational solution for backend manage
- Latest version of `Visual Studio Code`
- Install the recommended plugins in the `.vscode/extensions.json` file
- `node` 20.x or 22+
- `pnpm` 9+
- `pnpm` 9.x or 10+
</details>

View File

@ -37,7 +37,7 @@ V3 Admin Vite 是一个免费开源的中后台管理系统基础解决方案,
- 新版 `Visual Studio Code`
- 安装 `.vscode/extensions.json` 文件中推荐的插件
- `node` 20.x 或 22+
- `pnpm` 9+
- `pnpm` 9.x 或 10+
</details>

View File

@ -33,29 +33,29 @@
"vxe-table": "4.6.25"
},
"devDependencies": {
"@antfu/eslint-config": "3.16.0",
"@antfu/eslint-config": "4.1.1",
"@types/js-cookie": "3.0.6",
"@types/lodash-es": "4.17.12",
"@types/node": "22.10.7",
"@types/node": "22.13.1",
"@types/nprogress": "0.2.3",
"@types/path-browserify": "1.0.3",
"@vitejs/plugin-vue": "5.2.1",
"@vitejs/plugin-vue-jsx": "4.1.1",
"@vue/test-utils": "2.4.6",
"eslint": "9.18.0",
"eslint": "9.19.0",
"eslint-plugin-format": "1.0.1",
"happy-dom": "16.7.2",
"happy-dom": "17.0.0",
"husky": "9.1.7",
"lint-staged": "15.4.1",
"lint-staged": "15.4.3",
"sass": "1.78.0",
"typescript": "5.7.3",
"unocss": "65.4.3",
"unplugin-auto-import": "19.0.0",
"unplugin-svg-component": "0.12.1",
"unplugin-vue-components": "28.0.0",
"vite": "6.0.11",
"vite": "6.1.0",
"vite-svg-loader": "5.1.0",
"vitest": "3.0.3",
"vitest": "3.0.5",
"vue-tsc": "2.2.0"
},
"lint-staged": {

1086
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,6 @@
import type { Handler } from "mitt"
import type { RouteLocationNormalized } from "vue-router"
import mitt, { type Handler } from "mitt"
import mitt from "mitt"
/** 回调函数的类型 */
type Callback = (route: RouteLocationNormalized) => void