This technical blog post discusses a large-scale migration from Next.js Pages to App, performed by us, Codemod engineers, on the Cal.com open-source product. We talk about the migration planning, execution, challenges we faced and overcame during such large migrations, the DevX and performance gains from this modernization project, and the lessons we learned that could be applied to future migrations. Hope you find it useful and please share your feedback and reactions with us.
Read on to learn how we built and used open-source codemods to automate the migration from Mocha to Vitest, saving countless hours of tedious work.
In this post, I'll touch on the following topics:
- Code migrations are becoming more important but also more difficult.
- Migrations do not need to be a headache. I share our criteria for a dream migration.
- I demo Codemod platform for fully automating Next.js app router migration for the cms-wordpress project.
- I share my thoughts on the future of code automation at scale with the help of AI and the community.