rochejul / npmversion

A command line node module to deal with "bumping" and "npm version"
MIT License
8 stars 2 forks source link

Increase Max buffer #12

Closed rochejul closed 6 years ago

rochejul commented 6 years ago

Increase the maxBuffer when we use the spawn and exec childProcess's methods with a parameter like:

npmversion --max-buffer=99999999999999 ...

Or with a system variable Or from the .rc file

rochejul commented 6 years ago

Set a default value to 20Mo

rochejul commented 6 years ago

Similar to https://github.com/lerna/lerna/blob/417e67deb7282ea368a4211ed2a728467143675a/README.md#--max-buffer-in-bytes

https://github.com/lerna/lerna/blob/a98c029e6ec89c13e39e31878e7dd98de3cd3a5e/src/Command.js#L144