doc(prisma-config): update example using environment variables#7203
doc(prisma-config): update example using environment variables#7203mhartington merged 1 commit intomainfrom
Conversation
WalkthroughExpanded documentation on loading environment variables across Node, Deno, and Bun runtimes with explicit command-line examples, a TabbedContent block containing runtime-specific code samples, and added guidance for Node v18/v19 using the dotenv package when using Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Pre-merge checks✅ Passed checks (3 passed)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Dangerous URL checkNo absolute URLs to prisma.io/docs found. |
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
content/200-orm/500-reference/325-prisma-config-reference.mdx(1 hunks)
🔇 Additional comments (1)
content/200-orm/500-reference/325-prisma-config-reference.mdx (1)
357-397: Documentation expansion for environment variables is clear and well-structured.The expanded guidance effectively covers environment variable loading across Node, Deno, and Bun runtimes with appropriate examples and fallback instructions for Node <v20. The tabbed content organization and step-by-step dotenv setup are helpful additions. Once the Deno syntax is corrected, this section will provide good guidance for users.
Redirect checkThis PR probably requires the following redirects to be added to static/_redirects:
|
Deploying docs with
|
| Latest commit: |
a53192d
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://2d5ed968.docs-51g.pages.dev |
| Branch Preview URL: | https://mhartington-da-5714.docs-51g.pages.dev |
89a6f8c to
a53192d
Compare
Update prisma-config example for using environment variables
Summary by CodeRabbit