This Command Line tool is a utility for automatically publishing NPM packages based on the version number in the package.json file.
In order to use this utility you must have the following installed:
- NodeJS 12+
You can use this package without installing any global or local dependencies by running it with npx (recommended):
npx -p @brightlayer-ui/publish blui-publish -b <branch-name>
The following table list out some options for the
blui-publish command. All these options can be configured:
||(default: dev) The branch you are on.|
The branch flag is used to determine whether a latest package can be published. Latest packages may only be published for the master branch (-b master).