Solution · Nuxt upgrades
Nuxt upgrade audits
For teams planning a Nuxt 3 to Nuxt 4 upgrade, or keeping a Nuxt 4 app current, @geoql/nuxt-doctor finds what will block or break the upgrade before you start. It checks the Nuxt major, the app/ directory layout, module compatibility, Nitro config, hydration-unsafe code, and data-fetching keys, and it reports each finding with a file, line, and rule id you can turn into a ticket.
Run it before the upgrade branch
Scope to the nuxt dimension for the upgrade conversation, then run the full audit to see everything else the upgrade will surface.
npx -y @geoql/nuxt-doctor --dimension nuxt
npx -y @geoql/nuxt-doctor --category structure --category modules-depsRules that matter for an upgrade
Representative rule ids from the Nuxt set:
- nuxt-major-current and uses-app-directory (structure)
- no-modules-incompatible-with-nuxt-4 and recommended-modules-installed (modules-deps)
- compatibilityDate-set, preset-defined-for-deploy-target, runtime-config-typed (nitro)
- no-shared-key-across-pages, useAsyncData-key-required-in-loop (data-fetching)
- clientOnly-for-browser-apis, no-document-in-setup (hydration)
- duplicate-vue-versions and vue-major-current (deps)
Track the upgrade as a score
Push a run from main and one from the upgrade branch. The difference is the remaining upgrade work, and the trend shows when the branch is ready to merge.