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

feat: respect .env files #441

Merged
merged 3 commits into from
Dec 13, 2021
Merged

feat: respect .env files #441

merged 3 commits into from
Dec 13, 2021

Conversation

brent-hoover
Copy link
Collaborator

Impact: minor
Type: feature

Issue

By default the project does not respect .env files even though it uses envalid. This makes it hard to run it at the command line w/o using a tool like direnv.

Solution

Add the dotenv package and bootstrap dotenv during startup before envalid is processed.

Also

Add npm-check package for easy checking/upgrades of packages

Breaking changes

None

Testing

Test that it works in both standalone and in docker

Signed-off-by: Brent Hoover <brent@thebuddhalodge.com>
Signed-off-by: Brent Hoover <brent@thebuddhalodge.com>
Signed-off-by: Brent Hoover <brent@thebuddhalodge.com>
@brent-hoover brent-hoover merged commit ffaf007 into trunk Dec 13, 2021
@brent-hoover brent-hoover deleted the respect-env-files branch December 13, 2021 23:22
@rc-publisher
Copy link
Collaborator

🎉 This PR is included in version 4.0.0-beta.15 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@rc-publisher rc-publisher added the released Applied automatically by semantic-release label Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Applied automatically by semantic-release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants