codemod
codemod copied to clipboard
[codemod][new] Nuxt - migration to v4
Migration details
- [x] directory-structure- [Codemod Studio Link] -> #1011
- [ ] shared-prerender-data [Codemod Studio Link] -> TBD
- [x] default-data-error-value [Codemod Studio Link] -> #886
- [x] remove-deprecated-values- [Codemod Studio Link] -> #973
- [ ] respect-defaults-useAsyncData-useFetch [Codemod Studio Link] -> blocked
- [x] shallow-data-reactivity -> #722 / #695
- [x] absolute-watch-paths [Codemod Studio Link] -> #959
- [ ] directory-index-scanning - [Codemod Studio Link] -> TBD
- [x] template-compilation-changes -> #958
- [ ] removal-of-experimental-features TBD
Hello! Thank you for your excellent work!
These codemods do not support .vue files.
Most codemods would be better able to support .vue files.
How do I create an issue asking for support for .vue files?
I also have experience in creating codemods that support vue files, so I may be able to help.
https://github.com/wattanx/wattanx-converter/tree/main/packages/nuxt-bridge-migration-tools
Thanks for your message. We have a utility that can extract js/ts from vue files. Also, in the near future, through vue supper in ast-grep engine, we will natively support vue files. I would love to chat more. Feel free to ping me on our slack if interested in contributing more. go.codemod.com/community
I get this error: [Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files]
@kevincam3 thanks for reporting the issue. lets use this task for creating new nuxt codemods. if there is some faulty codemod, lets create a new issue here and provide the repro steps. thank you so much again for your contribution.
Closing as completed. Guide to upgrading with codemods can be found here. Issues with specific codemods can be reported in codemod-com/commons temporarily. Soon, we'll move Nuxt codemods to Nuxt's GitHub org.