AJ ONeal 69148f9edb
feat(monorel): skip untracked directories during recursive walk
Add buildTrackedDirs which runs "git ls-files" once from the walk root
and builds a set of directories containing at least one tracked file.
findMainPackages uses this set to skip untracked directories (dist/,
vendor/, node_modules/, build artifacts, etc.) without having to
enumerate git-ignored paths explicitly.

Falls back to walking everything when git is unavailable or the
directory is not inside a repository.
2026-03-01 19:13:49 -07:00
..