1.1.2 • Published 7 years ago
publish-all v1.1.2
publish-all
A simple cli to publish npm packages in batch. It automatically increments last version number and then publishes each package to npm.
Release Notes
- v1.1.0:
--helpand--thiscommand arguments added
Installation
npm i -g publish-allTo see help:
publish-all --helpUsage
without config file
publish-all --folders package1,package2,folder/package3,folder2/package4with config file
Create a new config file:
publish-all --initThis 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-allIn 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.
publish just current folder
To bump version and publish just current folder:
publish-all --this