• Stars
    star
    392
  • Rank 109,735 (Top 3 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 8 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ“ Extend git commit message from angular style

git-commit-message-convention

Extend git commit message from angular style

Commit Message Format

All Commit Message Format MUST meet this Text Format:

[:<Emoji>: ][<Type>[(<Scope>)]: ]<Subject>
[<BLANK LINE>]
[<Message Body>]
[<BLANK LINE>]
[<Message Footer>]

Types

Type Description
new for new feature implementing commit
feature for new feature implementing commit (equal new)
update for update commit
bug for bug fix commit
security for security issue fix commit
performance for performance issue fix commit
improvement for backwards-compatible enhancement commit
breaking for backwards-incompatible enhancement commit
deprecated for deprecated feature commit
i18n for i18n (internationalization) commit
a11y for a11y (accessibility) commit
refactor for refactoring commit
docs for documentation commit
example for example code commit
test for testing commit
deps for dependencies upgrading or downgrading commit
config for configuration commit
build for packaging or bundling commit
release for publishing commit
wip for work in progress commit
chore for other operations commit

If the prefix is the below types, it will appear in the changelog.

  • new (feature)
  • bug
  • performance
  • security
  • improvement
  • deprecated
  • breaking

Scope

The scope could be anything specifying place or category of the commit change. For example $location, $browser, $compile, $rootScope, ngHref, ngClick, ngView, feature1, etc...

Subject

The subject contains succinct description of the change:

  • use the imperative, present tense: "change" not "changed" nor "changes"
  • don't capitalize first letter
  • no dot (.) at the end

Message Body

Just as in the Subject, use the imperative, present tense: "change" not "changed" nor "changes". The body should include the motivation for the change and contrast this with previous behavior.

Message Footer

The Message Footer should contain any information about Notes and also Message Footer should be recommended GitHub Issue ID Reference, Ex. Issue #27, Fixes #1, Closes #2, Resolves #3.

Notes should start with the word NOTE: with a space or two newlines. The rest of the commit message is then used for this.

Revert

If the commit reverts a previous commit, it should begin with revert:, followed by the header of the reverted commit. In the body it should say: This reverts commit ., where the hash is the SHA of the commit being reverted.

Emojis

Emoji Raw Emoji Code Type Description
โญ :star: new or feature add new feature
๐Ÿ› :bug: bug fix bug issue
๐Ÿš‘ :ambulance: bug critical hotfix bug issue
๐Ÿ”’ :lock: security fix security issue
๐Ÿ“ˆ :chart_with_upwards_trend: performance fix performance issue
โšก :zap: improvement update backwards-compatible feature
๐Ÿ’ฅ :boom breaking update backwards-incompatible feature
โš ๏ธ :warning: deprecated deprecate feature
๐ŸŒ :globe_with_meridians: i18n update or fix internationalization
โ™ฟ :wheelchair: a11y update or fix accessibility
๐Ÿšจ :rotating_light: refactor remove linter/strict/deprecation warnings
๐Ÿ‘• :shirt: refactor refactoring or code layouting
โœ… :white_check_mark: test add tests, fix tests failur or CI building
๐Ÿ“ :pencil: docs update documentation
ยฉ๏ธ :copyright: docs decide or change license
๐Ÿญ :lollipop: example for example or demo codes
๐Ÿ’„ :lipstick: update update UI/Cosmetic
๐Ÿ†™ :up: update update other
๐Ÿšš :truck: update move or rename files, repository, ...
๐Ÿ”€ :twisted_rightwards_arrows: update merge conflict resolution
โž• :heavy_plus_sign: update add files, dependencies, ...
โž– :heavy_minus_sign: update remove files, dependencies, ...
๐Ÿ”› :on: update enable feature and something ...
โฌ†๏ธ :arrow_up: deps upgrade dependencies
โฌ‡๏ธ :arrow_down: deps downgrade dependencies
๐Ÿ“Œ :pushpin: deps pin dependencies
๐Ÿ”ง :wrench: config update configuration
๐Ÿ“ฆ :package: build packaging or bundling or building
๐Ÿณ :whale: build Dockerfile
๐Ÿฃ :hatching_chick: release initial commit
๐ŸŽŠ :confetti_ball: release release major version
๐ŸŽ‰ :tada: release release minor version
โœจ :sparkles: release release patch version
๐Ÿš€ :rocket: release deploy to production enviroment
๐Ÿ”– :bookmark: release tagged with version label
๐Ÿ”™ :back: revert revert commiting
๐Ÿšง :construction: wip WIP commiting

Ask to Be Creative!

Examples

new:

:star: new(graphite): add 'graphiteWidth' option

bug fix:

:bug: fix(graphite): stop graphite breaking when width < 0.1

Closes #28

improve performance:

:chart_with_upwards_trend: performance(graphite): remove graphiteWidth option

The graphiteWidth option has been removed. The default graphite width of 10mm is always used for performance reason.

revert:

:back: revert: new: add 'graphiteWidth' option

This reverts commit 667ecc1654a317a13331b17617d973392f415f02.

Support tools

conventional-changelog

You can use with conventional-changelog-cli and conventional-github-releaser.

e.g. conventional-changelog-cli:

$ npm i --save-dev git://github.com/kazupon/git-commit-message-convention.git
$ conventional-changelog -i CHANGELOG.md -s -n ./node_modules/git-commit-message-convention/convention.js -r 0

e.g. conventional-github-releaser:

$ conventional-github-releaser -n ./node_modules/git-commit-message-convention/convention.js -r 0

TODO

  • support conventional commit tools (e.g. conventional-changelog)
  • lint
  • cli
  • create a conventional commit tools with golang

License

MIT

MIT

More Repositories

1

vue-i18n

๐ŸŒ Internationalization plugin for Vue.js
JavaScript
7,139
star
2

vue-validator

โœ… Validator component for Vue.js
JavaScript
2,204
star
3

vue-plugin-boilerplate

๐Ÿ”ฉ Boilerplate for Vue.js plugin
JavaScript
145
star
4

vue-cli-plugin-p11n

๐Ÿ”Œ Vue CLI 3 plugin to pluginize your Vue project
JavaScript
115
star
5

vue-router-hackernews

HackerNews clone with vue.js + vue-router
JavaScript
29
star
6

vite-test-utils

Test utilties for Vite Application
TypeScript
29
star
7

api-docs-gen

๐Ÿ“– API Documentation generator from `api-extractor` doc model
TypeScript
27
star
8

nuxt-i18n

TypeScript
17
star
9

msgpack-as

MessagePack implementation with AssemblyScript for WebAssembly
TypeScript
15
star
10

gh-changelogen

Changelog generator for GitHub Releases
TypeScript
14
star
11

nuxt-i18n-next

TypeScript
12
star
12

vue-handson-beginner

๐Ÿ”ฐ Vue.js Hands-on for beginner
12
star
13

node-mappedbuffer

C++
11
star
14

vue-hakoniwa

๐ŸŒต My experimental playground for vue.js 2.0
HTML
9
star
15

issue-count-action

An Action to count GitHub issues
JavaScript
7
star
16

socket.io-zeromq

socket.io adapter zeromq implementation
JavaScript
6
star
17

AcceleratedBell

This iPhoneApp ring the bell by accelerometers.
Objective-C
6
star
18

Enviroments

My Enviroments
Shell
6
star
19

vue-render

Server-Side rendering plugin of Vue.js
JavaScript
5
star
20

wagyan

The Next UI Development Enviroment for Vue.js
Vue
5
star
21

nuxt-content-blog

this is blog sandbox with @nuxt/content
Vue
4
star
22

socket.io-zeromq-server

socket.io pub-sub server zeromq implementation
JavaScript
4
star
23

web-ui-toolkit

html, css, and javascript toolkit.
JavaScript
3
star
24

vue-provide-inject-sample

Vue
3
star
25

nuxt2-monorepo-example

Vue
3
star
26

pnpm-run-sandbox

JavaScript
3
star
27

kyotocabinet-node

kyotocabinet bindings for Node.js
JavaScript
3
star
28

libuv-lua

libuv lua binding
C
3
star
29

my-first-nuxt3

Vue
3
star
30

kyotocabinet-lua

kyotocabinet-lua
Shell
3
star
31

sandbox-github-actions

JavaScript
3
star
32

esbuild-register-sandbox

TypeScript
3
star
33

vue-sfc-playground

๐Ÿญ SFC building on the browser with uniroll
TypeScript
3
star
34

vue-server-express-demo-example

JavaScript
3
star
35

vue-i18n-continuous-localization-demo

Vue
3
star
36

sugarjs-to-dayjs-example

This example is migration to Dayjs from Sugarjs
TypeScript
3
star
37

nuxt-vite-bundling-repro

Vue
2
star
38

SabaDB

Pluggable event driven cache/storage server
2
star
39

pnpm-override-deps-example

This is pnpm override example
TypeScript
2
star
40

kazupon

2
star
41

kyotocabinet

C++
2
star
42

Twitter2MixiVoice

Post twitter tweet to mixi voice.
Ruby
2
star
43

es6-virtual-dom

A virtual DOM re-Implemented with ES6
JavaScript
2
star
44

nuxt-kit-resolvepath-repro

Created with StackBlitz โšก๏ธ
TypeScript
2
star
45

netlify-vite-react-demo

TypeScript
2
star
46

connect-kyoto

kyoto-tycoon session store for connect
JavaScript
2
star
47

kyototycoon

C++
2
star
48

vue-i18n-alpha-repro

This repository is reproduction repository for vue-i18n v6.0.0-alpha
JavaScript
2
star
49

sandbox-javascript-github-actions

This is JavaScript action sandbox
JavaScript
1
star
50

stress-free-petshop

Stress-free Testing with Vue 3 Companion App
JavaScript
1
star
51

vue-i18n-repro-1230

Created with CodeSandbox
Vue
1
star
52

vitejs-vite-zkwcyi

Created with StackBlitz โšก๏ธ
JavaScript
1
star
53

deno-deploy-sandbox

JavaScript
1
star
54

intlify-releated-module-esm-test

JavaScript
1
star
55

StringBuffer4VB6

A fast string processing library.
1
star
56

Google-Toolbox-for-Mac

This is a fork of Google Toolbox for mac - I use it for my work projects and submodules.
C
1
star
57

babel-preset-es2015-loose-rollup

babel-preset-es2015-loose for Rollup
JavaScript
1
star
58

vue-render-sandbox

Vue.js `render` feature example
JavaScript
1
star
59

kazupon.github.com

Github User Page
HTML
1
star
60

nuxt-dynamic-providing-example

Vue
1
star
61

skypack-test

this package is test for skyepack publishment
TypeScript
1
star
62

github-label-preset

๐Ÿ™ GitHub label preset for github-label-setup
JavaScript
1
star
63

socket.io-zeromq-sample

socket.io zeromq implementation sample
JavaScript
1
star
64

vue-cli-plugin-issue-demo

JavaScript
1
star
65

vue-i18n-jest-example

Vue
1
star
66

sandbox-docker-github-actions

Dockerfile
1
star
67

vue-define-reactive-demo

JavaScript
1
star
68

api-extractor-sandbox

JavaScript
1
star
69

test_rails

This project is test project that created by ruby on rails.
Ruby
1
star
70

vue-i18n-v8-repro-1045

Created with CodeSandbox
JavaScript
1
star
71

screener-sandbox

JavaScript
1
star
72

FWFoundation

Objective-C
1
star
73

vue-node-boilerplate

๐Ÿข Node.js project Boilerplate with vue-cli
JavaScript
1
star
74

lerna-changelog-label-schema

๐Ÿท๏ธ Label schema definition for lerna-changelog
TypeScript
1
star
75

nuxt-i18n-hosting-test

This repo is hosting test for nuxt i18n module
Vue
1
star
76

sandbox-github-releases

TypeScript
1
star
77

vue-cli-gihyo-example

"Vue.jsๅ…ฅ้–€ - ๆœ€้€Ÿใงไฝœใ‚‹ใ‚ทใƒณใƒ—ใƒซใชWebใ‚ขใƒ—ใƒชใ‚ฑใƒผใ‚ทใƒงใƒณ ็ฌฌ6ๅ›ž็›ฎ" ใฎ example
JavaScript
1
star
78

beater-hakoniwa

๐ŸŒต My experimental playground for beater
JavaScript
1
star
79

eslint-config

ESLint config for @kazupon
Shell
1
star
80

hello-work

simple job-queue framework.
JavaScript
1
star
81

unbuild-repro-1

TypeScript
1
star
82

socket.io-zeromq-emitter

socket.io emitter implementation
JavaScript
1
star