github mysticatea/npm-run-all v2.0.0

latest releases: v4.1.5, v4.1.3, v4.1.4...
8 years ago

Features:

  • New shorthand commands: run-s and run-p. Those are more simple commands than npm-run-all to cover most use cases.
    • run-s runs given npm-scripts sequencially. This is the shorthand of npm-run-all -s.
      e.g. run-s clean lint build:*
    • run-p runs given npm-scripts in parallel. This is the shorthand of npm-run-all -p.
      e.g. run-p "build:* -- --watch"

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.
    For example, 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.

Don't miss a new npm-run-all release

NewReleases is sending notifications on new releases.