Skip to content

Commit db9e9ff

Browse files
authored
Merge pull request #1401 from contentstack/feat/DX-524
DX - 524 - upgraded oclif/core to 3.26.5 and version bump
2 parents 84cbbdf + c7a710a commit db9e9ff

File tree

84 files changed

+1926
-1562
lines changed

Some content is hidden

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

84 files changed

+1926
-1562
lines changed

package-lock.json

Lines changed: 853 additions & 459 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: 16 additions & 34 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.6.0 darwin-arm64 node-v21.6.2
22+
@contentstack/cli-audit/1.6.1 darwin-arm64 node-v21.6.2
2323
$ csdx --help [COMMAND]
2424
USAGE
2525
$ csdx COMMAND
@@ -52,19 +52,14 @@ Perform audits and find possible errors in the exported Contentstack data
5252

5353
```
5454
USAGE
55-
$ csdx audit [-c <value>] [-d <value>] [--report-path <value>] [--modules
56-
content-types|global-fields|entries|extensions|workflows] [--columns <value> | ] [--sort <value>] [--filter <value>]
57-
[--csv | --no-truncate]
55+
$ csdx audit [--report-path <value>] [--modules content-types|global-fields|entries|extensions|workflows]
56+
[--columns <value> | ] [--sort <value>] [--filter <value>] [--csv | --no-truncate]
5857
5958
FLAGS
6059
--modules=<option>... Provide the list of modules to be audited
6160
<options: content-types|global-fields|entries|extensions|workflows>
6261
--report-path=<value> Path to store the audit reports
6362
64-
COMMON FLAGS
65-
-c, --config=<value> Path of the external config
66-
-d, --data-dir=<value> Path where the data is stored
67-
6863
TABLE FLAGS
6964
--columns=<value> Show only the specified columns (comma-separated)
7065
--csv The output is in the CSV format [alias: --output=csv]
@@ -97,8 +92,8 @@ Perform audits and fix possible errors in the exported Contentstack data.
9792

9893
```
9994
USAGE
100-
$ csdx audit:fix [-c <value>] [-d <value>] [--report-path <value>] [--modules
101-
content-types|global-fields|entries|extensions|workflows] [--copy-path <value> --copy-dir] [--fix-only
95+
$ csdx audit:fix [--report-path <value>] [--modules content-types|global-fields|entries|extensions|workflows]
96+
[--copy-path <value> --copy-dir] [--fix-only
10297
reference|global_field|json:rte|json:extension|blocks|group|content_types] [--columns <value> | ] [--sort <value>]
10398
[--filter <value>] [--csv | --no-truncate]
10499
@@ -111,10 +106,6 @@ FLAGS
111106
<options: content-types|global-fields|entries|extensions|workflows>
112107
--report-path=<value> Path to store the audit reports
113108
114-
COMMON FLAGS
115-
-c, --config=<value> Path of the external config
116-
-d, --data-dir=<value> Path where the data is stored
117-
118109
TABLE FLAGS
119110
--columns=<value> Show only the specified columns (comma-separated)
120111
--csv The output is in the CSV format [alias: --output=csv]
@@ -149,19 +140,14 @@ Perform audits and find possible errors in the exported Contentstack data
149140

150141
```
151142
USAGE
152-
$ csdx cm:stacks:audit [-c <value>] [-d <value>] [--report-path <value>] [--modules
153-
content-types|global-fields|entries|extensions|workflows] [--columns <value> | ] [--sort <value>] [--filter <value>]
154-
[--csv | --no-truncate]
143+
$ csdx cm:stacks:audit [--report-path <value>] [--modules content-types|global-fields|entries|extensions|workflows]
144+
[--columns <value> | ] [--sort <value>] [--filter <value>] [--csv | --no-truncate]
155145
156146
FLAGS
157147
--modules=<option>... Provide the list of modules to be audited
158148
<options: content-types|global-fields|entries|extensions|workflows>
159149
--report-path=<value> Path to store the audit reports
160150
161-
COMMON FLAGS
162-
-c, --config=<value> Path of the external config
163-
-d, --data-dir=<value> Path where the data is stored
164-
165151
TABLE FLAGS
166152
--columns=<value> Show only the specified columns (comma-separated)
167153
--csv The output is in the CSV format [alias: --output=csv]
@@ -196,8 +182,8 @@ Perform audits and fix possible errors in the exported Contentstack data.
196182

197183
```
198184
USAGE
199-
$ csdx cm:stacks:audit:fix [-c <value>] [-d <value>] [--report-path <value>] [--modules
200-
content-types|global-fields|entries|extensions|workflows] [--copy-path <value> --copy-dir] [--fix-only
185+
$ csdx cm:stacks:audit:fix [--report-path <value>] [--modules content-types|global-fields|entries|extensions|workflows]
186+
[--copy-path <value> --copy-dir] [--fix-only
201187
reference|global_field|json:rte|json:extension|blocks|group|content_types] [--columns <value> | ] [--sort <value>]
202188
[--filter <value>] [--csv | --no-truncate]
203189
@@ -210,10 +196,6 @@ FLAGS
210196
<options: content-types|global-fields|entries|extensions|workflows>
211197
--report-path=<value> Path to store the audit reports
212198
213-
COMMON FLAGS
214-
-c, --config=<value> Path of the external config
215-
-d, --data-dir=<value> Path where the data is stored
216-
217199
TABLE FLAGS
218200
--columns=<value> Show only the specified columns (comma-separated)
219201
--csv The output is in the CSV format [alias: --output=csv]
@@ -285,7 +267,7 @@ EXAMPLES
285267
$ csdx plugins
286268
```
287269

288-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.18/src/commands/plugins/index.ts)_
270+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/index.ts)_
289271

290272
## `csdx plugins:add PLUGIN`
291273

@@ -359,7 +341,7 @@ EXAMPLES
359341
$ csdx plugins:inspect myplugin
360342
```
361343

362-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.18/src/commands/plugins/inspect.ts)_
344+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/inspect.ts)_
363345

