Find the logger option Fastify 4 removed
ProprietaryFastify 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. FindRemovedFastify4Optionsmod run . --recipe= org. openrewrite. nodejs. migrate. fastify. FindRemovedFastify4OptionsInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.