Files
谦元吉 53bdd9f2ef 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
2026-03-06 14:50:16 +09:00

54 lines
1.4 KiB
JSON

{
"type": "module",
"private": true,
"packageManager": "pnpm@10.30.3",
"scripts": {
"build": "vite build",
"dev": "vite --port 3333 --open",
"lint": "eslint .",
"typecheck": "vue-tsc",
"preview": "vite preview",
"test": "vitest",
"up": "taze major -I",
"postinstall": "npx simple-git-hooks"
},
"dependencies": {
"@vueuse/core": "catalog:frontend",
"vue": "catalog:frontend",
"vue-router": "catalog:frontend"
},
"devDependencies": {
"@antfu/eslint-config": "catalog:dev",
"@iconify-json/carbon": "catalog:build",
"@types/node": "catalog:dev",
"@unocss/eslint-plugin": "catalog:dev",
"@vitejs/plugin-vue": "catalog:build",
"@vue-macros/volar": "catalog:dev",
"@vue/test-utils": "catalog:dev",
"eslint": "catalog:dev",
"eslint-plugin-format": "catalog:dev",
"jsdom": "catalog:build",
"lint-staged": "catalog:dev",
"simple-git-hooks": "catalog:dev",
"taze": "catalog:dev",
"typescript": "catalog:dev",
"unocss": "catalog:build",
"unplugin-auto-import": "catalog:build",
"unplugin-vue-components": "catalog:build",
"unplugin-vue-macros": "catalog:build",
"vite": "catalog:build",
"vitest": "catalog:dev",
"vue-tsc": "catalog:dev"
},
"resolutions": {
"unplugin": "catalog:build",
"vite": "catalog:build"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}