Skip to content

chore: expand .gitignore with TypeScript/Node best practices#2

Merged
casabre merged 1 commit into
mainfrom
chore/gitignore-typescript
Jun 30, 2026
Merged

chore: expand .gitignore with TypeScript/Node best practices#2
casabre merged 1 commit into
mainfrom
chore/gitignore-typescript

Conversation

@casabre

@casabre casabre commented Jun 30, 2026

Copy link
Copy Markdown
Owner

Expands the minimal .gitignore to standard TypeScript/Node coverage:

  • Dependencies: node_modules/, Yarn PnP
  • Build: dist/, build/, lib/, out/, *.tsbuildinfo
  • Test/coverage: coverage/, *.lcov, .nyc_output/, .vitest/
  • Logs: all *-debug.log* variants
  • Env: .env, .env.* with a !.env.example allowlist (keeps the tracked template visible)
  • Caches: .eslintcache, .turbo/, .npm, .cache/
  • CodeGraph: .codegraph/
  • Editors/OS: .vscode/* (allowlisting shared config), .idea/, .DS_Store, Thumbs.db

Verified with git check-ignore: artifacts ignored; .env.example, src/, and package.json remain tracked.

🤖 Generated with Claude Code

Cover build output (dist/build/lib/*.tsbuildinfo), test/coverage
(.nyc_output/.vitest/*.lcov), all log variants, env files with an
.env.example allowlist, tooling caches (.eslintcache/.turbo/.npm),
.codegraph/, and editor/OS noise.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@casabre casabre merged commit 5ff80be into main Jun 30, 2026
10 checks passed
@casabre casabre deleted the chore/gitignore-typescript branch June 30, 2026 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant