UNPKG

@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
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', }, } };