unleash
Unleash your code into the wild yonder
Last updated 5 years ago by jameswomack .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ npm install unleash 
SYNC missed versions from official npm registry.

Bad Release

Professionally publish your JavaScript modules in one keystroke

Key Features

  • Updates your version according to semantic versioning
  • Runs your tests or any other prepublish scripts you've defined in package.json
  • Updates your changelog according to the conventional changelog spec
  • Publishes your module to NPM (optionally turned off via --no-publish)
  • Pushes your code and tags to git (optionally turned off via --no-push)
  • Supports changelog links for both Github & Bitbucket Enterprise (formerly Stash)
  • Automatically recovers from errors by safely resetting to the git state prior to running unleash
  • Features a "dry run" mode for most commands that will allow you to preview what change unleash will make before it makes them
  • Allows you to preview what files will and won't be published to NPM (--list-publishables)
  • Works w/ Node versions all the way back to 4.8.5

Convince your manager (Why use Unleash?)

  • Unleash eats its own dogfood. Unleash is used to release itself
  • Unleash eliminates common time-wasting / colleague-confusing mistakes such as forgetting to tag your releases, update your changelog or forgetting to publish your module)
  • Unleash encourages use of software comprehension conventions such as the CHANGELOG by making it dead easy
  • Unleash encourages you to make git commit messages that make sense to everyone in your organization
  • Unleash is constructed from battle-tested and well-understood open source modules such as npm, vinyl-fs, yargs, chalk & semver. Additionally, the architecture of Unleash is partially based on Gulp
  • Unleash uses the Angular Conventional Changelog manner of using git commit conventions
  • Unleash takes inter-organizational compatibility seriously—most any version of Node being used by a team will work with Unleash

CLI Examples

Execute a Dry Run of Publishing a Patch Release

unleash -p -d

OR...

unleash --patch --dry-run

Execute a Patch Release

unleash -p

OR...

unleash --patch

Execute a Major Release

unleash -M

OR...

unleash --major

Execute a Major Package Version Increment w/o Publishing to NPM

unleash -M --no-publish

Execute a Major NPM Release w/o Pushing to git

unleash -M --no-push

Execute a Minor Release to a Bitbucket Enterprise Repository

unleash -m -r bitbucket

OR...

unleash --minor --repo-type bitbucket

View which files will be published to NPM

This can be helpful in ensuring your package is being published with the least amount of files possible, while also ensuring you have all the files you need. We use this to eliminate files like .eslintrc and .tern-project.

unleash -ls

OR...

unleash --list-publishables

Publish your project's documentation to Github Pages

Manually leveraging Github's Pages feature can be tedious. You need to maintain a branch that's orphaned from master and yet is based on assets and/or tasks from master. Unleash can help by allowing you to publish files matching a quoted glob string to gh-pages from the comfort of the branch you normally work on.

unleash --gh
# defaults to "./docs/**/*"

OR...

unleash --ghpages-deploy --ghpages-path "./public/**/*"

Git Commit Convention Examples

perf(pencil): remove graphiteWidth option
fix(graphite): stop graphite breaking when width < 0.1
feat(pencil): add 'graphiteWidth' option

Installation

# Global w/ latest stable release
npm i unleash -g

OR...

# Locally saved w/ exact version
npm i unleash -DE

Supported Version Types

  • Major -M | --major
    • E.g. "2.6.4" => "3.0.0"
  • Minor -m | --minor
    • E.g. "2.6.4" => "2.7.0"
  • Patch -p | --patch
    • E.g. "2.6.4" => "2.6.5"
  • Prerelease -P | --prerelease
    • E.g. "2.6.4-beta.0" => "2.6.4-beta.1"

Badge-o-rama

Travis badge

Current Tags

  • 2.0.2                                ...           latest (5 years ago)

27 Versions

  • 2.0.2                                ...           5 years ago
  • 2.0.1                                ...           7 years ago
  • 2.0.0                                ...           7 years ago
  • 2.0.0-beta.8                                ...           7 years ago
  • 2.0.0-beta.7                                ...           7 years ago
  • 2.0.0-beta.6                                ...           7 years ago
  • 2.0.0-beta.2                                ...           7 years ago
  • 1.6.1                                ...           7 years ago
  • 1.6.0                                ...           7 years ago
  • 1.5.0                                ...           8 years ago
  • 1.4.0                                ...           8 years ago
  • 1.3.0                                ...           8 years ago
  • 1.2.6                                ...           8 years ago
  • 1.2.3                                ...           8 years ago
  • 1.2.2                                ...           9 years ago
  • 1.2.1                                ...           9 years ago
  • 1.2.0                                ...           9 years ago
  • 1.1.2                                ...           9 years ago
  • 1.1.1                                ...           9 years ago
  • 1.1.0                                ...           9 years ago
  • 1.0.8                                ...           9 years ago
  • 1.0.7                                ...           9 years ago
  • 1.0.5                                ...           9 years ago
  • 1.0.3                                ...           9 years ago
  • 1.0.3-0                                ...           9 years ago
  • 1.0.2                                ...           9 years ago
  • 1.0.1                                ...           9 years ago
Downloads
Total 1
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (23)
Dev Dependencies (10)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE