Deploying Next.js w/ Drizzle on Vercel with Turborepo
I have a turborepo with Next.js using
A bit of context - I'm using a monorepo with drizzle and share the tables, types and schemas across all my apps by having a shared
One issue I've had is that in order to get
My
Note that all of the packages above are not in either my
My Next.js app consume my
drizzle-orm as a shared package.A bit of context - I'm using a monorepo with drizzle and share the tables, types and schemas across all my apps by having a shared
packages/database library - that my Next.js app is consuming.One issue I've had is that in order to get
drizzle-orm working in my monorepo I've had to install it globally ie. in my root level package.json. My
package.json at the root level looks like this at the moment:Note that all of the packages above are not in either my
packages/database or apps/next dependencies.My Next.js app consume my
database library like this in the apps/next application's package.json"database": "1.0.0"