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.
This commit is contained in:
12 files changed
+2402
-1435
No files matched your search
+14
-15
@@ -5,32 +5,31 @@ catalogs:
|
||||
build:
|
||||
'@intlify/unplugin-vue-i18n': ^6.0.5
|
||||
'@shikijs/markdown-it': ^3.2.1
|
||||
'@unocss/eslint-config': ^66.1.0-beta.7
|
||||
'@vitejs/plugin-vue': ^5.2.3
|
||||
beasties: ^0.2.0
|
||||
'@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.1.0-beta.7
|
||||
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
|
||||
unplugin-vue-router: ^0.12.0
|
||||
vite: ^6.2.3
|
||||
vite: ^7.3.1
|
||||
vite-bundle-visualizer: ^1.2.1
|
||||
vite-plugin-inspect: ^11.0.0
|
||||
vite-plugin-pwa: ^0.21.2
|
||||
vite-plugin-pwa: ^1.2.0
|
||||
vite-plugin-vue-devtools: ^7.7.2
|
||||
vite-plugin-vue-layouts: ^0.11.0
|
||||
vite-ssg: ^26.0.0
|
||||
vite-ssg-sitemap: ^0.8.1
|
||||
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.0.0-beta.7
|
||||
'@vue-macros/volar': ^3.1.2
|
||||
'@vue/test-utils': ^2.4.6
|
||||
cypress: ^14.2.1
|
||||
cypress-vite: ^1.6.0
|
||||
@@ -42,18 +41,18 @@ catalogs:
|
||||
simple-git-hooks: ^2.12.1
|
||||
taze: ^19.0.2
|
||||
typescript: ^5.8.2
|
||||
vitest: ^3.0.9
|
||||
vue-tsc: ^2.2.8
|
||||
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.1
|
||||
vue: ^3.5.13
|
||||
pinia: ^3.0.4
|
||||
vue: ^3.5.28
|
||||
vue-i18n: ^11.1.2
|
||||
vue-router: ^4.5.0
|
||||
vue-router: ^5.0.3
|
||||
|
||||
types:
|
||||
'@types/markdown-it-link-attributes': ^3.0.5
|
||||
|
||||
Reference in new issue
Block a user