drizzle-kit picks wrong version in monorepo (pnpm)
Hello
I have a monorepo with pnpm where I have two apps. One nextjs app and one Payload CMS app. Payload lags behind on drizzle-orm version but I want to update it for my nextjs app.
I have installed different version in each project, but running
drizzle-kit generate
in the nextjs app complains about a too old drizzle-orm version (the one from the payload app)
How can I resolve this? Can I force drizzle-kit to pick a specific version?2 Replies