Bundle commands.
This directory contains make
rules for generating bundles and other distributable files.
Usage: make <command> [<ENV_VAR>=<value> <ENV_VAR>=<value> ...]
Publishes a new project version to the npm package registry.
$ make npm-publish NPM_RELEASE_TYPE='patch' NPM_RELEASE_COMMIT_MESSAGE='New features'
The command supports the following environment variables:
- NPM_RELEASE_TYPE: release type (e.g.,
prepatch
,patch
,preminor
,minor
,premajor
,major
,prerelease
). - NPM_RELEASE_COMMIT_MESSAGE: release message.
This command commits changes to source control. Accordingly, this command should only be run on a clean working directory.