fynpo run
note
Install fynpo-cli for global access of fynpo command
#
UsageRun given npm script in all the packages that contain that script. A double-dash (--) is necessary to pass dashed arguments to the script execution.
Similar to lerna run command.
#
Options--ignore
Exclude given list of packages
--only
Run the script in only listed packages
--scope
Run the script in only packages with the given scope names
--deps
Level of dependencies to include regardless of --scope
, --ignore
, or --only
. Default is 10
. Set this as 0
to exclude dependencies.
--stream
Stream output from child processes immediately, prefixed with the originating package name. This allows output from different packages to be interleaved.
--parallel
Similar to --stream
, but completely disregards concurrency and topological sorting, running a given command or script immediately in all matching packages with prefixed streaming output.
--no-prefix
Disable package name prefixing when output is streaming (--stream or --parallel). This option can be useful when piping results to other processes, such as editor plugins.
--no-bail
By default, fynpo run
will exit with an error if any script run returns a non-zero exit code. Pass --no-bail
to disable this behavior, running the script in all packages that contain it regardless of exit code.
--concurrency
Number of packages to execute the script concurrently. Default is 3
.
--no-sort
By default, scripts are executed on packages in topologically sorted order as to respect the dependency relationships of the packages in question. Passs no-sort
to disable topological sorting and to execut tasks in an arbitrary order with maximum concurrency.