Context
Bun is increasingly used as a Node.js replacement. We list Bun in our README but the scanner should explicitly detect Bun-first projects (not just fall through to NodeProvider).
What to do
- Check for
bun.lockb or bunfig.toml in NodeProvider::detect() or as a separate check
- Set
package_manager to "bun" when detected
- Suggest
bun dev / bun start from package.json scripts
- Add unit tests
Reference
See NodeProvider in scanner.rs. This is a small enhancement, not a new provider.
Acceptance
- A Bun project is detected with
package_manager: "bun"
cargo test -p runhq-core passes
Context
Bun is increasingly used as a Node.js replacement. We list Bun in our README but the scanner should explicitly detect Bun-first projects (not just fall through to NodeProvider).
What to do
bun.lockborbunfig.tomlinNodeProvider::detect()or as a separate checkpackage_managerto"bun"when detectedbun dev/bun startfrompackage.jsonscriptsReference
See
NodeProviderinscanner.rs. This is a small enhancement, not a new provider.Acceptance
package_manager: "bun"cargo test -p runhq-corepasses