In the previous version, the usage of args was limited to npmlifecycle scripts like test, install, publish... Using a custom npm script like npm run whatever was not possible since the bash script split the command on whitespace. Furthermore, this rescritiong was preventing other use cases like issuing a custom command or script.
BREAKING CHANGE
In the previous version, the usage of
args
was limited tonpm
lifecycle scripts liketest
,install
,publish
... Using a custom npm script likenpm run whatever
was not possible since the bash script split the command on whitespace. Furthermore, this rescritiong was preventing other use cases like issuing a custom command or script.With this release,
args
can be any command likenpm test
npm run whatever
./run.sh
some-binary