Skip to content

Stop tracking tsconfig.tsbuildinfo#62

Closed
kmatzen wants to merge 0 commit into
mainfrom
untrack-tsbuildinfo
Closed

Stop tracking tsconfig.tsbuildinfo#62
kmatzen wants to merge 0 commit into
mainfrom
untrack-tsbuildinfo

Conversation

@kmatzen

@kmatzen kmatzen commented Jul 19, 2026

Copy link
Copy Markdown
Owner

Fixes #61.

tsconfig.tsbuildinfo is TypeScript's incremental-build cache, not source. npm run build runs tsc -b, which rewrites it — so anyone who builds locally gets a dirty working tree they didn't ask for, and it shows up in diffs as unrelated churn. Its contents are machine-specific, so two developers building concurrently would conflict on it more or less continuously.

I hit this while committing an unrelated change and had to filter it out by hand, which is what prompted the issue.

Nothing consumes the committed copy — tsc -b regenerates it when absent, at the cost of one non-incremental build.

dist/ and test-results/ were already in .gitignore, so this was the only tracked build artifact.

🤖 Generated with Claude Code

@kmatzen kmatzen closed this Jul 25, 2026
@kmatzen
kmatzen force-pushed the untrack-tsbuildinfo branch from a0c359b to 2670cda Compare July 25, 2026 16:38
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.

tsconfig.tsbuildinfo is committed to the repo

1 participant