What problem does it solve?
Add, update, or manage environment variables in this Next.js monorepo using T3 Env and env-to-t3. Use when the user asks to add an env variable, update env.example, generate env types, work with @hermes/env or @mediapulse/env, or configure per-app environment variables.
Core Features & Use Cases
- Update the correct env.example (or env.*.example) under packages/hermes/env/ or packages/mediapulse/env/. Add a comment explaining the purpose and where to obtain the value. Add env-to-t3 annotations after the value. Example: ACME_API_TOKEN=your-token-here #required
- Regenerate the typed env object after changes.
- Import from @hermes/env or @mediapulse/env instead of reading process.env directly.
- Share .env for local development by using dev-bootstrap.sh to merge examples and symlink apps to the correct domain.
Quick Start
Regenerate the typed env object after updating env examples and import it from @hermes/env or @mediapulse/env.