@contentstack/cli 1.39.0 → 1.40.1

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
@@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli
18
18
  $ csdx COMMAND
19
19
  running command...
20
20
  $ csdx (--version|-v)
21
- @contentstack/cli/1.39.0 linux-x64 node-v22.14.0
21
+ @contentstack/cli/1.40.1 linux-x64 node-v22.14.0
22
22
  $ csdx --help [COMMAND]
23
23
  USAGE
24
24
  $ csdx COMMAND
@@ -127,7 +127,7 @@ Perform audits and find possible errors in the exported Contentstack data
127
127
 
128
128
  ```
129
129
  USAGE
130
- $ csdx audit [-c <value>] [-d <value>] [--report-path <value>] [--modules
130
+ $ csdx audit [-c <value>] [-d <value>] [--show-console-output] [--report-path <value>] [--modules
131
131
  content-types|global-fields|entries|extensions|workflows|custom-roles|assets|field-rules...] [--columns <value>]
132
132
  [--sort <value>] [--filter <value>] [--csv] [--no-truncate] [--no-header] [--output csv|json|yaml]
133
133
 
@@ -138,8 +138,9 @@ FLAGS
138
138
  --report-path=<value> Path to store the audit reports
139
139
 
140
140
  COMMON FLAGS
141
- -c, --config=<value> Path of the external config
142
- -d, --data-dir=<value> Path where the data is stored
141
+ -c, --config=<value> Path of the external config
142
+ -d, --data-dir=<value> Path where the data is stored
143
+ --show-console-output Display the audit and audit fix result for individual modules
143
144
 
144
145
  TABLE FLAGS
145
146
  --columns=<value> Specify columns to display, comma-separated.
@@ -176,7 +177,7 @@ Perform audits and fix possible errors in the exported Contentstack data.
176
177
 
177
178
  ```
178
179
  USAGE
