@circleback/cli 0.3.2 → 0.3.3

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.
@@ -242,7 +242,9 @@ const formatActionItems = (actionItems) => {
242
242
  item.id,
243
243
  item.status,
244
244
  item.assignee?.name ?? constants_1.UNASSIGNED_ACTION_ITEM_ASSIGNEE_LABEL,
245
- (0, string_1.truncate)(item.meeting.name || constants_1.DEFAULT_MEETING_NAME, meetingWidth - 2),
245
+ item.meetings
246
+ .map((meeting) => (0, string_1.truncate)(meeting.name || constants_1.DEFAULT_MEETING_NAME, meetingWidth - 2))
247
+ .join('\n') || '-',
246
248
  (0, date_1.formatDate)(item.createdAt),
247
249
  ]));
248
250
  return `${chalk_1.default.bold(`${(0, string_1.pluralize)(actionItems.length, 'action item', 'action items')} found`)}\n${table.toString()}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@circleback/cli",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Circleback CLI. Search and access meetings, emails, calendar events, and more.",
5
5
  "license": "MIT",
6
6
  "author": "Circleback <support@circleback.ai> (https://circleback.ai)",
@@ -25,6 +25,7 @@
25
25
  "prebuild": "rm -rf dist",
26
26
  "build": "tsc && chmod +x dist/index.js",
27
27
  "typecheck": "tsc --noEmit",
28
+ "test:unit": "jest --runInBand",
28
29
  "postinstall": "echo '\n Welcome to the Circleback CLI. Run `circleback` or `cb` to get started.\n'",
29
30
  "prepublishOnly": "npm run build"
30
31
  },