You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When you create a new Cube.js project, it asks to add your database credentials to the .env. The problem is that .env is version controlled by default, which can accidentally expose a lot of database credentials and Cube API secrets on GitHub/GitLab if developers don't remember to add a .gitignore to exclude it.
Describe the solution you'd like cubejs create should generate a .gitignore file with .env in it.
Describe alternatives you've considered
I'm creating this manually at the moment.
Additional context
Happy to open a PR for this, but wasn't sure if there was a reason why it didn't exist already. Thanks!