git-coco 0.14.9 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -78,9 +78,12 @@ Creates changelogs.
78
78
  # For the current branch
79
79
  coco changelog
80
80
 
81
- # For a specific range
81
+ # For a specific range (using HEAD references)
82
82
  coco changelog -r HEAD~5:HEAD
83
83
 
84
+ # For a specific range (using commit hashes)
85
+ coco changelog -r abc1234:def5678
86
+
84
87
  # For a target branch
85
88
  coco changelog -b other-branch
86
89
 
package/dist/index.d.ts CHANGED
@@ -90,6 +90,14 @@ type BaseConfig = {
90
90
  * @default 'stdout'
91
91
  */
92
92
  mode: 'stdout' | 'interactive';
93
+ /**
94
+ * Whether to generate commit messages in Conventional Commits format.
95
+ * When enabled, commit messages will follow the Conventional Commits specification.
96
+ *
97
+ * @see https://www.conventionalcommits.org/
98
+ * @default false
99
+ */
100
+ conventionalCommits?: boolean;
93
101
  /**
94
102
  * Enable verbose logging.
95
103
  *
@@ -168,6 +176,7 @@ interface CommitOptions extends BaseCommandOptions {
168
176
  ignoredFiles: string[];
169
177
  ignoredExtensions: string[];
170
178
  withPreviousCommits: number;
179
+ conventional: boolean;
171
180
  }
172
181
  type CommitArgv = Arguments<CommitOptions>;
173
182