git-coco 0.14.8 → 0.14.10
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 +7 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.esm.mjs +4533 -126
- package/dist/index.js +4532 -125
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -78,11 +78,17 @@ 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
|
|
89
|
+
|
|
90
|
+
# For all commits since the last tag
|
|
91
|
+
coco changelog -t
|
|
86
92
|
```
|
|
87
93
|
|
|
88
94
|
### **`coco recap`**
|
package/dist/index.d.ts
CHANGED
|
@@ -150,6 +150,7 @@ interface BaseCommandOptions extends BaseArgvOptions {
|
|
|
150
150
|
interface ChangelogOptions extends BaseCommandOptions {
|
|
151
151
|
range: string;
|
|
152
152
|
branch: string;
|
|
153
|
+
sinceLastTag: boolean;
|
|
153
154
|
}
|
|
154
155
|
type ChangelogArgv = Arguments<ChangelogOptions>;
|
|
155
156
|
|
|
@@ -166,6 +167,7 @@ interface CommitOptions extends BaseCommandOptions {
|
|
|
166
167
|
openInEditor: boolean;
|
|
167
168
|
ignoredFiles: string[];
|
|
168
169
|
ignoredExtensions: string[];
|
|
170
|
+
withPreviousCommits: number;
|
|
169
171
|
}
|
|
170
172
|
type CommitArgv = Arguments<CommitOptions>;
|
|
171
173
|
|