Skip to content

unickowl/cz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CZ

create commit in human way.

only apply for OWLPAY currently

Install

# npm
npm install -g unickowl/cz

# yarn
yarn add global unickowl/cz

#pnpm
pnpm install -g unickowl/cz

Uninstall

# npm
npm install -g owlting_cz

# yarn
yarn add global owlting_cz

#pnpm
pnpm install -g owlting_cz

Usage

cz

Step 1

pick a commit type

image

Step 2

commit message

image

Step 3

if need to tag Jira issue for title prefix

image

Step 4 (if !!Step3)

input Jira issue ID

image

Types

{
  name: 'chore',
  emoji: '🧹',
  description: 'Build process or auxiliary tool changes',
  value: 'chore'
},
{
  name: 'ci',
  emoji: '👷',
  description: 'CI related changes',
  value: 'ci'
},
{
  name: 'docs',
  emoji: '📝',
  description: 'Documentation only changes',
  value: 'docs'
},
{
  name: 'feat',
  emoji: '💡',
  description: 'A new feature',
  value: 'feat'
},
{
  name: 'fix',
  emoji: '🐛',
  description: 'A bug fix',
  value: 'fix'
},
{
  name: 'hotfix',
  emoji: '🚨',
  description: 'Emergency fix',
  value: 'hotfix'
},
{
  name: 'perf',
  emoji: '⚡',
  description: 'A code change that improves performance',
  value: 'perf'
},
{
  name: 'refactor',
  emoji: '🔨',
  description: 'A code change that neither fixes a bug or adds a feature',
  value: 'refactor'
},
{
  name: 'release',
  emoji: '🎉',
  description: 'Create a release commit',
  value: 'release'
},
{
  name: 'style',
  emoji: '🎨',
  description: 'Markup, white-space, formatting, missing semi-colons...',
  value: 'style'
},
{
  name: 'test',
  emoji: '🎮',
  description: 'Adding missing tests',
  value: 'test'
}

Todo

  • adapt for other projects prefix

About

create commit in human way.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •