docs: document RTK bug with npm run command

This commit is contained in:
Marko Djordjevic 2026-02-16 16:01:20 +01:00
parent 025cf6d973
commit efcf5c185f

View file

@ -71,11 +71,13 @@ Note: Git passthrough works for ALL subcommands, even those not explicitly liste
rtk pnpm list # Compact dependency tree (70%)
rtk pnpm outdated # Compact outdated packages (80%)
rtk pnpm install # Compact install output (90%)
rtk npm run <script> # Compact npm script output
rtk npm build # ⚠️ BUG: Use "rtk npm build" NOT "rtk npm run build"
rtk npx <cmd> # Compact npx command output
rtk prisma # Prisma without ASCII art (88%)
```
**Known RTK Bug**: For npm scripts, use `rtk npm build` instead of `rtk npm run build`. The `run` keyword causes RTK to fail.
### Files & Search (60-75% savings)
```bash
rtk ls <path> # Tree format, compact (65%)