run

Runs an arbitrary pnpm script (pnpm run <target>).

@pnpm run {
    target = "build-prod"
    args = "build-prod"
    no_recursive = true
}

Capabilities

CapabilityInfo
Cachelocal
Bachno

Argument Reference

The following arguments are supported:

  • target - (Optional) Target to invoke.
  • args - (Optional) Additional arguments forwarded to the script.
  • no_recursive - (Optional) Skip --recursive when targeting a single workspace.
Last updated on