Skip to content

Commit d787942

Browse files
Fixed PR comments
2 parents a626f76 + d615f20 commit d787942

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2752
-1634
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ node_modules
33
.env
44
.dccache
55
logs
6-
contents
6+
/contents
77
lerna-debug.log
88
.DS_Store
99
contentTest

.talismanrc

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
fileignoreconfig:
22
- filename: package-lock.json
3-
checksum: 25bcbb12c701b53f222c599fa8ce53f347853a1d96257cee79b5cf5878e50015
3+
checksum: 26be769c9d3bcc7095237527dd0004c3981be0dc7bf5c01f650b05a0ea09ecb6
44
- filename: pnpm-lock.yaml
5-
checksum: 448638c016e13e936e2dfa8297076162b0662de198908d994665579bab8f4b36
5+
checksum: 44d84111971dd7c108417a3e6e35bb3c61347d3eff4ea113a636429085d8502b
66
- filename: packages/contentstack-import-setup/test/unit/backup-handler.test.ts
77
checksum: 0582d62b88834554cf12951c8690a73ef3ddbb78b82d2804d994cf4148e1ef93
88
- filename: packages/contentstack-import-setup/test/config.json
@@ -95,8 +95,6 @@ fileignoreconfig:
9595
checksum: bbe1130f5f5ebf2fa452daef743fe4d40ae9f8fc05c7f8c59c82a3d3d1ed69e8
9696
- filename: packages/contentstack-audit/src/modules/extensions.ts
9797
checksum: 32af019f0df8288448d11559fe9f7ef61d3e43c3791d45eeec25fd0937c6baad
98-
- filename: packages/contentstack-audit/src/modules/modulesData.ts
99-
checksum: bac8f1971ac2e39bc04d9297b81951fe34ed265dfc985137135f9bbe775cd63c
10098
- filename: packages/contentstack-audit/src/modules/assets.ts
10199
checksum: 5a007804c75976dd192ed2284b7b7edbc5b5fc269fc0e883908b52e4d4f206a8
102100
- filename: packages/contentstack-audit/src/modules/workflows.ts
@@ -118,7 +116,7 @@ fileignoreconfig:
118116
- filename: packages/contentstack-import/test/unit/import/modules/mock-data/entries/environments.json
119117
checksum: 17f94f500dcb265575b60f8d2cb7464372a234e452527b3bdec6052c606cee28
120118
- filename: packages/contentstack-import/test/unit/import/modules/entries.test.ts
121-
checksum: 7b984d292a534f9d075d801de2aeff802b2832bc5e2efadf8613a7059f4317fc
119+
checksum: d8e4f6ad185b36b6f84b38dce169144e7d5a195668aac11f914eed5e1e4b5478
122120
- filename: packages/contentstack-import/test/unit/import/modules/labels.test.ts
123121
checksum: 46fe0d1602ab386f7eaee9839bc376b98ab8d4262f823784eda9cfa2bf893758
124122
- filename: packages/contentstack-export/test/unit/export/modules/assets.test.ts
@@ -269,4 +267,14 @@ fileignoreconfig:
269267
checksum: e8714ef41940f3a9be782dfaa43a15df57bd1eb4c3f0e4d5f305e68681c1bd93
270268
- filename: packages/contentstack-import/src/import/modules-js/environments.js
271269
checksum: d484342c25462a7052c8aae6cad0baed9a01e1eaa67d6a09f175981c53092301
270+
- filename: packages/contentstack-audit/test/unit/mock/contents/composable_studio/environments/environments.json
271+
checksum: 0402604e5919a7e38ecb5ff0916d6ae5ab7d98fe78ff6ac9eba8a9b8130af34d
272+
- filename: packages/contentstack-audit/test/unit/mock/contents/composable_studio/composable_studio.json
273+
checksum: 6912e5ea32b4456ad04d1645750c72bbb29ab1895368c3a242ab39e9350ec531
274+
- filename: packages/contentstack-audit/test/unit/mock/contents/composable_studio/invalid_composable_studio.json
275+
checksum: e6465aa0011d1565a2de848d9cca74395d11419e6ac840e7dfb52e1d255b1c4f
276+
- filename: packages/contentstack-audit/src/modules/modulesData.ts
277+
checksum: 1e6c1fba1172512401038d5454c8d218201ec62262449c5c878609592e0124c4
278+
- filename: packages/contentstack-audit/src/modules/composable-studio.ts
279+
checksum: 4fc97ff582d6dff9a54b3a50dfa3cbb5febd38a55aeb8737034b97188ad543ba
272280
version: '1.0'

package-lock.json

Lines changed: 663 additions & 663 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: 23 additions & 19 deletions
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.16.2 darwin-arm64 node-v22.13.1
22+
@contentstack/cli-audit/1.17.0 darwin-arm64 node-v22.14.0
2323
$ csdx --help [COMMAND]
2424
USAGE
2525
$ csdx COMMAND
@@ -53,13 +53,14 @@ Perform audits and find possible errors in the exported Contentstack data
5353
```
5454
USAGE
5555
$ csdx audit [-c <value>] [-d <value>] [--show-console-output] [--report-path <value>] [--modules
56-
content-types|global-fields|entries|extensions|workflows|custom-roles|assets|field-rules...] [--columns <value>]
57-
[--sort <value>] [--filter <value>] [--csv] [--no-truncate] [--no-header] [--output csv|json|yaml]
56+
content-types|global-fields|entries|extensions|workflows|custom-roles|assets|field-rules|composable-studio...]
57+
[--columns <value>] [--sort <value>] [--filter <value>] [--csv] [--no-truncate] [--no-header] [--output
58+
csv|json|yaml]
5859
5960
FLAGS
6061
--modules=<option>... Provide the list of modules to be audited
61-
<options:
62-
content-types|global-fields|entries|extensions|workflows|custom-roles|assets|field-rules>
62+
<options: content-types|global-fields|entries|extensions|workflows|custom-roles|assets|field-ru
63+
les|composable-studio>
6364
--report-path=<value> Path to store the audit reports
6465
6566
COMMON FLAGS
@@ -103,18 +104,19 @@ Perform audits and fix possible errors in the exported Contentstack data.
103104
```
104105
USAGE
105106
$ csdx audit:fix [-c <value>] [-d <value>] [--show-console-output] [--report-path <value>] [--modules
106-
content-types|global-fields|entries|extensions|workflows|custom-roles|assets|field-rules...] [--copy-path <value>
107-
--copy-dir] [--fix-only reference|global_field|json:rte|json:extension|blocks|group|content_types...] [--columns
108-
<value>] [--sort <value>] [--filter <value>] [--csv] [--no-truncate] [--no-header] [--output csv|json|yaml]
107+
content-types|global-fields|entries|extensions|workflows|custom-roles|assets|field-rules|composable-studio...]
108+
[--copy-path <value> --copy-dir] [--fix-only
109+
reference|global_field|json:rte|json:extension|blocks|group|content_types...] [--columns <value>] [--sort <value>]
110+
[--filter <value>] [--csv] [--no-truncate] [--no-header] [--output csv|json|yaml]
109111
110112
FLAGS
111113
--copy-dir Create backup from the original data.
112114
--copy-path=<value> Provide the path to backup the copied data
113115
--fix-only=<option>... Provide the list of fix options
114116
<options: reference|global_field|json:rte|json:extension|blocks|group|content_types>
115117
--modules=<option>... Provide the list of modules to be audited
116-
<options:
117-
content-types|global-fields|entries|extensions|workflows|custom-roles|assets|field-rules>
118+
<options: content-types|global-fields|entries|extensions|workflows|custom-roles|assets|field-r
119+
ules|composable-studio>
118120
--report-path=<value> Path to store the audit reports
119121
120122
COMMON FLAGS
@@ -160,13 +162,14 @@ Perform audits and find possible errors in the exported Contentstack data
160162
```
161163
USAGE
162164
$ csdx cm:stacks:audit [-c <value>] [-d <value>] [--show-console-output] [--report-path <value>] [--modules
163-
content-types|global-fields|entries|extensions|workflows|custom-roles|assets|field-rules...] [--columns <value>]
164-
[--sort <value>] [--filter <value>] [--csv] [--no-truncate] [--no-header] [--output csv|json|yaml]
165+
content-types|global-fields|entries|extensions|workflows|custom-roles|assets|field-rules|composable-studio...]
166+
[--columns <value>] [--sort <value>] [--filter <value>] [--csv] [--no-truncate] [--no-header] [--output
167+
csv|json|yaml]
165168
166169
FLAGS
167170
--modules=<option>... Provide the list of modules to be audited
168-
<options:
169-
content-types|global-fields|entries|extensions|workflows|custom-roles|assets|field-rules>
171+
<options: content-types|global-fields|entries|extensions|workflows|custom-roles|assets|field-ru
172+
les|composable-studio>
170173
--report-path=<value> Path to store the audit reports
171174
172175
COMMON FLAGS
@@ -212,18 +215,19 @@ Perform audits and fix possible errors in the exported Contentstack data.
212215
```
213216
USAGE
214217
$ csdx cm:stacks:audit:fix [-c <value>] [-d <value>] [--show-console-output] [--report-path <value>] [--modules
215-
content-types|global-fields|entries|extensions|workflows|custom-roles|assets|field-rules...] [--copy-path <value>
216-
--copy-dir] [--fix-only reference|global_field|json:rte|json:extension|blocks|group|content_types...] [--columns
217-
<value>] [--sort <value>] [--filter <value>] [--csv] [--no-truncate] [--no-header] [--output csv|json|yaml]
218+
content-types|global-fields|entries|extensions|workflows|custom-roles|assets|field-rules|composable-studio...]
219+
[--copy-path <value> --copy-dir] [--fix-only
220+
reference|global_field|json:rte|json:extension|blocks|group|content_types...] [--columns <value>] [--sort <value>]
221+
[--filter <value>] [--csv] [--no-truncate] [--no-header] [--output csv|json|yaml]
218222
219223
FLAGS
220224
--copy-dir Create backup from the original data.
221225
--copy-path=<value> Provide the path to backup the copied data
222226
--fix-only=<option>... Provide the list of fix options
223227
<options: reference|global_field|json:rte|json:extension|blocks|group|content_types>
224228
--modules=<option>... Provide the list of modules to be audited
225-
<options:
226-
content-types|global-fields|entries|extensions|workflows|custom-roles|assets|field-rules>
229+
<options: content-types|global-fields|entries|extensions|workflows|custom-roles|assets|field-r
230+
ules|composable-studio>
227231
--report-path=<value> Path to store the audit reports
228232
229233
COMMON FLAGS

packages/contentstack-audit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@contentstack/cli-audit",
3-
"version": "1.16.3",
3+
"version": "1.17.0",
44
"description": "Contentstack audit plugin",
55
"author": "Contentstack CLI",
66
"homepage": "https://github.com/contentstack/cli",

0 commit comments

Comments
 (0)