@@ -4,23 +4,29 @@ namespace SourceGit.Models
44{
55 public class ConventionalCommitType
66 {
7+ public string Name { get ; set ; } = string . Empty ;
78 public string Type { get ; set ; } = string . Empty ;
89 public string Description { get ; set ; } = string . Empty ;
910
1011 public static readonly List < ConventionalCommitType > Supported = new List < ConventionalCommitType > ( )
1112 {
12- new ConventionalCommitType ( "feat" , "Adding a new feature" ) ,
13- new ConventionalCommitType ( "fix" , "Fixing a bug" ) ,
14- new ConventionalCommitType ( "docs" , "Updating documentation" ) ,
15- new ConventionalCommitType ( "style" , "Elements or code styles without changing the code logic" ) ,
16- new ConventionalCommitType ( "test" , "Adding or updating tests" ) ,
17- new ConventionalCommitType ( "chore" , "Making changes to the build process or auxiliary tools and libraries" ) ,
18- new ConventionalCommitType ( "revert" , "Undoing a previous commit" ) ,
19- new ConventionalCommitType ( "refactor" , "Restructuring code without changing its external behavior" )
13+ new ConventionalCommitType ( "Features" , "feat" , "Adding a new feature" ) ,
14+ new ConventionalCommitType ( "Bug Fixes" , "fix" , "Fixing a bug" ) ,
15+ new ConventionalCommitType ( "Reverts" , "revert" , "Undoing a previous commit" ) ,
16+ new ConventionalCommitType ( "Code Refactoring" , "refactor" , "Restructuring code without changing its external behavior" ) ,
17+ new ConventionalCommitType ( "Performance Improvements" , "pref" , "Improves performance" ) ,
18+ new ConventionalCommitType ( "Builds" , "build" , "Changes that affect the build system or external dependencies" ) ,
19+ new ConventionalCommitType ( "Continuous Integrations" , "ci" , "Changes to CI configuration files and scripts" ) ,
20+ new ConventionalCommitType ( "Documentations" , "docs" , "Updating documentation" ) ,
21+ new ConventionalCommitType ( "Styles" , "style" , "Elements or code styles without changing the code logic" ) ,
22+ new ConventionalCommitType ( "Tests" , "test" , "Adding or updating tests" ) ,
23+ new ConventionalCommitType ( "Chores" , "chore" , "Other changes that don't modify src or test files" ) ,
24+
2025 } ;
2126
22- public ConventionalCommitType ( string type , string description )
27+ public ConventionalCommitType ( string name , string type , string description )
2328 {
29+ Name = name ;
2430 Type = type ;
2531 Description = description ;
2632 }
0 commit comments