364346
## `csdx plugins:install PLUGIN`
365347

@@ -408,7 +390,7 @@ EXAMPLES
408390
$ csdx plugins:install someuser/someplugin
409391
```
410392

411-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.18/src/commands/plugins/install.ts)_
393+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/install.ts)_
412394

413395
## `csdx plugins:link PATH`
414396

@@ -438,7 +420,7 @@ EXAMPLES
438420
$ csdx plugins:link myplugin
439421
```
440422

441-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.18/src/commands/plugins/link.ts)_
423+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/link.ts)_
442424

443425
## `csdx plugins:remove [PLUGIN]`
444426

@@ -479,7 +461,7 @@ FLAGS
479461
--reinstall Reinstall all plugins after uninstalling.
480462
```
481463

482-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.18/src/commands/plugins/reset.ts)_
464+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/reset.ts)_
483465

484466
## `csdx plugins:uninstall [PLUGIN]`
485467

@@ -507,7 +489,7 @@ EXAMPLES
507489
$ csdx plugins:uninstall myplugin
508490
```
509491

510-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.18/src/commands/plugins/uninstall.ts)_
492+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/uninstall.ts)_
511493

512494
## `csdx plugins:unlink [PLUGIN]`
513495

@@ -551,5 +533,5 @@ DESCRIPTION
551533
Update installed plugins.
552534
```
553535

554-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.18/src/commands/plugins/update.ts)_
536+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/update.ts)_
555537
<!-- commandsstop -->

packages/contentstack-audit/bin/dev

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env node_modules/.bin/ts-node
2+
// eslint-disable-next-line node/shebang, unicorn/prefer-top-level-await
3+
(async () => {
4+
const oclif = await import('@oclif/core');
5+
await oclif.execute({ development: true, dir: __dirname });
6+
})();

packages/contentstack-audit/bin/run

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env node
2+
3+
// eslint-disable-next-line unicorn/prefer-top-level-await
4+
(async () => {
5+
const oclif = await import('@oclif/core');
6+
await oclif.execute({ development: false, dir: __dirname });
7+
})();

packages/contentstack-audit/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "@contentstack/cli-audit",
3-
"version": "1.6.0",
3+
"version": "1.6.1",
44
"description": "Contentstack audit plugin",
55
"author": "Contentstack CLI",
66
"homepage": "https://github.com/contentstack/cli",
77
"license": "MIT",
88
"main": "./lib/index.js",
99
"types": "./lib/index.d.ts",
1010
"bin": {
11-
"audit": "./bin/run"
11+
"audit": "./bin/run.js"
1212
},
1313
"repository": "contentstack/audit",
1414
"files": [
@@ -19,7 +19,7 @@
1919
],
2020
"dependencies": {
2121
"@contentstack/cli-command": "~1.2.16",
22-
"@contentstack/cli-utilities": "~1.6.0",
22+
"@contentstack/cli-utilities": "~1.6.1",
2323
"@oclif/plugin-help": "^5",
2424
"@oclif/plugin-plugins": "^5.0.0",
2525
"chalk": "^4.1.2",

packages/contentstack-auth/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli-auth
1818
$ csdx COMMAND
1919
running command...
2020
$ csdx (--version)
21-
@contentstack/cli-auth/1.3.17 darwin-arm64 node-v21.6.2
21+
@contentstack/cli-auth/1.3.18 darwin-arm64 node-v21.6.2
2222
$ csdx --help [COMMAND]
2323
USAGE
2424
$ csdx COMMAND
@@ -106,8 +106,8 @@ Lists all existing tokens added to the session
106106

107107
```
108108
USAGE
109-
$ csdx auth:tokens [--columns <value> | -x] [--sort <value>] [--filter <value>] [--output csv|json|yaml | |
110-
[--csv | --no-truncate]] [--no-header | ]
109+
$ csdx auth:tokens [--columns <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]]
110+
[--output csv|json|yaml | | ] [--sort <value>]
111111
112112
FLAGS
113113
-x, --extended show extra columns
@@ -283,8 +283,8 @@ Lists all existing tokens added to the session
283283

284284
```
285285
USAGE
286-
$ csdx tokens [--columns <value> | -x] [--sort <value>] [--filter <value>] [--output csv|json|yaml | |
287-
[--csv | --no-truncate]] [--no-header | ]
286+
$ csdx tokens [--columns <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]]
287+
[--output csv|json|yaml | | ] [--sort <value>]
288288
289289
FLAGS
290290
-x, --extended show extra columns

packages/contentstack-auth/bin/dev

Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env node_modules/.bin/ts-node
2+
// eslint-disable-next-line node/shebang, unicorn/prefer-top-level-await
3+
(async () => {
4+
const oclif = await import('@oclif/core');
5+
await oclif.execute({ development: true, dir: __dirname });
6+
})();

0 commit comments

Comments
 (0)