Expand description
The runner ladders for tsc and tsx: the tool itself when it is on PATH,
then the package manager’s runner (npx, pnpm dlx, bunx) fetching it.
bynk test and bynk check --emit both walk the tsc ladder, so it is
written once here. A rung is resolved through detection
(crate::probe::detect) when the walk reaches it, and spawned at the path
detection found, so a Windows npm shim (tsc.cmd) is also the program that
runs (#1758).
Structs§
- Ladder
- A tool’s ladder over the real PATH, for one package manager.
- Rung
- One resolved rung of a
Ladder.
Functions§
- system_
tool_ ladder tool_ladderover the real PATH.- tool_
ladder - The programs to try, in order, to run
tool(a binary ofpackage, which may be pinned): the tool itself, then the runner that fetches it on demand whenmanager(ornpx, for a manager with no runner) is on PATH. Each is a program name with its leading arguments.