Find the logger option Fastify 4 removed

Proprietary

Fastify 4 removed the prettyPrint option of logger, since Pino 7 moved pretty printing to a transport. Marks prettyPrint in a file that imports or requires fastify; replace it with transport: {target: 'pino-pretty'} and add pino-pretty as a dependency.

org.openrewrite.nodejs.migrate.fastify.FindRemovedFastify4Options
mod run . --recipe=org.openrewrite.nodejs.migrate.fastify.FindRemovedFastify4Options

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