-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
feat(core): additional .local patterns for .env files #19163
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@FrozenPandaz @vsavkin any change of getting this reviewed? |
baaaf52
to
f770a26
Compare
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 3962e08. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 6 targets
Sent with 💌 from NxCloud. |
f770a26
to
3962e08
Compare
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Current Behavior
Loading order of .env files
apps/my-app/.env.[target-name].[target-configuration-name]
apps/my-app/.env.[target-name]
apps/my-app/.[target-name].[target-configuration-name].env
apps/my-app/.[target-name].env
apps/my-app/.env.local
apps/my-app/.local.env
apps/my-app/.env
.env.[target-name].[target-configuration-name]
.env.[target-name]
.[target-name].[target-configuration-name].env
.[target-name].env
.env.local
.local.env
.env
Expected Behavior
apps/my-app/.env.[target-name].[target-configuration-name].local
apps/my-app/.env.[target-name].[target-configuration-name]
apps/my-app/.env.[target-name].local
apps/my-app/.env.[target-name]
apps/my-app/.[target-name].[target-configuration-name].local.env
apps/my-app/.[target-name].[target-configuration-name].env
apps/my-app/.[target-name].local.env
apps/my-app/.[target-name].env
apps/my-app/.env.local
apps/my-app/.local.env
apps/my-app/.env
.env.[target-name].[target-configuration-name].local
.env.[target-name].[target-configuration-name]
.env.[target-name].local
.env.[target-name]
.[target-name].[target-configuration-name].local.env
.[target-name].[target-configuration-name].env
.[target-name].local.env
.[target-name].env
.env.local
.local.env
.env
Related Issue(s)
#19161