@craftnotion/init-project
Version:
A CLI tool to initialize a new project with AdonisJS, NextJS, NestJS, React Native, Strapi, TypeScript, Husky, Git-CZ and more.
91 lines (90 loc) โข 2.95 kB
Plain Text
module.exports = {
disableEmoji: false,
format: '{type}{scope}: {emoji}{subject}',
list: ['test', 'improvement', 'types', 'build', 'feat', 'fix', 'chore', 'docs', 'refactor', 'style', 'ci', 'perf', 'merge'],
maxMessageLength: 64,
minMessageLength: 3,
questions: ['type', 'scope', 'subject', 'body', 'breaking', 'issues', 'lerna'],
scopes: [],
types: {
improvement: {
description: 'Improvement in performance or quality',
emoji: '๐',
value: 'improvement'
},
types: {
description: 'Changes related to data types',
emoji: '๐งฌ',
value: 'types'
},
build: {
description: 'Changes that affect the build system or external dependencies',
emoji: '๐ ๏ธ',
value: 'build'
},
ci: {
description: 'CI/CD related changes',
emoji: '๐ง',
value: 'ci'
},
chore: {
description: 'Routine tasks, maintenance, or tooling changes',
emoji: '๐ ๏ธ',
value: 'chore'
},
docs: {
description: 'Documentation only changes',
emoji: '๐',
value: 'docs'
},
feat: {
description: 'A new feature for the user',
emoji: 'โจ',
value: 'feat'
},
fix: {
description: 'A bug fix',
emoji: '๐',
value: 'fix'
},
perf: {
description: 'A code change that improves performance',
emoji: 'โก๏ธ',
value: 'perf'
},
refactor: {
description: 'Code changes that neither fix a bug nor add a feature',
emoji: '๐จ',
value: 'refactor'
},
release: {
description: 'Create a release commit',
emoji: '๐น',
value: 'release'
},
style: {
description: 'Markup, white-space, formatting, or style changes',
emoji: '๐
',
value: 'style'
},
test: {
description: 'Adding missing tests or improving existing ones',
emoji: '๐งช',
value: 'test'
},
merge: {
description: 'Merged branches',
emoji: '๐',
value: 'merge'
},
messages: {
type: 'Select the type of change that you\'re committing:',
customScope: 'Select the scope this component affects:',
subject: 'Write a short, imperative mood description of the change:\n',
body: 'Provide a longer description of the change:\n ',
breaking: 'List any breaking changes:\n',
footer: 'Issues this commit closes, e.g #123:',
confirmCommit: 'The packages that this commit has affected\n',
},
}
};