0.0.3 • Published 1 year ago
@bemedev/publish-command v0.0.3
npm Command
This library evaluates the npm command to run based on the current working directoryand the conventional commit message. It modifies the version of the package.json file and generates a npm publish command.
Installation
npm install --save-dev @bemedev/publish-command # or
yarn add -D @bemedev/publish-command # or
pnpm add -D @bemedev/publish-command
Usage
import publish from '@bemedev/publish-command';
// And simply
publish(/** packageJSON */);
/** optional : add custom path for package.json if needed */
N.B: The function is asynchronous.
//TODO: Add ChangeLog