From 5348d559b29745b3af7a695cca2253238a133ffb Mon Sep 17 00:00:00 2001 From: Jakub Jablonski Date: Wed, 3 May 2023 19:16:12 +0200 Subject: [PATCH] docs: add t3 env to readme --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index eaba514..ee9a29e 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ With this template, you get all the awesomeness you need: - 🤖🧠 **[Automated ChatGPT Code Reviews](https://openai.com/research/chatgpt)** - **Stay on the cutting edge with AI-powered code reviews!** - 💯 **Perfect Lighthouse score** - Because performance matters - 🚢 **[Semantic Release](https://github.com/semantic-release/semantic-release)** - for automatic changelog +- 💻 **[T3 Env](https://env.t3.gg/)** - Manage your environment variables with ease ## Table of Contents @@ -51,6 +52,7 @@ With this template, you get all the awesomeness you need: - [Jotai](#jotai) - [Recoil](#recoil) - [🤖 ChatGPT Code Review](#-chatgpt-code-review) + - [💻 Environment Variables handling](#-environment-variables-handling) - [🤝 Contribution](#-contribution) - [📜 License](#-license) - [Contributors](#contributors) @@ -221,6 +223,14 @@ To use ChatGPT Code Review, add an `OPENAI_API_KEY` environment variable with an ![image](https://user-images.githubusercontent.com/28964599/233685071-e1371edf-6359-41c3-a989-335d6ee09cb7.png) +## 💻 Environment Variables handling + +[T3 Env](https://env.t3.gg/) is a library that provides environmental variables checking at build time, type validation and transforming. It ensures that your application is using the correct environment variables and their values are of the expected type. You’ll never again struggle with runtime errors caused by incorrect environment variable usage. + +```sh + ❌ Invalid environment variables: { ANALYZE: [ 'Required' ] } +``` + ## 🤝 Contribution Contributions are always welcome! To contribute, please follow these steps: