Update dependency concurrently to v4
This MR contains the following updates:
Package | Type | Update | Change | References |
---|---|---|---|---|
concurrently | devDependencies | major |
^2.0.0 -> ^4.0.0
|
source |
Release Notes
kimmobrunfeldt/concurrently
v4.1.1
- bin: pass
--prefix-length
argument through (#189)
v4.1.0
- Add yarn support (#171 -- big thanks to @igrayson!)
- bin: fix
concurrently --version
- docs: clarify API's
successCondition
option (#176)
v4.0.1
- Make success condition respect exiting order (as per docs), instead of command spec order
v4.0.0
More than anything, v4 is just a big refactor to allow changes to be made faster and more reliably.
It does feature some small breaking changes, and maybe even fixes some longstanding bugs.
Breaking changes
-
The CLI option
--allow-restarts
is no more. Instead, just set--restart-tries
to something greater than0
. -
Input handling is now opt-in via
--handle-input
flag. (#147)
It does come with some specific input parsing that would make it difficult for you to use it with some tools. -
Setting prefix to
none
will now actually not prefix commands' outputs.
Previously, it would prefix with[]
. -
SIGINT
s/Ctrl+C will now be handled gracefully. (#150) No more exiting with code1
or tweaking--success
flag.
null
exit codes (#133)
No more That's a pretty bad bug that existed till now. You won't see a log like this anymore:
[1] npm run lint-watch exited with code null
What you will see going forward is the actual exit signal:
[1] npm run lint-watch exited with code SIGTERM
For Windows users, this will invariably still be exit code 1
.
✨ programmatic API!
concurrently finally gets a shiny Closes #101, #112. Maybe even #103.
const concurrently = require('concurrently');
await concurrently([
'npm:watch-*',
{ name: 'server', command: 'nodemon' }
], {
prefix: 'name',
killOthers: ['failure'],
restartTries: 3
});
Check the docs here for some info on how to use it.
v3.6.1
- Fix inability to change the prefix to a template like
{time}-{pid}
(#152)
v3.6.0
- Expand
npm:
prefix tonpm run
(#126) - Support wildcard expansion for
npm:something-*
/npm:*
-like commands (#140) - Handle stdin (#121, #128)
- Upgrade own chalk version (#146)
BIG thanks to @pgraham for contributing with the most important changes of this version!
v3.5.1
v3.5.0
- Add flags for restarting processes:
--allow-restart
,--restart-after
,--restart-tries
(#48, #100) - Default
--prefix
toname
when--names
is set (#97)
v3.4.0
- Don't try to kill other processes while they are already being killed (#92, #91)
- Add new
--kill-others-on-fail
flag (#93, #64, #55) - Remove kill delay
This feature would cause more problems than it would help as per comments on #92. Could perhaps be added back in the future.
v3.3.0
Switch spawn-default-shell with spawn-command due to lots of problems in v3.2.0.
v3.2.0
- Add support for colors in subprocesses when they use chalk (#49, #86, #87)
- Fix killing processes in Windows gitbash (#74, #67)
- Upgrade spawn-default-shell dependency to v2.0.0. This means that shells in Linux and Mac will spawn with the
--login
flag, allowing you to make use of/etc/profile
,~/.profile
, and etc (#81) - The timestamps are now handled by date-fns instead of Moment.js. They share the same date format patterns. (#77)
Also, this version drops support for Node 0.12. We're only supporting Node 4+.
v3.1.0
Bumps spawn-default-shell to 1.1.0: https://github.com/kimmobrunfeldt/spawn-default-shell/releases/tag/1.1.0
v3.0.0
This release includes huge amount of improvements. Major updates:
- Fix issues with Windows and Appveyor CI was added to ensure Windows compability
- Improve shell support. spawn-default-shell is used to spawn shell commands. It uses the best available shell on your platform. You can also customize the used shell with SHELL and SHELL_EXECUTION_FLAG environment variables. Minor caveat: it means that e.g. piping works on your linux machine but may not work as expected on Windows. This leaves more responsibility to the users of concurrently.
- Handle SIGTERM and SIGINT signals correctly
Closes these MRs: #58 #57 #56 #53 #47 #45 #43 #42 #40 #21. Closes these issues: #52 #50 #41 #31 #28 #7 #3.
Renovate configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.