Skip to content

Latest commit

 

History

History

dist

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Bundle

Bundle commands.

This directory contains make rules for generating bundles and other distributable files.

Usage

Usage: make <command> [<ENV_VAR>=<value> <ENV_VAR>=<value> ...]

Commands

npm-publish

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.