gitignore
gitignore copied to clipboard
Added Js Framewoks .gitignore files
Reasons for making this change
This PR adds and updates .gitignore templates specific to Vue.js and React.js projects.
The goal is to provide developers with comprehensive and framework-specific ignore rules that cover:
- Node.js dependencies (
node_modules/) - Build artifacts (
dist/,build/,.next/, etc.) - Environment files (
.env,.env.local, etc.) - TypeScript cache files (
*.tsbuildinfo) - Logs and debug outputs
- Editor and system-specific files (e.g.,
.vscode/,.DS_Store)
By including these rules, we reduce repository clutter and prevent sensitive or unnecessary files from being tracked.
Links to documentation supporting these rule changes
- Vue.js official docs: https://cli.vuejs.org/guide/creating-a-project.html#gitignore
- Create React App official
.gitignore: https://github.com/facebook/create-react-app/blob/main/packages/react-scripts/template/gitignore - TypeScript incremental build info: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-4.html#tsbuildinfo
- GitHub’s existing
.gitignorecollection: https://github.com/github/gitignore
If this is a new template
- Vue.js homepage: https://vuejs.org/
- React.js homepage: https://react.dev/
Merge and Approval Steps
- [x] Confirm that you've read the [contribution guidelines](https://github.com/github/gitignore/tree/main?tab=readme-ov-file#contributing-guidelines) and ensured your PR aligns
- [x] Ensure CI is passing
- [ ] Get a review and Approval from one of the maintainers