Skip to content

Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.

tech_stack: detect bun as the script runner (#1940)

Grigory B. Kholstinnikov11d3a0e31146
diff --git a/packages/core/src/repowise/core/generation/editor_files/tech_stack.py b/packages/core/src/repowise/core/generation/editor_files/tech_stack.py
index 8ccdb0350..5859984de 100644
--- a/packages/core/src/repowise/core/generation/editor_files/tech_stack.py
+++ b/packages/core/src/repowise/core/generation/editor_files/tech_stack.py
@@ -437,6 +437,8 @@ def detect_build_commands(repo_path: Path) -> dict[str, str]:
runner = "npm run" if not (repo_path / "pnpm-lock.yaml").exists() else "pnpm"
if (repo_path / "yarn.lock").exists():
runner = "yarn"
+ if (repo_path / "bun.lock").exists() or (repo_path / "bun.lockb").exists():
+ runner = "bun run"
for key, candidates in _map.items():
for cand in candidates:
if cand in scripts: