Skip to content

Commit d32876f

Browse files
authored
Merge pull request #1708 from contentstack/fix/DX-1917
fix: Added locale and CT for audit reports in entries
2 parents 4db55d1 + 8bc8154 commit d32876f

11 files changed

Lines changed: 284 additions & 114 deletions

File tree

package-lock.json

Lines changed: 139 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/contentstack-audit/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ $ npm install -g @contentstack/cli-audit
1919
$ csdx COMMAND
2020
running command...
2121
$ csdx (--version|-v)
22-
@contentstack/cli-audit/1.7.3 darwin-arm64 node-v22.2.0
22+
@contentstack/cli-audit/1.7.4 darwin-arm64 node-v22.8.0
2323
$ csdx --help [COMMAND]
2424
USAGE
2525
$ csdx COMMAND

packages/contentstack-audit/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@contentstack/cli-audit",
3-
"version": "1.7.3",
3+
"version": "1.7.4",
44
"description": "Contentstack audit plugin",
55
"author": "Contentstack CLI",
66
"homepage": "https://github.com/contentstack/cli",
@@ -35,7 +35,7 @@
3535
"@types/chai": "^4.3.20",
3636
"@types/fs-extra": "^11.0.4",
3737
"@types/mocha": "^10.0.10",
38-
"@types/node": "^20.17.9",
38+
"@types/node": "^20.17.10",
3939
"@types/uuid": "^9.0.8",
4040
"chai": "^4.5.0",
4141
"eslint": "^8.57.1",

packages/contentstack-audit/src/audit-base-command.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,14 @@ export abstract class AuditBaseCommand extends BaseCommand<typeof AuditBaseComma
315315
minWidth: 7,
316316
header: 'Title',
317317
},
318+
ct: {
319+
minWidth: 7,
320+
header: "Content Type"
321+
},
322+
locale: {
323+
minWidth: 7,
324+
header: "Locale"
325+
},
318326
display_name: {
319327
minWidth: 7,
320328
header: 'Field name',

0 commit comments

Comments
 (0)