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: add env editor utility to edit update .env files #8741

Merged
merged 2 commits into from
Aug 25, 2024

Conversation

thetutlage
Copy link
Contributor

Fixes: FRMW-2673

We are planning to add the db:create command which will read the contents of the .env file and also modify/update it.

The EnvEditor utility is the first step towards modifying the .env files. I have made future proof by also update the .env.template file, so that it stays in-sync with the .env file.

Also, both the .env and the .env.template files will be created by this utility if they do not exists

Copy link

vercel bot commented Aug 23, 2024

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

Name Status Preview Comments Updated (UTC)
medusa-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 25, 2024 1:51pm
6 Skipped Deployments
Name Status Preview Comments Updated (UTC)
api-reference ⬜️ Ignored (Inspect) Aug 25, 2024 1:51pm
api-reference-v2 ⬜️ Ignored (Inspect) Visit Preview Aug 25, 2024 1:51pm
docs-ui ⬜️ Ignored (Inspect) Visit Preview Aug 25, 2024 1:51pm
docs-v2 ⬜️ Ignored (Inspect) Visit Preview Aug 25, 2024 1:51pm
medusa-docs ⬜️ Ignored (Inspect) Visit Preview Aug 25, 2024 1:51pm
resources-docs ⬜️ Ignored (Inspect) Visit Preview Aug 25, 2024 1:51pm

Copy link

changeset-bot bot commented Aug 23, 2024

⚠️ No Changeset found

Latest commit: 63c3bbb

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@thetutlage thetutlage marked this pull request as ready for review August 23, 2024 13:58
@thetutlage thetutlage requested a review from a team as a code owner August 23, 2024 13:58
Copy link
Contributor

@riqwan riqwan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@thetutlage thetutlage merged commit 9a50805 into develop Aug 25, 2024
23 checks passed
@thetutlage thetutlage deleted the feat/add-env-editor branch August 25, 2024 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants