Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composable environment variables #332

Open
wants to merge 68 commits into
base: main
Choose a base branch
from

Conversation

haydenbleasel
Copy link
Owner

@haydenbleasel haydenbleasel commented Dec 9, 2024

This pull request includes several changes to environment variable management, import paths, and configuration files. The most important changes involve updating environment variable references, modifying import paths for consistency, and adding new dependencies.

In short - environment variables are now composable. You can define a env.ts at the root of a Next.js application and import only the keys you need. Each package manages its own keys.


Resolves #251
Resolves #228

@haydenbleasel haydenbleasel added the major Increment the major version when merged label Dec 9, 2024
@haydenbleasel haydenbleasel self-assigned this Dec 9, 2024
@haydenbleasel haydenbleasel linked an issue Dec 9, 2024 that may be closed by this pull request
32 tasks
Copy link

vercel bot commented Dec 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
next-forge ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 17, 2024 6:21pm
next-forge-app ❌ Failed (Inspect) Dec 17, 2024 6:21pm

@haydenbleasel haydenbleasel force-pushed the 251-make-environment-variables-optional branch from d523e2f to 92077b2 Compare December 10, 2024 06:58
@haydenbleasel haydenbleasel force-pushed the 251-make-environment-variables-optional branch from b9bbbcb to e082108 Compare December 13, 2024 00:46
Copy link

vercel bot commented Dec 13, 2024

Deployment failed with the following error:

Preview deployments are disabled for this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
major Increment the major version when merged
Projects
None yet
1 participant