chore: enhance .gitignore with Node.js tooling patterns - #343
Open
bkrupa wants to merge 2 commits into
Open
Conversation
- Add comprehensive Node.js patterns (node_modules, npm/yarn/pnpm) - Add build output patterns (dist, build, .next, .nuxt, etc.) - Add environment and editor patterns - Add OS-specific patterns (macOS, Windows, Linux)
- Remove Node.js runtime data section (pids, *.pid, *.seed, *.pid.lock) - Remove Frameworks section (.next, .nuxt, .svelte-kit, .vuepress/dist) - Scope out/, dist/, build/ to twig-vscode/ - Scope server/out/, client/out/ to twig-vscode/server/out/, twig-vscode/client/out/ - Scope .cache to twig-vscode/.cache - Move *.tsbuildinfo from Caches to TypeScript/JS build output section - Add # rollup-plugin-typescript2 comment above .rpt2_cache* entries - Add # npm pack tarballs comment above *.tgz - Scope dotenv patterns with leading / to root - Remove mcp-server/dist/ and mcp-server/node_modules/ (no such directory) - Remove stray server/out/ and client/out/ patterns from VS Code section
eddie-on-gh
reviewed
Feb 25, 2026
|
|
||
| # TypeScript / JS build output | ||
| *.tsbuildinfo | ||
| twig-vscode/dist/ |
Contributor
There was a problem hiding this comment.
Seems specific to your plugin. Can we just ignore these directories in general?
eddie-on-gh
approved these changes
Feb 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates
.gitignorewith patterns for Node.js ecosystem tooling commonly used alongside Rust development (e.g., for documentation sites, VS Code extensions, etc.):node_modules/,dist/,.next/Files changed
.gitignore- Additional ignore patterns