Migrate to Fastify 5

Proprietary

Migrates a Fastify 3 or 4 application to Fastify 5, following the migration guide, and keeps it behaving as it did. Runs the code changes of MigrateToFastify4, then replaces the APIs Fastify 5 removed, raises engines.node to Node.js 20, and upgrades fastify, fastify-plugin and the @fastify/* and mercurius plugins a project declares once, straight to the lines supporting Fastify 5.

io.moderne.javascript.migrate.fastify.MigrateToFastify5
mod run . --recipe=io.moderne.javascript.migrate.fastify.MigrateToFastify5

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.