Giter VIP home page Giter VIP logo

fbi-task-commit's Introduction

fbi-task-commit

git commit and npm publish flow, formatting commit messages with commitizen.

This is a fbi task. If you haven't installed fbi yet, use the following command to install.

$ npm i -g fbi or yarn global add fbi

Requirements

  • fbi v3.0+
  • node v7.6+

Features

  • flow of git add, git commit, git push, git tag, npm version major/minor/patch, npm publish, and changelog generation
  • formatting commit messages with commitizen
  • version standard: Semantic Versioning
  • git commit and changelog style: Angular commit style
    • commit message format: type(scope): subject
    • commit types: cz-fbi
    • changelog: only new features, bug fixes, breaking changes will show in CHANGELOG.md

Format

<type>(<scope>): <subject>

<body>

<footer>

Usage

Install

$ fbi add https://github.com/fbi-templates/fbi-task-commit.git

Run

$ cd path/to/git/repository
$ fbi commit

Demo

  • ? type of change (required): feat ✨ Introducing new features

  • ? affected scope (optional): page

  • ? short description (required): add a new page

  • ? longer description (optional): \n - first \n - second \n - third

  • ? issue closed (optional): #666 #999

  • ? breaking change (optional): some breaking changes

    result:

    feat(page): add a new page
    
    - first
    - second
    - third
    
    fixed #666, fixed #999
    
    BREAKING CHANGE:
    some breaking changes

Configs

package.json

{
  "name": "",
  "version": "",
  ...
  "cz-fbi": {
    "types": [
      {
        "emoji": "",
        "description": "Introducing new features",
        "name": "feat"
      },
      ...
    ],
    "scopes": ["page", "api", ...]
  }
}

More

License

MIT

fbi-task-commit's People

Contributors

neikvon avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.