Tracked node_modules (26K), dist (8K), and .vite (60) files — 34K tracked artifacts #13

Closed
opened 2026-05-13 02:07:28 +00:00 by Mark · 1 comment
Owner

Problem

This repo has 34,244 tracked files that should be gitignored:

Category Count
node_modules/ 26,171 files
dist/ 8,001 files
build/ 12 files
.vite/ 60 files

Root Cause

Committed before .gitignore was established for these patterns.

Impact

  • Largest tracked-artifact bloat across all repos
  • GSD pipeline gets false positives on generated file changes
  • commit-ready.sh blocks on changes to tracked build output

Fix

# Add missing gitignore entries
grep -q "node_modules/" .gitignore || echo "node_modules/" >> .gitignore
grep -q "dist/" .gitignore || echo "dist/" >> .gitignore
grep -q ".vite/" .gitignore || echo ".vite/" >> .gitignore

# Untrack
git rm --cached -r node_modules/
git rm --cached -r dist/
git rm --cached -r .vite/
git rm --cached -r build/

# Commit (large, use --no-verify)
git add .gitignore
git commit --no-verify -m "chore: untrack node_modules/ dist/ .vite/ build/ (34K artifacts)"
git push origin main --no-verify
## Problem This repo has **34,244 tracked files** that should be gitignored: | Category | Count | |----------|-------| | `node_modules/` | 26,171 files | | `dist/` | 8,001 files | | `build/` | 12 files | | `.vite/` | 60 files | ## Root Cause Committed before `.gitignore` was established for these patterns. ## Impact - Largest tracked-artifact bloat across all repos - GSD pipeline gets false positives on generated file changes - `commit-ready.sh` blocks on changes to tracked build output ## Fix ```bash # Add missing gitignore entries grep -q "node_modules/" .gitignore || echo "node_modules/" >> .gitignore grep -q "dist/" .gitignore || echo "dist/" >> .gitignore grep -q ".vite/" .gitignore || echo ".vite/" >> .gitignore # Untrack git rm --cached -r node_modules/ git rm --cached -r dist/ git rm --cached -r .vite/ git rm --cached -r build/ # Commit (large, use --no-verify) git add .gitignore git commit --no-verify -m "chore: untrack node_modules/ dist/ .vite/ build/ (34K artifacts)" git push origin main --no-verify ```
Author
Owner

Fixed in commit. Closing.

Fixed in commit. Closing.
Mark closed this issue 2026-05-13 02:29:42 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Mark/llm_quota#13
No description provided.