ape-releasing

ape framework module for releasing tasks.

Showing:

Popularity

Downloads/wk

110

GitHub Stars

1

Maintenance

Last Commit

3yrs ago

Contributors

2

Package

Dependencies

7

Size (min+gzip)

25.6KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

ape-releasing

Build Status Code Climate Code Coverage Dependency Status npm Version JS Standard

ape framework module for releasing tasks.

Usage

Release a npm Package

.apeReleasing.releasePackage() function will do:

  1. Create a git tag and push to remote.
  2. Publish package to npm.
  3. Increment package.json version number.
  4. Commit and push git local changes.
#!/usr/bin/env node
'use strict'

const apeReleasing = require('ape-releasing')

// Release a npm package
apeReleasing.releasePackage({
  beforeRelease: [ // Scripts run before releasing
    './ci/build.js',
    './ci/test.js'
  ]
}).then(() => {
  /* ... */
})

Options

Available options for .releasePackage(options, callback) method.

NameTypeValue
beforeReleasefunction[]Tasks to do before release
afterReleasefunction[]Tasks to do after release
skipInteractivebooleanSkip confirming before releasing.

License

This software is released under the MIT License.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100