Spin-off from a conversation in balena-io/reconfix#40
A project's package.json may not always be in the project's root directory. The npm updateVersion preset should allow an optional targetDir to be specified, and it would then attempt to update targetDir/package.json instead of cwd/package.json.
Spin-off from a conversation in balena-io/reconfix#40
A project's
package.jsonmay not always be in the project's root directory. ThenpmupdateVersionpreset should allow an optionaltargetDirto be specified, and it would then attempt to updatetargetDir/package.jsoninstead ofcwd/package.json.