chore: update dependencies and migrate to vue-router (#56)

* chore: update dependencies and migrate to vue-router

- Updated package versions in pnpm-workspace.yaml for build and dev dependencies.
- Added migration note for vue-router in src/pages/README.md.
- Created typed-router.d.ts for type definitions generated by vue-router.
- Modified tsconfig.json to include typed-router.d.ts.
- Updated vite.config.ts to use new vue-router imports and configured type definitions.

* fix: type fix

* fix: type fix

* fix:resolve typescript error
This commit is contained in:
谦元吉 authored and GitHub committed 2026-03-06 14:50:16 +09:00
1 parent 336870f372
commit 53bdd9f2ef
12 files changed
+3275 -2605

No files matched your search

+27 -24
View File
@@ -1,34 +1,37 @@
shellEmulator: true
trustPolicy: no-downgrade
packages: []
catalogs:
build:
'@iconify-json/carbon': ^1.2.9
'@vitejs/plugin-vue': ^5.2.4
jsdom: ^26.1.0
unocss: ^66.2.0
unplugin: ^2.3.5
unplugin-auto-import: ^19.3.0
unplugin-vue-components: ^28.7.0
'@iconify-json/carbon': ^1.2.19
'@vitejs/plugin-vue': ^6.0.4
jsdom: ^28.1.0
unocss: ^66.6.2
unplugin: ^3.0.0
unplugin-auto-import: ^21.0.0
unplugin-vue-components: ^31.0.0
unplugin-vue-macros: ^2.14.5
unplugin-vue-router: ^0.12.0
vite: ^6.3.5
vite: ^7.3.1
dev:
'@antfu/eslint-config': ^4.14.1
'@types/node': ^22.15.31
'@unocss/eslint-plugin': ^66.2.0
'@vue-macros/volar': ^3.0.0-beta.14
'@antfu/eslint-config': ^7.6.1
'@types/node': ^25.3.3
'@unocss/eslint-plugin': ^66.6.3
'@vue-macros/volar': ^3.1.2
'@vue/test-utils': ^2.4.6
eslint: ^9.28.0
eslint-plugin-format: ^1.0.1
lint-staged: ^16.1.0
simple-git-hooks: ^2.13.0
taze: ^19.1.0
typescript: ^5.8.3
vitest: ^3.2.3
vue-tsc: ^2.2.10
eslint: ^10.0.2
eslint-plugin-format: ^2.0.1
lint-staged: ^16.3.1
simple-git-hooks: ^2.13.1
taze: ^19.9.2
typescript: ^5.9.3
vitest: ^4.0.18
vue-tsc: ^3.2.5
frontend:
'@vueuse/core': ^13.3.0
vue: ^3.5.16
vue-router: ^4.5.1
'@vueuse/core': ^14.2.1
vue: ^3.5.29
vue-router: ^5.0.3
onlyBuiltDependencies:
- esbuild
- simple-git-hooks