chore: Update npm dependencies and configuration files
All checks were successful
CI / cache-and-install (push) Successful in 45s

This commit is contained in:
严浩
2024-08-06 09:49:53 +08:00
parent bccf75203b
commit 938fda2b3c
4 changed files with 526 additions and 48 deletions

View File

@ -14,15 +14,29 @@
"format": "prettier --write src/"
},
"dependencies": {
"@alova/adapter-axios": "^2.0.5",
"@vant/use": "^1.6.0",
"alova": "^3.0.5",
"axios": "^1.7.3",
"dayjs": "^1.11.12",
"jsencrypt": "^3.3.2",
"mitt": "^3.0.1",
"nprogress": "^0.2.0",
"page-stack-vue3": "^2.5.6",
"pinia": "^2.2.0",
"pinia-plugin-persistedstate": "^3.2.1",
"radash": "^12.1.0",
"tdesign-icons-vue-next": "^0.2.4",
"tdesign-mobile-vue": "^1.3.3",
"ts-enum-util": "^4.1.0",
"utils4u": "^1.0.24",
"vant": "^4.9.4",
"vue": "^3.4.35",
"vue-page-stack": "^3.2.0",
"vue-router": "^4.4.2"
},
"devDependencies": {
"@iconify/utils": "^2.1.30",
"@rushstack/eslint-patch": "^1.10.4",
"@tsconfig/node20": "^20.1.4",
"@types/jsdom": "^21.1.7",
@ -37,9 +51,11 @@
"@vue/eslint-config-typescript": "^13.0.0",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.5.1",
"@yanhao98/build-and-preview": "^1.0.1",
"eslint": "^8.57.0",
"eslint-plugin-vue": "^9.27.0",
"jsdom": "^24.1.1",
"less": "^4.2.0",
"npm-run-all2": "^6.2.2",
"prettier": "^3.3.3",
"typescript": "~5.5.4",
@ -51,5 +67,10 @@
"vite-plugin-vue-devtools": "^7.3.7",
"vitest": "^2.0.5",
"vue-tsc": "^2.0.29"
},
"pnpm": {
"patchedDependencies": {
"vue-router@4.4.2": "patches/vue-router@4.4.2.patch"
}
}
}

View File

@ -0,0 +1,13 @@
diff --git a/dist/vue-router.d.ts b/dist/vue-router.d.ts
index a66b6e0c627a9221a5394066666da49597891d07..19aa9d5c2d42a7221017265225d08c4467f1a69b 100644
--- a/dist/vue-router.d.ts
+++ b/dist/vue-router.d.ts
@@ -1751,7 +1751,7 @@ export { }
* NOTE: this used to be `@vue/runtime-core` but it should have been `vue` for a long time. Using both declaration at
* the same time breaks so using only one everywhere is the preferred way.
*/
-declare module 'vue' {
+declare module '@vue/runtime-core' {
export interface ComponentCustomOptions {
/**
* Guard called when the router is navigating to the route that is rendering

538
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,8 @@
{
"extends": "@vue/tsconfig/tsconfig.dom.json",
"include": [
"node_modules/vant/es/index.d.ts",
"node_modules/tdesign-vue-next/global.d.ts",
"./typed-router.d.ts",
"./auto-imports.d.ts",
"./components.d.ts",