mirror of
https://github.com/hanzoai/pack.git
synced 2026-09-30 23:43:13 +00:00
Replace fuzzy matching (HasMatch) with exact file path checks (HasFile) in all providers where specific files are being checked. This prevents false positives from glob pattern matching when checking for specific file names. Changes: - PHP provider: index.php, composer.json, artisan - Go provider: main.go, go.mod, go.work, go.sum, go.work.sum - Ruby provider: Gemfile, rails, bin/rails, config/environment.rb, config.ru, Rakefile - Node providers: package.json, lock files, config files for Vite, Astro, Angular, React Router - Python providers: main.py, requirements.txt, pyproject.toml, Pipfile, poetry.lock, pdm.lock, uv.lock, manage.py - Rust provider: Cargo.toml, src/main.rs, src/lib.rs - Elixir provider: mix.exs - Deno provider: deno.json, deno.jsonc, main.ts/js/mjs/mts - Java providers: gradlew, mvnw, gradle/maven wrapper properties - Staticfile provider: index.html, Staticfile config - Core: template.go and mise_step_builder.go Directory checks (e.g. src/bin, node_modules, public, script) continue to use HasMatch as they need pattern/directory matching. Co-authored-by: Hanzo Dev <[email protected]>