Files
vitesse/pnpm-workspace.yaml
T
云游君 f648eecd1d feat: migrate from unplugin-vue-router to vue-router v5 (#563)
* feat: migrate from unplugin-vue-router to vue-router v5

* chore: update lock

* fix: resolve CI failures for vue-router v5 migration

- Fix ESLint import order in vite.config.ts
- Fix readonly routes type mismatch in src/main.ts by spreading routes array
- Upgrade vite to v7, vite-ssg to v28, beasties to v0.4, and other deps
- Update CI node matrix from [18.x, 20.x] to [20.x, 22.x]

* chore: upgrade vite-plugin-pwa and vitest

* fix: bump Node.js version to 22 for Iterator helpers support

vue-router v5 uses Iterator helpers (e.g. `seen.values().filter()`)
which require Node.js >= 22. Bump NODE_VERSION in netlify.toml from
20 to 22 to fix the Netlify build failure.
2026-02-25 16:36:23 +08:00

65 lines
1.5 KiB
YAML

packages: []
catalogs:
build:
'@intlify/unplugin-vue-i18n': ^6.0.5
'@shikijs/markdown-it': ^3.2.1
'@unocss/eslint-config': ^66.6.0
'@vitejs/plugin-vue': ^6.0.4
beasties: ^0.4.1
markdown-it-link-attributes: ^4.0.1
rollup: ^4.37.0
shiki: ^3.2.1
unocss: ^66.6.0
unplugin: ^2.2.2
unplugin-auto-import: ^19.1.2
unplugin-vue-components: ^28.4.1
unplugin-vue-macros: ^2.14.5
unplugin-vue-markdown: ^28.3.1
vite: ^7.3.1
vite-bundle-visualizer: ^1.2.1
vite-plugin-inspect: ^11.0.0
vite-plugin-pwa: ^1.2.0
vite-plugin-vue-devtools: ^7.7.2
vite-plugin-vue-layouts: ^0.11.0
vite-ssg: ^28.3.0
vite-ssg-sitemap: ^0.10.0
dev:
'@antfu/eslint-config': ^4.11.0
'@iconify-json/carbon': ^1.2.8
'@vue-macros/volar': ^3.1.2
'@vue/test-utils': ^2.4.6
cypress: ^14.2.1
cypress-vite: ^1.6.0
eslint: ^9.23.0
eslint-plugin-cypress: ^4.2.0
eslint-plugin-format: ^1.0.1
https-localhost: ^4.7.1
lint-staged: ^15.5.0
simple-git-hooks: ^2.12.1
taze: ^19.0.2
typescript: ^5.8.2
vitest: ^4.0.18
vue-tsc: ^3.2.4
frontend:
'@unhead/vue': ^2.0.2
'@unocss/reset': ^66.1.0-beta.7
'@vueuse/core': ^13.0.0
nprogress: ^0.2.0
pinia: ^3.0.4
vue: ^3.5.28
vue-i18n: ^11.1.2
vue-router: ^5.0.3
types:
'@types/markdown-it-link-attributes': ^3.0.5
'@types/nprogress': ^0.2.3
onlyBuiltDependencies:
- cypress
- esbuild
- simple-git-hooks