bumped-terminal
Executes whatever terminal command inside as bumped plugin.
Last updated 2 months ago by kikobeats .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install bumped-terminal 
SYNC missed versions from official npm registry.

bumped-terminal


bumped

Last version Dependency status Dev Dependencies Status NPM Status Donate

Executes whatever terminal command inside bumped as prerelease or postrelease action.

Configure your .bumpedrc adding a entry for bumped-terminal as the follow example:

files: [
  'package.json'
]

plugins:

  prerelease:
    'Linting config files':
      plugin: 'bumped-finepack'

  postrelease:

    'Generating CHANGELOG file':
      plugin: 'bumped-changelog'

    'Commiting new version':
      plugin: 'bumped-terminal'
      command: 'git add CHANGELOG.md package.json && git commit -m "Release $newVersion"'

which produces the following output:

example

Install

You don't need to install it! Bumped automatically resolve the plugins dependencies. However if you still want to do so must be globally accessible:

$ npm install -g bumped-terminal

The plugin provide you a serie of keywords for use in your commands as well:

  • $newVersion: Alias for bumped._version (the current semver version).
  • $oldVersion: Alias for bumped._oldVersion (the before semver version).

Additionally you can provide child_process.spawn#options

API

command

Required Type: string

Command to be executed. You can use the follow template words:

  • $newVersion: The bumped version before the release.
  • $oldVersion: The bumped version after the release.

opts

Type: object

Additional options to be passed to execspawn.

License

MIT © Bumped

Current Tags

  • 0.8.1                                ...           latest (2 months ago)

24 Versions

  • 0.8.1                                ...           2 months ago
  • 0.8.0                                ...           4 months ago
  • 0.7.8                                ...           a year ago
  • 0.7.7                                ...           a year ago
  • 0.7.6                                ...           2 years ago
  • 0.7.5                                ...           2 years ago
  • 0.7.4                                ...           2 years ago
  • 0.7.3                                ...           3 years ago
  • 0.7.2                                ...           4 years ago
  • 0.7.1                                ...           4 years ago
  • 0.7.0                                ...           4 years ago
  • 0.6.3                                ...           4 years ago
  • 0.6.2                                ...           4 years ago
  • 0.6.1                                ...           4 years ago
  • 0.6.0                                ...           4 years ago
  • 0.5.0                                ...           5 years ago
  • 0.4.0                                ...           5 years ago
  • 0.3.4                                ...           5 years ago
  • 0.3.3                                ...           5 years ago
  • 0.3.1                                ...           5 years ago
  • 0.2.0                                ...           5 years ago
  • 0.1.2                                ...           5 years ago
  • 0.1.1                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 5
Dependencies (4)
Dev Dependencies (12)

Copyright 2014 - 2016 © taobao.org |