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

Add @medic/environment shared library #9081

Open
dianabarsan opened this issue May 1, 2024 · 1 comment
Open

Add @medic/environment shared library #9081

dianabarsan opened this issue May 1, 2024 · 1 comment
Assignees
Labels
Type: Technical issue Improve something that users won't notice
Milestone

Comments

@dianabarsan
Copy link
Member

Describe the issue
We have some duplicate code accessing process.env.COUCH_URL:
https://github.com/search?q=repo%3Amedic%2Fcht-core+COUCH_URL+language%3AJavaScript+NOT+path%3A%2F%5Escripts%5C%2F%2F&type=code&l=JavaScript

Describe the improvement you'd like
Add a shared-library @medic/environment that processes environment variables and exports parsed / generic data to be reused.

Describe alternatives you've considered
None.

@dianabarsan dianabarsan added the Type: Technical issue Improve something that users won't notice label May 1, 2024
@dianabarsan dianabarsan self-assigned this May 1, 2024
@dianabarsan dianabarsan modified the milestones: 4.7.0, 4.8.0 May 1, 2024
@mrjones-plip mrjones-plip modified the milestones: 4.8.0, 4.9.0 May 21, 2024
@mrjones-plip
Copy link
Contributor

Moving to 4.9 to unblock 4.8 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Technical issue Improve something that users won't notice
Projects
Status: Next Week's Commitments
Development

No branches or pull requests

2 participants