rtk-ai/rtk

Feature request: Add RTK equivalents for bun/bunx commands

Open

#1,735 创建于 2026年5月6日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Rust (2,914 fork)batch import
area:clienhancementhelp wantedplatform:macospriority:medium

仓库指标

Star
 (48,085 star)
PR 合并指标
 (平均合并 11天 1小时) (30 天内合并 45 个 PR)

描述

Summary

rtk discover flagged a large number of unhandled bun/bunx commands that could benefit from RTK equivalents. These are the most-missed savings opportunities after the already-handled npm/npx commands.

Top unhandled bun commands (last 30 days)

Command Count Example
bunx tsc 588 bunx tsc --noEmit > /tmp/...
bun run 524 bun run lib/render.cjs ...
bun install 98 bun install 2>&1
bunx oxlint 74 bunx oxlint --deny-warnings 2>&1
bun x 73 bun x oxfmt src/...
bunx oxfmt 65 bunx oxfmt . 2>&1
bun test 40 bun test src/...
bunx 36 bunx @expo/fingerprint . 2>&1
bun add 32 bun add sharp 2>&1

Suggested mappings

RTK already handles the npm/npx equivalents:

  • npm runrtk npm
  • npx tscrtk tsc
  • npx jestrtk jest

Similar mappings for bun would be straightforward:

  • bun runrtk bun (or reuse rtk npm)
  • bunx tscrtk tsc (same tool, different runner)
  • bun testrtk jest / rtk bun test
  • bun install / bun addrtk bun
  • bunxrtk bunx or fold into rtk npx

Impact

Based on the discover output, these commands represent a significant portion of unhandled sessions. Adding bun support would extend RTK's token savings to projects using Bun as their JS runtime/package manager.

Environment

  • Reported via rtk discover
  • macOS (darwin)

贡献者指南