-
Notifications
You must be signed in to change notification settings - Fork 124
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
Remove user-specific entries added to .gitignore #178
Conversation
Hi Maurizio! The idea is to provide reasonable defaults. Users can remove these entries if they need to track the files under version control, which is very unlikely.
Wouldn't mind removing |
Hi Maximo <3 I disagree about Is the I'll update the PR if you're still sure about it |
Rails 7 and other Ruby frameworks do not depend on node, so it's possible that the Vite Ruby installation is the first time you install npm packages in a project. Vite Ruby supports
It doesn't. Vite does, it's well documented, and it is powered by |
Thank you for addressing my concerns, I see your thinking now. What do think about putting a comment referencing https://vitejs.dev/guide/env-and-mode.html#env-files above the |
I like the suggestion, adding a commented link above the |
It removes the `.DS_Store` entry inserted by vite_ruby into `.gitignore`, as it is user-specific and should be added to user's global gitignore.
The `*.local` entry may surprise `vite_ruby` users, as it is related to Vite's integration with `dotenv`, which may be unknown by vite_ruby users.
I updated the PR; feel free to update my changes as you like, if needed! |
Awesome! 🤘 Thanks @mdesantis for this PR! I came here to search why would Thanks for removing this! I'll upgrade the gem version in my |
It removes the
.DS_Store
entry inserted by vite_ruby into.gitignore
, as it is user-specific and should be added to user's global gitignore.