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

ngitflow-qa

v1.0.28-snapshot.3

Published

Node Git Flow

Downloads

11

Readme

Node Git Flow

NPM Version Build Status Dependency Status NPM Downloads Install Size

A command line node module to deal with git flow

Requirements

git-flow (AVH Edition)

Links

Installation

$ npm install ngitflow --save-dev

or

$ npm install -g ngitflow

Usage

init

Initialize git-flow repository structure. Create master and develop branches. You should set your develop branch as a default branch in your git hosting service provider.

$ ngitflow init -h

  Usage: init [options]

  Options:

    -h, --help  output usage information

  Examples:

    $ ngitflow init

release

Create a new release branch and bump package.json version. Example 1.0.1-snapshot.0 becomes 1.0.1 in release branch. After release finish a new tag is created and merged back to develop and master. Version becomes 1.0.2-snapshot on develop but on master stays 1.0.1.

$ ngitflow release -h

  Usage: release [options] <action> [level]

  Options:
    
    -o, --offline  do not sync with remote
    -h, --help     output usage information

  Examples:

    $ ngitflow release start
    $ ngitflow release start minor
    $ ngitflow release start major
    $ ngitflow release finsih

feature

Create a new feature branch and bump package.json version. Example 1.0.1-snapshot.0 becomes 1.0.1-firstfeature.0. After feature finish all changes are merged back to develop and version is changed back to snapshot.

$ ngitflow feature -h

  Usage: feature [options] <action> [name]

  Options:

    -h, --help  output usage information

  Examples:

    $ ngitflow feature start
    $ ngitflow feature start firstfeature
    $ ngitflow feature finish

Recommended

You should install it as a dev dependency and then add the following to the scripts object in your package.json:

"release:start": "ngitflow release start",
"release:finish": "ngitflow release finish",
"release": "ngitflow release start && ngitflow release finish"

Possible .ngitflowrc configuration

{
    "versionFiles": [
        {"file": "projects/core/package.json", "regex": "(\"version\"\\s*:\\s*\")[\\s\\S]*?\",", "replacement": "$1$VERSION\","}
    ]
}

versionFiles is a list of any files that contains version string and you want to be updated when version in main package.json is changed. You simply define path to file, regex of matching string that you want to replace and replacement string that contains $VERSION key which is replaced with real version string before replacement in file is made.

License

This project is released under the MIT license, which can be found in LICENSE.