npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

gulp-modular-release

v0.5.3

Published

Modular extension to release projects using git-flow release strategy

Downloads

22

Readme

gulp-modular-release npm version Dependency Status

Modular extension to release projects using git-flow release strategy.

Works well alone or together with gulp-modular.

Installation

npm install gulp-modular-release --save-dev

Integration in gulpfile

var gulp = require('gulp');
var gulpModularRelease = require('gulp-modular-release');

// optionally overwrite default configuration
var config = {

  //// task [`release`] creates a new release
  release: {
  //  versionNumber: argv.v, // the version number of the new release
  //  bumpFiles: ['./package.json', './bower.json'], // write version number to these files, cordova config.xml is also supported
  //  changelogFile: './CHANGELOG.md', // generate changelog in this file
  //  conventionalChangelog: 'angular', // choose preset style like: : 'angular', 'atom', 'eslint', 'jscs', 'jshint'
  //  commitMessage: 'bump version number ' + argv.v, // message of bump commit
  //  tagPrefix: '', // define a prefix like 'v' for the git tag
  //  masterBranch: 'master', // the projects master branch
  //  developBranch: 'develop', // the projects develop branch
  //  releaseBranch: 'release/' + argv.v // the release branch created while releasing
  //  push: false // push change to remote repository
  }
};
  
gulpModularRelease(gulp, config);

Usage

gulp release

or

gulp release -v 1.2.3

or

gulp relrease -b hotfix/foobar

or

gulp relrease -b hotfix/foobar -v 1.2.3

(If no version is specified the next version is generated using conventional-recommended-bump.)

Strategy

  1. checks out develop branch and pulls origin for changes (pull --only-ff)
  2. creates branch release/1.2.3 from develop (just without -b option)
  3. sets version number to bower.json and package.json
  4. generates and writes changelog via conventional changelog to CHANGELOG.md
  5. commits the previous changes
  6. merges release/1.2.3 (or the specified branch) into master and tags it with v1.2.3
  7. merges master into develop
  8. deletes branch release/1.2.3 (or the specified branch)
  9. checks out develop
  10. (optionally) pushes changes to remote repository