NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #4126 most downloaded on npm
A CLI tool to run multiple npm-scripts in parallel or sequential.
Last release 8 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 7 months
Most releases are documented
notes for 45 of 56 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
58 releases · first in 2015
52eaf86242ba408dedd015f53ca7ca368f25a026...1b41ac569987c96e224f940ff59f9699322c7824 switched ps-tree package to pidtree package for security reason.
ps-tree package to pidtree package for security reason.Nothing published for this version
One column per quarter.
d56c26873f69bdf5272d93a678a721818f65c0d4 improved label colors
! makes npm-run-all confusing.096779b4a96ca0d948285c7037d7cf1279f2b065 fixed the problem that --aggregate-output option does not work if child tasks print large output (#111). Than
--aggregate-output option does not work if child tasks print large output (#111). Thank you, @jlopezxs!--aggregate-output option does not work on npm-run-all command.yarn (#113).fbd40244e259721d2c72c68365c52dd996927d15 fixed a regression bug of --print-name.
--print-name.e07e7821cce8c81f82c45c67ea25bcdeb9667094 add --aggregate-output option. This option avoids that the output of tasks is mixed even if parallel mode. Do
--aggregate-output option. This option avoids that the output of tasks is mixed even if parallel mode. Don't use this option if a task never finishes (e.g. web server, file watching, ...).npm-run-all shows MaxListenersExceededWarning warnings if it runs many tasks in parallel.b90575b0c9843d930680e27827fef49178a12d07 fixed unintentional failing of the assertion check about --race option. If there is a mix of --parallel and -
--race option. If there is a mix of --parallel and --serial then --race option had failed always. (fixes #88).bb9e627406fd98933e237358c731ea74b5fd1634 fixed the problem of npm_execpath on Mac/Linux (#84). Thank you, @bmarcaur !
npm_execpath on Mac/Linux (#84).:bamboo: A happy new year! :bamboo:
:bamboo: A happy new year! :bamboo:
npm. Before, it was using npm command which is in environment variable PATH. Now, it uses the path of environment variable NPM_EXECPATH. If the NPM_EXECPATH is not defined, it uses the old way.NPM_EXECPATH is set by npm in npm run-script command. This implies that npm-run-all uses npm which is running itself to run tasks.
yarn. yarn run set the NPM_EXECPATH as similar to npm run-script.--max-parallel option. You can limit the number of parallelism by this option.--npm-path option. You can specify the path of npm by this option. For example, npm-run-all foo --npm-path npm keeps the old behavior.--print-label option. Thank you, @nulltask !881c32fa0f5e1f401d39b9dac76a177adf6e9649 fixed that npm-run-all --version command had been broken.
npm-run-all --version command had been broken. (#70)e874a966b80f98df660c9657ab9159b9d9451f3b changed npm-run-all using npm run command instead of npm run-script command.
npm-run-all using npm run command instead of npm run-script command.09507bcd326da38aa6e099e700fb5e659a4f17a7 added supporting $npm_config_xxx (fixes #60)
09507bcd326da38aa6e099e700fb5e659a4f17a7 added supporting $npm_config_xxx (fixes #60)
npm run-script command has supported --name=value style options. This style options make environment variables $npm_config_name (%npm_config_name% on Windows), then we can use those environment variables in npm-scripts. Now npm-run-all also got supports of the --name=value style options and $npm_config_name variables.
For examples:
{
"scripts": {
"echo": "echo $npm_config_foo"
}
}
$ npm run echo --foo=777
777
$ npm-run-all echo --foo=888
888
Breaking Changes (and new features):
Breaking Changes (and new features):
run-s "foo {1}" is evaluated to run-s "foo "). Until v2.3.0, the {1} is remained.run-s "start -- --port={1:=3000}"). This notation is similar to Shell Parameters. Currently, npm-run-all is supporting {parameter:-word} and {parameter:=word}.c24d1718eca354aab68b61f35da3be8a52c34ac4 --race option for a parallel execution. (#42) When a script finished even if the exit code is zero, npm-run-a
Features:
--race option for a parallel execution. (#42)npm-run-all kills other scripts. This is useful in order to run a test server and a test runner in parallel.shell-quote - https://nodesecurity.io/advisories/shell-quote_command-injection
Upgrade Dependencies:
minimatch - https://nodesecurity.io/advisories/minimatch_regular-expression-denial-of-service
Upgrade dependencies:
97a1649ec6bfb73796f84ce6c0c7ab40479b894d Argument Placeholders feature was added (#44). Read more. Thank you @robario !
Features:
Upgraded cross-spawn package to 4.0.0.
Upgrade:
4.0.0.Switched cross-spawn-async to cross-spawn (fixes #40). cross-spawn-async has been deprecated.
Upgrade:
cross-spawn-async to cross-spawn (fixes #40).cross-spawn-async has been deprecated.Node API came to give results of child processes. See also: https://github.com/mysticatea/npm-run-all/blob/master/docs/node-api.md
Features:
Node API came to give results of child processes. See also: https://github.com/mysticatea/npm-run-all/blob/master/docs/node-api.md
runAll(["clean", "lint", "build"])
.then(results => {
console.log(`${results[0].name}: ${results[0].code}`); // clean: 0
console.log(`${results[1].name}: ${results[1].code}`); // lint: 0
console.log(`${results[2].name}: ${results[2].code}`); // build: 0
});
New shorthand commands: run-s and run-p. Those are more simple commands than npm-run-all to cover most use cases.
Features:
npm-run-all to cover most use cases.
Breaking Changes:
--continue-on-error option has been changed the behavior. On 1.x, if the option was specified, npm-run-all command exited with 0. But on 2.0.0, even if the option was specified, npm-run-all command will exit with a non-zero code if a npm-script exited with a non-zero code.--print-label, --print-name, and --continue-on-error options have been changed the behavior. On 1.x, the effect of those options was applied to only one script group. But on 2.0.0, the effect of those options will be applied to whole a command.npm-run-all -s aaa bbb -p ccc ddd --print-label, in this case the command has 2 script group, aaa bbb and ccc ddd. Then, on 1.x, --print-label will effect to only ccc ddd. On the other hand, on 2.0.0, --print-label will effect to all of aaa, bbb, ccc, and ddd.-S and -P shorthand options have been removed. Please use originating options: -c and -c -p.0a600e59d651283bcdc888b75e377488b47e427e - --print-name option has been added (#35). When this option was specified, npm-run-all prints task names bef
Features:
--print-name option has been added (#35).npm-run-all prints task names before running the tasks.--silent option or similar npm configulation.
--print-label option has been added (#23).npm-run-all prints task names as prefix for each line of output.--parallel option. But there is a known limitation, some tools get stopping coloring when this option was specified.0a93527dc9838dbb00f944c3f9dba93c8b186233 --continue-on-error option was added (fixes #34). When this option was specified, npm-run-all continues subse
New Features:
0a93527dc9838dbb00f944c3f9dba93c8b186233 --continue-on-error option was added (fixes #34).
When this option was specified, npm-run-all continues subsequence on error.
npm-run-all --sequential --continue-on-error foo bar # shorthand: npm-run-all -S foo bar
npm-run-all --parallel --continue-on-error foo bar # shorthand: npm-run-all -P foo bar
5f5d26faa1dfde744ec1a11f1ed1d2fcc6b14583 --serial option has been added as a synonym of --sequential option (#30) Thank you @sarbbottam!
New Features:
--serial option has been added as a synonym of --sequential option (#30)c4a86daec725abfbe1e56571c244b629aff16a4a Added a workaround for Git Bash for Windows (#24, #25)
Bug Fixes:
Nothing published for this version
413e45d087c0ca3a27342b77c3e636b253e8324b Improved Windows Supports (#26) Previously, npm-run-all has been failing if npm was installed to a path which
Bug Fixes:
npm-run-all has been failing if npm was installed to a path which includes space(s).
Now this problem has fixed. Thanks @BarryThePenguin and cross-spawn-async!Known Issues:
npm-run-all might hang up. (#24)nodemon has been reported. (#25)I'm investigating those issues.
36316eadb020e99c1ce7a86d8b5806f7efb8390c If the given tasks were not found, npm-run-all came to report an error (#19).
Bug Fixes:
npm-run-all came to report an error (#19).87aedbf187f2e554e9d6654c9475f4c93cd0ba91 --silent option was added. If this option was given, the log level of npm becomes silent (#18).
New Feature:
--silent option was added.
If this option was given, the log level of npm becomes silent (#18).npm-run-all came to transfer overwritten config values to nested calls (#13).
npm-run-all came to transfer overwritten config values to nested calls (#13).- Fix broken on Node.js v0.10.x
Add about the behavior of non-zero-exit.
Stopped using detach option to kill child processes with Process Group Id. Now, npm-run-all is using ps-tree then kills child processes.
detach option to kill child processes with Process Group Id.
Now, npm-run-all is using ps-tree then kills child processes.Nothing published for this version
Added the support of overwritten configuration options (#13). You can use "--packageName:fieldName=value" options to overwrite package.json's config f
Added the support of overwritten configuration options (#13).
You can use "--packageName:fieldName=value" options to overwrite package.json's config field.
> npm-run-all build:* start --my-package:port=3000
Improved the logic to kill child processes on UNIX-like platforms.
Now npm-run-all kills child processes by using Process Group ID.
I did refactoring npm-run-all's code.
Nothing published for this version
It comes to not skip duplication of tasks (#12).
Added a support for built-in tasks of npm.
restartenvFixed a problem around using stdin in scripts.
What happened? q prefix!?
I used npm version patch merely...
Nothing published for this version
Nothing published for this version
Made CLI using inherit option for stdio of child processes (fixes #8).
inherit option for stdio of child processes (fixes #8).Nothing published for this version
Now, when this runs tasks in parallel, if one of tasks exited with an error, this kills all tasks. So far the tasks are remained.
Nothing published for this version
- Update dependencies. - Slim down npm-scripts.
Upgraded power-assert, Babel 5.x was supported.
power-assert, Babel 5.x was supported.npm-run-all is using myself in its package.json. This had been turn off temporally to support Node 0.10.x.
npm-run-all is using myself in its package.json.foo had run abc:foo task. This was a broken behavior.
foo had run abc:foo task.New feature that glob-like matching notations.
npm-run-all received the first PR.
Thanks @k88hudson for your works!
Nothing published for this version
Nothing published for this version
Nothing published for this version
` npm-run-all --sequential clean lint --parallel watch:html watch:js mocha `
npm-run-all --sequential clean lint --parallel watch:html watch:js mocha
--sequential/--parallel options make a group of tasks.
--sequential option runs the tasks on sequential.
--parallel option runs the tasks on parallel.
On whole, runs groups on sequential.
Nothing published for this version
options.stdin has documented, but had not implemented.
options.stdin has documented, but had not implemented.CLI is not changed.
Use npm-run-all in my package.json.
Use npm-run-all in my package.json.
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →