Skip to content

Add Bun runtime detection (bun.lockb / bunfig.toml) #44

@erdembas

Description

@erdembas

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

  1. Check for bun.lockb or bunfig.toml in NodeProvider::detect() or as a separate check
  2. Set package_manager to "bun" when detected
  3. Suggest bun dev / bun start from package.json scripts
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions