Try out this tool! https://www.npmjs.com/package/next-list
It’s easy: just run npm run list, and it will list all your pages and API routes, distinguishing whether they’re dynamic, server, client, etc.!
npm run list