The function was removed in the dead code cleanup but the test file still
imported it and had a TestCreatePyprojectToml class, causing ImportError.
Co-authored-by: Kevin Turcios <undefined@users.noreply.github.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
JS projects often have package.json main/module/exports pointing to
build output directories (build/, dist/, out/) which contain compiled
code. Now the detector prioritizes common source directories (src/,
lib/, source/) and skips build output paths when determining module root.