
Nx for Code Gen (for Prisma)
One of the more annoying parts of code generators like Prisma, is that you need to run them - obviously. My silly little meat brain is just not capable of remembering what to run in which order before I see the glaring compiler errors in my terminal. But we are developers, so let’s automate it! In this blog post I’ll describe how to use Nx’s dependency system to auto-run any code generation job before building or serving a dev server. ...