nve v3.0.0 Release Notes
Release Date: 2019-10-07 // over 4 years ago-
๐ฅ Breaking changes
nve VERSION
must now be followed bynode
. For examplenve 8
should now benve 8 node
andnve 8 file.js
should benve 8 node file.js
.- ๐ The
NVE_PROGRESS
environment variable has been removed. The--no-progress
option should be used instead. - ๐ The programmatic usage has changed: please see the new API
๐ Features
- โ
Global binaries can now be executed such as
nve 8 npm test
. Keep in mind that the binary must be compatible with the chosen Node.js version. For examplenpm
is only compatible with Node>=6
. - Local binaries can be executed as well
- โ Add the
--shell
option to run a command inside a shell - โ Add the
--mirror
option to change the base URL to retrieve Node.js binaries - โ Add the
--help
and--version
CLI flags - Execa is now used under the hood which provides with additional features and options when run programmatically
๐ Bug fixes
- If the script spawns child processes, those will now use the correct Node.js version
- Ensure
nve
does not exit untilstdout
andstderr
have been flushed