bananareporter 0.4.3 → 0.4.4

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
@@ -103,7 +103,7 @@ $ npm install -g bananareporter
103
103
  $ bananareporter COMMAND
104
104
  running command...
105
105
  $ bananareporter (--version)
106
- bananareporter/0.4.3 linux-x64 node-v18.16.0
106
+ bananareporter/0.4.4 linux-x64 node-v18.16.0
107
107
  $ bananareporter --help [COMMAND]
108
108
  USAGE
109
109
  $ bananareporter COMMAND
@@ -162,5 +162,5 @@ EXAMPLES
162
162
  report with 138 entries saved to ./bananareporter.json
163
163
  ```
164
164
 
165
- _See code: [dist/commands/run/index.ts](https://github.com/nya1/bananareporter/blob/v0.4.3/dist/commands/run/index.ts)_
165
+ _See code: [dist/commands/run/index.ts](https://github.com/nya1/bananareporter/blob/v0.4.4/dist/commands/run/index.ts)_
166
166
  <!-- commandsstop -->
@@ -83,10 +83,11 @@ class GitCliIntegration extends base_1.IntegrationBase {
83
83
  });
84
84
  }
85
85
  toBananaReporterObj(rawData, _index) {
86
+ const description = `${rawData.commitMessage} branch:${rawData.branch} git:${rawData.commit.slice(0, 7)}`;
86
87
  return {
87
88
  id: rawData.commit,
88
89
  date: dayjs.unix(rawData.dateUnix).toISOString(),
89
- description: rawData.commitMessage,
90
+ description: description,
90
91
  projectName: rawData.projectName,
91
92
  type: GitCliIntegration.type,
92
93
  __raw: this.bananaReporterConfig.includeRawObject ? rawData : undefined,
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.4.3",
2
+ "version": "0.4.4",
3
3
  "commands": {
4
4
  "run": {
5
5
  "id": "run",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bananareporter",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "description": "Easily generate a report from multiple sources",
5
5
  "author": "nya1",
6
6
  "bin": {