A simple cli to publish npm packages in batch. It automatically increments last version number and then publishes each package to npm.
npm i -g publish-all
publish-all --folders package1,package2,folder/package3,folder2/package4
With create a new config file:
publish-all --init
This will create a .publish.conf.js
file in the current folder:
module.exports = {
folders: []
}
Add paths to packages to this file, then publish them all with:
publish-all
In both cases folders are taken relative to the folder where you run this utility, absolute paths are currently not supported, but will be supported in future.