Open obedNuertey1 opened 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
solito-app | ❌ Failed (Inspect) | Oct 8, 2024 1:51pm |
@obedNuertey1 is attempting to deploy a commit to the BeatGig Team on Vercel.
A member of the Team first needs to authorize it.
Feature: Environment Variable Injection Across Expo and Next.js Packages in example-monorepos
Why:
Currently, managing environment variables separately for both Expo and Next.js packages can be cumbersome. This PR adds a feature that injects environment variables from a single
.env
file into both Expo and Next.js, streamlining the process and ensuring consistency across both environments.What:
generateEnv.js
) was created to pull variables from a.env.global
file and inject them into Expo (EXPO_*
) and Next.js (NEXT_PUBLIC_*
)..env.example
file was added to show how environment variables should be structured.References:
This PR addresses a previously closed issue related to environment variables management but goes further to automate the process.
For more context, see:
Using environmental variables example
Screenshots: