Skip to content

Commit

Permalink
Merge pull request #1708 from contentstack/fix/DX-1917
Browse files Browse the repository at this point in the history
fix: Added locale and CT for audit reports in entries
  • Loading branch information
cs-raj authored Dec 16, 2024
2 parents 4db55d1 + 8bc8154 commit d32876f
Show file tree
Hide file tree
Showing 11 changed files with 284 additions and 114 deletions.
187 changes: 139 additions & 48 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/contentstack-audit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $ npm install -g @contentstack/cli-audit
$ csdx COMMAND
running command...
$ csdx (--version|-v)
@contentstack/cli-audit/1.7.3 darwin-arm64 node-v22.2.0
@contentstack/cli-audit/1.7.4 darwin-arm64 node-v22.8.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down
4 changes: 2 additions & 2 deletions packages/contentstack-audit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@contentstack/cli-audit",
"version": "1.7.3",
"version": "1.7.4",
"description": "Contentstack audit plugin",
"author": "Contentstack CLI",
"homepage": "https://github.com/contentstack/cli",
Expand Down Expand Up @@ -35,7 +35,7 @@
"@types/chai": "^4.3.20",
"@types/fs-extra": "^11.0.4",
"@types/mocha": "^10.0.10",
"@types/node": "^20.17.9",
"@types/node": "^20.17.10",
"@types/uuid": "^9.0.8",
"chai": "^4.5.0",
"eslint": "^8.57.1",
Expand Down
8 changes: 8 additions & 0 deletions packages/contentstack-audit/src/audit-base-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,14 @@ export abstract class AuditBaseCommand extends BaseCommand<typeof AuditBaseComma
minWidth: 7,
header: 'Title',
},
ct: {
minWidth: 7,
header: "Content Type"
},
locale: {
minWidth: 7,
header: "Locale"
},
display_name: {
minWidth: 7,
header: 'Field name',
Expand Down
Loading

0 comments on commit d32876f

Please sign in to comment.