turborepo
fa985069 - fix: Read only a bin that passes its arguments on unchanged as a prefix in turbo trace

Commit
13 hours ago
fix: Read only a bin that passes its arguments on unchanged as a prefix in turbo trace A first-party bin counted as a prefix of the command behind it when it started the program named by its first argument with the rest. Bins that change what they forward were accepted too: options held in a name whose object sets `cwd`, a program name that is reassigned, an argument pushed to `process.argv`, a preload set in `process.env`, an env file the bin reads, a module of its package that builds the environment. A forwarder now has no options or an inline object with keys that leave the command alone, names `process.argv`, the program and the rest only in the shape itself, does not name `process.env`, reads no file and imports nothing but the module that starts the process. A bin that wraps a test runner and whose package has more files than the scan reads no longer counts as running the tool unchanged: its task runs whole. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Author
Parents
Loading