179
- $ csdx audit:fix [-c <value>] [-d <value>] [--report-path <value>] [--modules
180
+ $ csdx audit:fix [-c <value>] [-d <value>] [--show-console-output] [--report-path <value>] [--modules
180
181
  content-types|global-fields|entries|extensions|workflows|custom-roles|assets|field-rules...] [--copy-path <value>
181
182
  --copy-dir] [--fix-only reference|global_field|json:rte|json:extension|blocks|group|content_types...] [--columns
182
183
  <value>] [--sort <value>] [--filter <value>] [--csv] [--no-truncate] [--no-header] [--output csv|json|yaml]
@@ -192,8 +193,9 @@ FLAGS
192
193
  --report-path=<value> Path to store the audit reports
193
194
 
194
195
  COMMON FLAGS
195
- -c, --config=<value> Path of the external config
196
- -d, --data-dir=<value> Path where the data is stored
196
+ -c, --config=<value> Path of the external config
197
+ -d, --data-dir=<value> Path where the data is stored
198
+ --show-console-output Display the audit and audit fix result for individual modules
197
199
 
198
200
  TABLE FLAGS
199
201
  --columns=<value> Specify columns to display, comma-separated.
@@ -2623,7 +2625,7 @@ Perform audits and find possible errors in the exported Contentstack data
2623
2625
 
2624
2626
  ```
2625
2627
  USAGE
2626
- $ csdx cm:stacks:audit [-c <value>] [-d <value>] [--report-path <value>] [--modules
2628
+ $ csdx cm:stacks:audit [-c <value>] [-d <value>] [--show-console-output] [--report-path <value>] [--modules
2627
2629
  content-types|global-fields|entries|extensions|workflows|custom-roles|assets|field-rules...] [--columns <value>]
2628
2630
  [--sort <value>] [--filter <value>] [--csv] [--no-truncate] [--no-header] [--output csv|json|yaml]
2629
2631
 
@@ -2634,8 +2636,9 @@ FLAGS
2634
2636
  --report-path=<value> Path to store the audit reports
2635
2637
 
2636
2638
  COMMON FLAGS
2637
- -c, --config=<value> Path of the external config
2638
- -d, --data-dir=<value> Path where the data is stored
2639
+ -c, --config=<value> Path of the external config
2640
+ -d, --data-dir=<value> Path where the data is stored
2641
+ --show-console-output Display the audit and audit fix result for individual modules
2639
2642
 
2640
2643
  TABLE FLAGS
2641
2644
  --columns=<value> Specify columns to display, comma-separated.
@@ -2674,7 +2677,7 @@ Perform audits and fix possible errors in the exported Contentstack data.
2674
2677
 
2675
2678
  ```
2676
2679
  USAGE
2677
- $ csdx cm:stacks:audit:fix [-c <value>] [-d <value>] [--report-path <value>] [--modules
2680
+ $ csdx cm:stacks:audit:fix [-c <value>] [-d <value>] [--show-console-output] [--report-path <value>] [--modules
2678
2681
  content-types|global-fields|entries|extensions|workflows|custom-roles|assets|field-rules...] [--copy-path <value>
2679
2682
  --copy-dir] [--fix-only reference|global_field|json:rte|json:extension|blocks|group|content_types...] [--columns
2680
2683
  <value>] [--sort <value>] [--filter <value>] [--csv] [--no-truncate] [--no-header] [--output csv|json|yaml]
@@ -2690,8 +2693,9 @@ FLAGS
2690
2693
  --report-path=<value> Path to store the audit reports
2691
2694
 
2692
2695
  COMMON FLAGS
2693
- -c, --config=<value> Path of the external config
2694
- -d, --data-dir=<value> Path where the data is stored
2696
+ -c, --config=<value> Path of the external config
2697
+ -d, --data-dir=<value> Path where the data is stored
2698
+ --show-console-output Display the audit and audit fix result for individual modules
2695
2699
 
2696
2700
  TABLE FLAGS
2697
2701
  --columns=<value> Specify columns to display, comma-separated.
@@ -3588,6 +3592,10 @@ EXAMPLES
3588
3592
 
3589
3593
  $ csdx config:set:region EU
3590
3594
 
3595
+ $ csdx config:set:region AWS-NA
3596
+
3597
+ $ csdx config:set:region AWS-EU
3598
+
3591
3599
  $ csdx config:set:region AZURE-NA
3592
3600
 
3593
3601
  $ csdx config:set:region AZURE-EU
@@ -3638,8 +3646,8 @@ USAGE
3638
3646
  $ csdx launch [-d <value>] [-c <value>] [--type GitHub|FileUpload] [--framework Gatsby|NextJs|CRA (Create
3639
3647
  React App)|CSR (Client-Side Rendered)|Angular|VueJs|Other] [--org <value>] [-n <value>] [-e <value>] [--branch
3640
3648
  <value>] [--build-command <value>] [--out-dir <value>] [--server-command <value>] [--variable-type Import variables
3641
- from a stack|Manually add custom variables to the list|Import variables from the local env file] [-a <value>]
3642
- [--env-variables <value>] [--redeploy-latest] [--redeploy-last-upload]
3649
+ from a stack|Manually add custom variables to the list|Import variables from the .env.local file|Skip adding
3650
+ environment variables] [-a <value>] [--env-variables <value>] [--redeploy-latest] [--redeploy-last-upload]
3643
3651
 
3644
3652
  FLAGS
3645
3653
  -a, --alias=<value> [optional] Alias (name) for the delivery token.
@@ -3662,9 +3670,10 @@ FLAGS
3662
3670
  --type=<option> [optional] Type of adapters. <options: GitHub|FileUpload>
3663
3671
  <options: GitHub|FileUpload>
3664
3672
  --variable-type=<option> [optional] Provide a variable type. <options: Import variables from a stack|Manually add
3665
- custom variables to the list|Import variables from the local env file>
3673
+ custom variables to the list|Import variables from the .env.local file|Skip adding
3674
+ environment variables>
3666
3675
  <options: Import variables from a stack|Manually add custom variables to the list|Import
3667
- variables from the local env file>
3676
+ variables from the .env.local file|Skip adding environment variables>
3668
3677
 
3669
3678
  DESCRIPTION
3670
3679
  Launch related operations
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "commands": {},
3
- "version": "1.39.0"
3
+ "version": "1.40.1"
4
4
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@contentstack/cli",
3
3
  "description": "Command-line tool (CLI) to interact with Contentstack",
4
- "version": "1.39.0",
4
+ "version": "1.40.1",
5
5
  "author": "Contentstack",
6
6
  "bin": {
7
7
  "csdx": "./bin/run.js"
@@ -22,32 +22,32 @@
22
22
  "prepack": "pnpm compile && oclif manifest && oclif readme"
23
23
  },
24
24
  "dependencies": {
25
- "@contentstack/cli-audit": "~1.11.0",
25
+ "@contentstack/cli-audit": "~1.12.1",
26
26
  "@contentstack/cli-auth": "~1.4.0",
27
27
  "@contentstack/cli-cm-bootstrap": "~1.14.0",
28
- "@contentstack/cli-cm-branches": "~1.4.0",
28
+ "@contentstack/cli-cm-branches": "~1.4.1",
29
29
  "@contentstack/cli-cm-bulk-publish": "~1.8.0",
30
30
  "@contentstack/cli-cm-clone": "~1.14.0",
31
31
  "@contentstack/cli-cm-export": "~1.16.0",
32
32
  "@contentstack/cli-cm-export-to-csv": "~1.8.0",
33
- "@contentstack/cli-cm-import": "~1.21.0",
33
+ "@contentstack/cli-cm-import": "~1.21.2",
34
34
  "@contentstack/cli-cm-import-setup": "1.2.0",
35
35
  "@contentstack/cli-cm-migrate-rte": "~1.5.0",
36
36
  "@contentstack/cli-cm-seed": "~1.11.0",
37
37
  "@contentstack/cli-command": "~1.5.0",
38
- "@contentstack/cli-config": "~1.11.0",
38
+ "@contentstack/cli-config": "~1.12.0",
39
39
  "@contentstack/cli-launch": "^1.8.0",
40
40
  "@contentstack/cli-migration": "~1.7.0",
41
41
  "@contentstack/cli-utilities": "~1.11.0",
42
42
  "@contentstack/cli-variants": "~1.2.0",
43
- "@contentstack/management": "~1.20.1",
44
- "@oclif/core": "^4.2.7",
45
- "@oclif/plugin-help": "^6.2.25",
46
- "@oclif/plugin-not-found": "^3.2.42",
47
- "@oclif/plugin-plugins": "^5.4.24",
43
+ "@contentstack/management": "~1.20.2",
44
+ "@oclif/core": "^4.2.10",
45
+ "@oclif/plugin-help": "^6.2.27",
46
+ "@oclif/plugin-not-found": "^3.2.49",
47
+ "@oclif/plugin-plugins": "^5.4.36",
48
48
  "chalk": "^4.1.2",
49
49
  "debug": "^4.4.0",
50
- "figlet": "^1.8.0",
50
+ "figlet": "^1.8.1",
51
51
  "inquirer": "8.2.6",
52
52
  "node-machine-id": "^1.1.12",
53
53
  "open": "^8.4.2",
@@ -67,16 +67,16 @@
67
67
  "@types/sinon": "^10.0.20",
68
68
  "chai": "^4.5.0",
69
69
  "eslint": "^8.57.1",
70
- "eslint-config-oclif": "^6.0.15",
70
+ "eslint-config-oclif": "^6.0.46",
71
71
  "eslint-config-oclif-typescript": "^3.1.13",
72
72
  "globby": "^10.0.2",
73
73
  "mocha": "10.8.2",
74
74
  "nock": "^13.5.6",
75
75
  "nyc": "^15.1.0",
76
- "oclif": "^4.17.30",
76
+ "oclif": "^4.17.46",
77
77
  "rimraf": "^5.0.10",
78
78
  "shelljs": "^0.9.2",
79
- "sinon": "^19.0.2",
79
+ "sinon": "^19.0.5",
80
80
  "tmp": "^0.2.3",
81
81
  "ts-node": "^10.9.2",
82
82
  "tslib": "^2.8.1",