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

install dotenv, fix gatsby-config.js, add .env to .gitignore #239

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

5archoufa
Copy link

@5archoufa 5archoufa commented Apr 23, 2024

Fixes #238

Copy link

sonarcloud bot commented Apr 23, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Member

@jdrueckert jdrueckert left a comment

Choose a reason for hiding this comment

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

Great idea for improving local dev workflow 👍
Before merging, I'd like to request a few adjustments/additions though, to make this new option more visible for future developers:

  1. Please add a comment to the README informing future new contributors that they can also use an .env file instead of exporting their GITHUB_TOKEN as an env var.
  2. Please check-in a default .env with a dummy token

Also, please remove package-lock.json, we're using yarn, not npm for building, so yarn.lock should be sufficient. Might make sense to add it to .gitignore.

@@ -62,3 +62,5 @@ bundle-stats.json
src/generated/
plugins/source-terasology-modules/data.json
plugins/source-terasology-engine/data.json

.env
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
.env
.env

@jdrueckert jdrueckert added the enhancement New feature or request label May 2, 2024
@jdrueckert jdrueckert mentioned this pull request May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dotenv is not installed
2 participants