@contentstack/cli 1.61.0 → 1.61.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.61.0 linux-x64 node-v22.22.2
21
+ @contentstack/cli/1.61.1 linux-x64 node-v22.22.2
22
22
  $ csdx --help [COMMAND]
23
23
  USAGE
24
24
  $ csdx COMMAND
@@ -3853,7 +3853,7 @@ DESCRIPTION
3853
3853
  Display help for csdx.
3854
3854
  ```
3855
3855
 
3856
- _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/6.2.44/src/commands/help.ts)_
3856
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/6.2.46/src/commands/help.ts)_
3857
3857
 
3858
3858
  ## `csdx launch`
3859
3859
 
@@ -4173,7 +4173,7 @@ EXAMPLES
4173
4173
  $ csdx plugins
4174
4174
  ```
4175
4175
 
4176
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.61/src/commands/plugins/index.ts)_
4176
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.63/src/commands/plugins/index.ts)_
4177
4177
 
4178
4178
  ## `csdx plugins:add PLUGIN`
4179
4179
 
@@ -4247,7 +4247,7 @@ EXAMPLES
4247
4247
  $ csdx plugins:inspect myplugin
4248
4248
  ```
4249
4249
 
4250
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.61/src/commands/plugins/inspect.ts)_
4250
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.63/src/commands/plugins/inspect.ts)_
4251
4251
 
4252
4252
  ## `csdx plugins:install PLUGIN`
4253
4253
 
@@ -4296,7 +4296,7 @@ EXAMPLES
4296
4296
  $ csdx plugins:install someuser/someplugin
4297
4297
  ```
4298
4298
 
4299
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.61/src/commands/plugins/install.ts)_
4299
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.63/src/commands/plugins/install.ts)_
4300
4300
 
4301
4301
  ## `csdx plugins:link PATH`
4302
4302
 
@@ -4327,7 +4327,7 @@ EXAMPLES
4327
4327
  $ csdx plugins:link myplugin
4328
4328
  ```
4329
4329
 
4330
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.61/src/commands/plugins/link.ts)_
4330
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.63/src/commands/plugins/link.ts)_
4331
4331
 
4332
4332
  ## `csdx plugins:remove [PLUGIN]`
4333
4333
 
@@ -4368,7 +4368,7 @@ FLAGS
4368
4368
  --reinstall Reinstall all plugins after uninstalling.
4369
4369
  ```
4370
4370
 
4371
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.61/src/commands/plugins/reset.ts)_
4371
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.63/src/commands/plugins/reset.ts)_
4372
4372
 
4373
4373
  ## `csdx plugins:uninstall [PLUGIN]`
4374
4374
 
@@ -4396,7 +4396,7 @@ EXAMPLES
4396
4396
  $ csdx plugins:uninstall myplugin
4397
4397
  ```
4398
4398
 
4399
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.61/src/commands/plugins/uninstall.ts)_
4399
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.63/src/commands/plugins/uninstall.ts)_
4400
4400
 
4401
4401
  ## `csdx plugins:unlink [PLUGIN]`
4402
4402
 
@@ -4440,7 +4440,7 @@ DESCRIPTION
4440
4440
  Update installed plugins.
4441
4441
  ```
4442
4442
 
4443
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.61/src/commands/plugins/update.ts)_
4443
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.63/src/commands/plugins/update.ts)_
4444
4444
 
4445
4445
  ## `csdx tokens`
4446
4446
 
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- const shortUUID = tslib_1.__importStar(require("short-uuid"));
5
4
  const path = tslib_1.__importStar(require("path"));
6
5
  const cli_utilities_1 = require("@contentstack/cli-utilities");
7
6
  const node_machine_id_1 = require("node-machine-id");
@@ -22,7 +21,7 @@ class CsdxContext {
22
21
  cli_utilities_1.configHandler.set('clientId', this.clientId);
23
22
  }
24
23
  analyticsInfo.push(this.clientId);
25
- const sessionId = shortUUID.generate();
24
+ const sessionId = (0, cli_utilities_1.generateShortUid)();
26
25
  cli_utilities_1.configHandler.set('sessionId', sessionId);
27
26
  this.sessionId = sessionId;
28
27
  analyticsInfo.push(this.sessionId);
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "commands": {},
3
- "version": "1.61.0"
3
+ "version": "1.61.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.61.0",
4
+ "version": "1.61.1",
5
5
  "author": "Contentstack",
