-
-
Notifications
You must be signed in to change notification settings - Fork 797
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
[legacy-framework] Load env variables based on APP_ENV
or -e
flag
#2878
Conversation
@flybayer I added the ability to set app env to
I'll start working on the docs once we have the implementation. |
Ok this is looking good, but need a few more changes.
Prisma loads |
…litz into env-variables-loading
"name": "@next/env", | ||
"version": "11.1.0", | ||
"version": "0.42.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update to latest
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Add integration tests
- Test locally the next package
- Brandon has to do a release with new
@blitzjs/env
package -
loadEnvConfig
should default toprocess.cwd()
e913a3d
to
2e72e8b
Compare
APP_ENV
or -e
flagAPP_ENV
or -e
flag
Closes: blitz-js/legacy-framework#226
What are the changes and their implications?
Bug Checklist
Feature Checklist
canary
branch): Add docs for setting custom app env name blitzjs.com#617