pnpm env:pull writes development values to .env.local so .env.development.local can hold local Supabase overrides.
The repo standard has pnpm env:pull write .env.development.local, .env.preview.local, and .env.production.local. CentraKit uses .env.development.local for hand-written overrides that point the apps at local Supabase and Portless hosts. Pulling into that file would erase those overrides on every pull.
pnpm env:pull writes the development environment to .env.local, and also writes .env.preview.local and .env.production.local. Local overrides stay in .env.development.local, which Next.js loads after .env.local in development. Apps load the root files through loadMonorepoEnv in packages/next-config.
loadMonorepoEnv instead of dotenv -e wrappers..env.example lists every key, and the overrides file is documented in AGENTS.md.Last updated on