Submit an issue View all issues Source
MIR-773

Detect Bun runtime when no bun.lock file is present

Done public
phinze phinze Opened Mar 9, 2026 Updated Mar 10, 2026

Stack detection currently relies on the presence of a bun.lock file to identify Bun projects. Apps with no dependencies never produce a lockfile, so Bun isn't detected and the deploy fails or falls back incorrectly.

We should also detect Bun from package.json alone (e.g. a bun key in scripts, or a bunfig.toml present), similar to how we grab package.json for other Node-family runtimes.