Files
pnpm/.changeset/empty-regexp-scripts.md
T
Zoltan Kochan dcf3657187 fix(run): treat empty regexp scripts as missing (#14237)
RegExp script selectors included matching names even when their script bodies
were empty, unlike exact-name selection. Recursive task orchestration could
therefore dispatch tasks pulled in through dependsOn before eventually
reporting that the requested script did not exist.

Filter empty bodies at the shared script-selection boundary in both the
TypeScript CLI and pacquet, so pre-dispatch validation observes the same
missing-script semantics for exact and RegExp selectors.

Related to pnpm/pnpm#14211.
2026-08-27 17:53:10 +02:00

165 B

@pnpm/exec.commands, pnpm, pacquet
@pnpm/exec.commands pnpm pacquet
patch patch patch

Treat empty scripts selected by a regular expression as missing before running dependent tasks.