Created
November 30, 2018 01:55
-
-
Save AquiTCD/1a5e2219992dd75af63c76149fbffa60 to your computer and use it in GitHub Desktop.
.cz-config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
module.exports = { | |
types: [ | |
{ | |
value: 'feat', | |
name: 'feat: 新機能', | |
title: 'Features' | |
}, | |
{ | |
value: 'fix', | |
name: 'fix: バグ修正', | |
title: 'Bug Fixes' | |
}, | |
{ | |
value: 'HOTFIX', | |
name: 'HOTFIX: 致命的で緊急なバグ修正', | |
title: 'Critical hotfix' | |
}, | |
{ | |
value: 'UI', | |
name: 'UI: UIやスタイルの更新', | |
title: 'UI' | |
}, | |
{ | |
value: 'docs', | |
name: 'docs: ドキュメントのみの変更', | |
title: 'Documentation' | |
}, | |
{ | |
value: 'style', | |
name: 'style: フォーマットの変更\n (コードの動作に影響しないスペース、フォーマット、セミコロンなどの変更)', | |
title: 'Styles' | |
}, | |
{ | |
value: 'texts', | |
name: 'texts: 文字や文章の更新', | |
title: 'Text and literals' | |
}, | |
{ | |
value: 'i18n', | |
name: 'i18n: 国際化', | |
title: 'Internationalization' | |
}, | |
{ | |
value: 'typo', | |
name: 'typo: タイプミスの修正', | |
title: 'Typos' | |
}, | |
{ | |
value: 'refactor', | |
name: 'refactor: リファクタリングのための変更\n (機能追加やバグ修正を含まない変更)', | |
title: 'Code Refactoring' | |
}, | |
{ | |
value: 'perf', | |
name: 'perf: パフォーマンスの改善のための変更', | |
title: 'Performance Improvements' | |
}, | |
{ | |
value: 'UX', | |
name: 'UX: ユーザーエクスペリエンス/ユーザビリティの改善', | |
title: 'UX' | |
}, | |
{ | |
value: 'test', | |
name: 'test: 不足テストの追加や既存テストの修正', | |
title: 'Tests' | |
}, | |
{ | |
value: 'config', | |
name: 'config: 設定の追加や変更', | |
title: 'Configuration' | |
}, | |
{ | |
value: 'build', | |
name: 'build: ビルドシステムや外部依存に関する変更\n (スコープ例: gulp, broccoli, npm)', | |
title: 'Builds' | |
}, | |
{ | |
value: 'CI', | |
name: 'CI: CI用の設定やスクリプトに関する変更\n (スコープ例:Travis, Circle, BrowserStack, SauceLabs)', | |
title: 'CI' | |
}, | |
{ | |
value: 'chore', | |
name: 'chore: その他の変更\n (補助ツール、ドキュメント生成などのソースやテストの変更を含まない変更)', | |
title: 'Chores' | |
}, | |
{ | |
value: 'WIP', | |
name: 'WIP: 作業中', | |
title: 'WIP' | |
} | |
], | |
scopes: [ | |
// { name: '*' }, | |
// { name: 'admin' }, | |
// { name: 'exampleScope' }, | |
// { name: 'changeMe' } | |
], | |
// it needs to match the value for field type. Eg.: 'fix' | |
/* | |
scopeOverrides: { | |
fix: [ | |
{name: 'merge'}, | |
{name: 'style'}, | |
{name: 'e2eTest'}, | |
{name: 'unitTest'} | |
] | |
}, | |
*/ | |
// override the messages, defaults are as follows | |
messages: { | |
type: 'コミットする変更タイプを選択:\n', | |
scope: '変更内容のスコープ(例:コンポーネントやファイル名)(optional):\n', | |
// used if allowCustomScopes is true | |
customScope: '変更内容のスコープ(例:コンポーネントやファイル名)(optional):\n', | |
subject: '変更内容を要約した本質的説明:\n', | |
body: '変更内容の詳細("|"で改行)(optional):\n', | |
breaking: '破壊的変更についての記述(optional):\n', | |
footer: '関連issueを追記 (例:"fix #123", "re #123")(optional):\n', | |
confirmCommit: 'このコミット内容でよろしいですか?' | |
}, | |
allowCustomScopes: true, | |
allowBreakingChanges: ['feat', 'fix'] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment