rtk-ai/rtk

feat(rewrite): support bare turbo commands

Open

#531 geöffnet am 12. März 2026

Auf GitHub ansehen
 (1 Kommentar) (4 Reaktionen) (0 zugewiesene Personen)Rust (2.914 Forks)batch import
area:clieffort-smallenhancementgood first issueplatform:macospriority:low

Repository-Metriken

Stars
 (48.085 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 11T 1h) (45 gemergte PRs in 30 T)

Beschreibung

Description

rtk rewrite matches npx turbo <cmd> but not bare turbo <cmd>. In monorepos using Turborepo, turbo is typically installed globally or via npx -g, so bare invocations are common.

Reproduction

# Matches:
rtk rewrite "npx turbo tsc"    # -> rtk npx turbo tsc ✓

# Doesn't match:
rtk rewrite "turbo tsc"        # exit 1 ✗
rtk rewrite "turbo lint"       # exit 1 ✗  
rtk rewrite "turbo run tsc"    # exit 1 ✗
rtk rewrite "turbo dev"        # exit 1 ✗

Impact

In my monorepo, ~69 turbo commands in the last 30 days went unmatched.

Suggested fix

Add turbo as a rewrite target alongside npx turbo, mapping to rtk npx turbo or a dedicated rtk turbo.

Environment

  • rtk 0.28.2
  • macOS Darwin 25.3.0

Contributor Guide