6
6
  "bin": {
7
7
  "csdx": "./bin/run.js"
@@ -19,39 +19,31 @@
19
19
  "prepack": "pnpm compile && oclif manifest && oclif readme"
20
20
  },
21
21
  "dependencies": {
22
- "@contentstack/cli-audit": "~1.19.2",
23
- "@contentstack/cli-cm-export": "~1.24.2",
24
- "@contentstack/cli-cm-import": "~1.32.2",
25
- "@contentstack/cli-auth": "~1.8.1",
26
- "@contentstack/cli-cm-bootstrap": "~1.19.1",
27
- "@contentstack/cli-cm-branches": "~1.8.0",
28
- "@contentstack/cli-cm-bulk-publish": "~1.11.2",
29
- "@contentstack/cli-cm-clone": "~1.21.2",
30
- "@contentstack/cli-cm-export-to-csv": "~1.12.1",
31
- "@contentstack/cli-cm-import-setup": "~1.8.2",
22
+ "@contentstack/cli-audit": "~1.19.3",
23
+ "@contentstack/cli-cm-export": "~1.24.3",
24
+ "@contentstack/cli-cm-import": "~1.32.3",
25
+ "@contentstack/cli-auth": "~1.8.2",
26
+ "@contentstack/cli-cm-bootstrap": "~1.19.2",
27
+ "@contentstack/cli-cm-branches": "~1.8.1",
28
+ "@contentstack/cli-cm-bulk-publish": "~1.11.3",
29
+ "@contentstack/cli-cm-clone": "~1.21.3",
30
+ "@contentstack/cli-cm-export-to-csv": "~1.12.2",
31
+ "@contentstack/cli-cm-import-setup": "~1.8.3",
32
32
  "@contentstack/cli-cm-migrate-rte": "~1.6.4",
33
- "@contentstack/cli-cm-seed": "~1.15.1",
34
- "@contentstack/cli-command": "~1.8.1",
35
- "@contentstack/cli-config": "~1.20.2",
36
- "@contentstack/cli-launch": "^1.9.7",
37
- "@contentstack/cli-migration": "~1.12.1",
38
- "@contentstack/cli-utilities": "~1.18.2",
39
- "@contentstack/cli-variants": "~1.4.2",
40
- "@contentstack/management": "~1.30.1",
33
+ "@contentstack/cli-cm-seed": "~1.15.2",
34
+ "@contentstack/cli-command": "~1.8.2",
35
+ "@contentstack/cli-config": "~1.20.3",
36
+ "@contentstack/cli-launch": "^1.9.8",
37
+ "@contentstack/cli-migration": "~1.12.2",
38
+ "@contentstack/cli-utilities": "~1.18.3",
39
+ "@contentstack/cli-variants": "~1.4.3",
41
40
  "@oclif/core": "^4.10.5",
42
41
  "@oclif/plugin-help": "^6.2.28",
43
42
  "@oclif/plugin-not-found": "^3.2.53",
44
43
  "@oclif/plugin-plugins": "^5.4.54",
45
- "chalk": "^4.1.2",
46
- "debug": "^4.4.1",
47
44
  "figlet": "1.8.1",
48
- "inquirer": "8.2.7",
49
45
  "node-machine-id": "^1.1.12",
50
- "open": "^8.4.2",
51
- "semver": "^7.7.2",
52
- "short-uuid": "^4.2.2",
53
- "uuid": "^9.0.1",
54
- "winston": "^3.17.0"
46
+ "semver": "^7.7.2"
55
47
  },
56
48
  "overrides": {
57
49
  "@oclif/core": {
@@ -61,14 +53,12 @@
61
53
  "devDependencies": {
62
54
  "@oclif/test": "^4.1.16",
63
55
  "@types/chai": "^4.3.20",
64
- "@types/inquirer": "^9.0.9",
65
- "@types/mkdirp": "^1.0.2",
66
56
  "@types/mocha": "^8.2.3",
67
57
  "@types/node": "^14.18.63",
68
58
  "@types/semver": "^7.7.0",
69
59
  "@types/sinon": "^21.0.0",
70
60
  "chai": "^4.5.0",
71
- "eslint": "^8.57.1",
61
+ "eslint": "^9.26.0",
72
62
  "eslint-config-oclif": "^6.0.137",
73
63
  "eslint-config-oclif-typescript": "^3.1.14",
74
64
  "globby": "^10.0.2",
@@ -170,4 +160,4 @@
170
160
  }
171
161
  },
172
162
  "repository": "https://github.com/contentstack/cli"
173
- }
163
+ }