hannoeru / vite-plugin-pages

File system based route generator for ⚡️Vite
MIT License
1.84k stars 127 forks source link

Vite5.0 support #445

Closed srob-ntap closed 10 months ago

srob-ntap commented 10 months ago

Description

Unable to update my app to Vite5.0 due to pages plugin dependency.

3.309 npm ERR! While resolving: vite-plugin-pages@0.31.0
3.309 npm ERR! Found: vite@5.0.0
3.309 npm ERR! node_modules/vite
3.309 npm ERR!   dev vite@"5.0.0" from the root project
3.309 npm ERR!   peer vite@"^4.0.0 || ^5.0.0" from @vitejs/plugin-vue@4.5.0
3.309 npm ERR!   node_modules/@vitejs/plugin-vue
3.309 npm ERR!     dev @vitejs/plugin-vue@"4.5.0" from the root project
3.309 npm ERR!
3.309 npm ERR! Could not resolve dependency:
3.309 npm ERR! peer vite@"^2.0.0 || ^3.0.0-0 || ^4.0.0" from vite-plugin-pages@0.31.0
3.309 npm ERR! node_modules/vite-plugin-pages
3.309 npm ERR!   dev vite-plugin-pages@"0.31.0" from the root project

Suggested solution

https://github.com/hannoeru/vite-plugin-pages/blob/main/package.json#L67

https://vitejs.dev/blog/announcing-vite5 https://vitejs.dev/guide/migration.html

Alternative

No response

Additional context

No response

Validations

PeterHewat commented 10 months ago

GitHubs' renovate bot has already done the necessary. Check out the PRs that are awaiting validation => #447. But it seems this project hasn't receive much attention in the past 6 months. @hannoeru is this project still activally maintained ? Are you looking for co-maintainers ?

hannoeru commented 10 months ago

Let's try v0.32.0-beta.0 works or not.

hannoeru commented 10 months ago

Check out v0.32.0