@contentstack/cli 1.18.1 → 1.18.2
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 +8 -8
- package/lib/utils/context-handler.js +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +11 -11
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.18.
|
|
21
|
+
@contentstack/cli/1.18.2 linux-x64 node-v18.20.3
|
|
22
22
|
$ csdx --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ csdx COMMAND
|
|
@@ -3492,7 +3492,7 @@ EXAMPLES
|
|
|
3492
3492
|
$ csdx plugins
|
|
3493
3493
|
```
|
|
3494
3494
|
|
|
3495
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
3495
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.1.2/src/commands/plugins/index.ts)_
|
|
3496
3496
|
|
|
3497
3497
|
## `csdx plugins:add PLUGIN`
|
|
3498
3498
|
|
|
@@ -3566,7 +3566,7 @@ EXAMPLES
|
|
|
3566
3566
|
$ csdx plugins:inspect myplugin
|
|
3567
3567
|
```
|
|
3568
3568
|
|
|
3569
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
3569
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.1.2/src/commands/plugins/inspect.ts)_
|
|
3570
3570
|
|
|
3571
3571
|
## `csdx plugins:install PLUGIN`
|
|
3572
3572
|
|
|
@@ -3615,7 +3615,7 @@ EXAMPLES
|
|
|
3615
3615
|
$ csdx plugins:install someuser/someplugin
|
|
3616
3616
|
```
|
|
3617
3617
|
|
|
3618
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
3618
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.1.2/src/commands/plugins/install.ts)_
|
|
3619
3619
|
|
|
3620
3620
|
## `csdx plugins:link PATH`
|
|
3621
3621
|
|
|
@@ -3645,7 +3645,7 @@ EXAMPLES
|
|
|
3645
3645
|
$ csdx plugins:link myplugin
|
|
3646
3646
|
```
|
|
3647
3647
|
|
|
3648
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
3648
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.1.2/src/commands/plugins/link.ts)_
|
|
3649
3649
|
|
|
3650
3650
|
## `csdx plugins:remove [PLUGIN]`
|
|
3651
3651
|
|
|
@@ -3686,7 +3686,7 @@ FLAGS
|
|
|
3686
3686
|
--reinstall Reinstall all plugins after uninstalling.
|
|
3687
3687
|
```
|
|
3688
3688
|
|
|
3689
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
3689
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.1.2/src/commands/plugins/reset.ts)_
|
|
3690
3690
|
|
|
3691
3691
|
## `csdx plugins:uninstall [PLUGIN]`
|
|
3692
3692
|
|
|
@@ -3714,7 +3714,7 @@ EXAMPLES
|
|
|
3714
3714
|
$ csdx plugins:uninstall myplugin
|
|
3715
3715
|
```
|
|
3716
3716
|
|
|
3717
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
3717
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.1.2/src/commands/plugins/uninstall.ts)_
|
|
3718
3718
|
|
|
3719
3719
|
## `csdx plugins:unlink [PLUGIN]`
|
|
3720
3720
|
|
|
@@ -3758,7 +3758,7 @@ DESCRIPTION
|
|
|
3758
3758
|
Update installed plugins.
|
|
3759
3759
|
```
|
|
3760
3760
|
|
|
3761
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
3761
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.1.2/src/commands/plugins/update.ts)_
|
|
3762
3762
|
|
|
3763
3763
|
## `csdx tokens`
|
|
3764
3764
|
|
|
@@ -37,7 +37,7 @@ class CsdxContext {
|
|
|
37
37
|
this.plugin = (cliConfig.plugins || new Map()).get(command.pluginName) || {};
|
|
38
38
|
this.plugin.name = command.pluginName;
|
|
39
39
|
this.plugin.config = Object.assign({}, ((this.plugin.pjson && this.plugin.pjson.csdxConfig) || {}));
|
|
40
|
-
this.messageFilePath = (0, cli_utilities_1.pathValidator)(path.resolve(this.plugin.root, this.plugin.config.messageFilePath || './messages/index.json'));
|
|
40
|
+
this.messageFilePath = (0, cli_utilities_1.pathValidator)(path.resolve((0, cli_utilities_1.sanitizePath)(this.plugin.root), (0, cli_utilities_1.sanitizePath)(this.plugin.config.messageFilePath) || './messages/index.json'));
|
|
41
41
|
this.info.shortCommandName = (_c = (_b = (_a = this.plugin) === null || _a === void 0 ? void 0 : _a.config) === null || _b === void 0 ? void 0 : _b.shortCommandName) === null || _c === void 0 ? void 0 : _c[cliOpts.id];
|
|
42
42
|
analyticsInfo.push(this.info.shortCommandName || cliOpts.id);
|
|
43
43
|
}
|
package/oclif.manifest.json
CHANGED
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.18.
|
|
4
|
+
"version": "1.18.2",
|
|
5
5
|
"author": "Contentstack",
|
|
6
6
|
"bin": {
|
|
7
7
|
"csdx": "./bin/run.js"
|
|
@@ -22,22 +22,22 @@
|
|
|
22
22
|
"prepack": "pnpm compile && oclif manifest && oclif readme"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@contentstack/cli-audit": "~1.6.
|
|
25
|
+
"@contentstack/cli-audit": "~1.6.2",
|
|
26
26
|
"@contentstack/cli-auth": "~1.3.18",
|
|
27
|
-
"@contentstack/cli-cm-bootstrap": "~1.9.
|
|
28
|
-
"@contentstack/cli-cm-branches": "~1.0.
|
|
29
|
-
"@contentstack/cli-cm-bulk-publish": "~1.4.
|
|
30
|
-
"@contentstack/cli-cm-export": "~1.11.
|
|
31
|
-
"@contentstack/cli-cm-clone": "~1.10.
|
|
27
|
+
"@contentstack/cli-cm-bootstrap": "~1.9.3",
|
|
28
|
+
"@contentstack/cli-cm-branches": "~1.0.26",
|
|
29
|
+
"@contentstack/cli-cm-bulk-publish": "~1.4.7",
|
|
30
|
+
"@contentstack/cli-cm-export": "~1.11.4",
|
|
31
|
+
"@contentstack/cli-cm-clone": "~1.10.5",
|
|
32
32
|
"@contentstack/cli-cm-export-to-csv": "~1.7.1",
|
|
33
|
-
"@contentstack/cli-cm-import": "~1.15.
|
|
33
|
+
"@contentstack/cli-cm-import": "~1.15.6",
|
|
34
34
|
"@contentstack/cli-cm-migrate-rte": "~1.4.17",
|
|
35
|
-
"@contentstack/cli-cm-seed": "~1.7.
|
|
35
|
+
"@contentstack/cli-cm-seed": "~1.7.5",
|
|
36
36
|
"@contentstack/cli-command": "~1.2.18",
|
|
37
37
|
"@contentstack/cli-config": "~1.6.4",
|
|
38
38
|
"@contentstack/cli-launch": "~1.0.18",
|
|
39
|
-
"@contentstack/cli-migration": "~1.5.
|
|
40
|
-
"@contentstack/cli-utilities": "~1.6.
|
|
39
|
+
"@contentstack/cli-migration": "~1.5.6",
|
|
40
|
+
"@contentstack/cli-utilities": "~1.6.2",
|
|
41
41
|
"@contentstack/management": "~1.15.3",
|
|
42
42
|
"@oclif/core": "^3.26.5",
|
|
43
43
|
"@oclif/plugin-help": "^5",
|