Skip to content

Latest commit

 

History

History
82 lines (47 loc) · 2.04 KB

File metadata and controls

82 lines (47 loc) · 2.04 KB

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.