@contentstack/cli-cm-export-to-csv 1.8.2 → 1.9.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/package.json
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentstack/cli-cm-export-to-csv",
|
|
3
3
|
"description": "Export entities to csv",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.9.1",
|
|
5
5
|
"author": "Abhinav Gupta @abhinav-from-contentstack",
|
|
6
6
|
"bugs": "https://github.com/contentstack/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@contentstack/cli-command": "~1.
|
|
9
|
-
"@contentstack/cli-utilities": "~1.
|
|
8
|
+
"@contentstack/cli-command": "~1.6.1",
|
|
9
|
+
"@contentstack/cli-utilities": "~1.14.0",
|
|
10
|
+
"@oclif/core": "^4.3.0",
|
|
11
|
+
"@oclif/plugin-help": "^6.2.32",
|
|
10
12
|
"fast-csv": "^4.3.6",
|
|
11
|
-
"inquirer": "8.2.
|
|
13
|
+
"inquirer": "8.2.7",
|
|
12
14
|
"inquirer-checkbox-plus-prompt": "1.4.2",
|
|
13
15
|
"mkdirp": "^3.0.1"
|
|
14
16
|
},
|
|
@@ -6,7 +6,8 @@ const {
|
|
|
6
6
|
isAuthenticated,
|
|
7
7
|
cliux,
|
|
8
8
|
doesBranchExist,
|
|
9
|
-
isManagementTokenValid
|
|
9
|
+
isManagementTokenValid,
|
|
10
|
+
log
|
|
10
11
|
} = require('@contentstack/cli-utilities');
|
|
11
12
|
const util = require('../../util');
|
|
12
13
|
const config = require('../../util/config');
|
|
@@ -126,7 +127,7 @@ class ExportToCsvCommand extends Command {
|
|
|
126
127
|
}
|
|
127
128
|
|
|
128
129
|
stackAPIClient = this.getStackClient(managementAPIClient, stack);
|
|
129
|
-
await this.checkAndUpdateBranchDetail(branchUid, stack, stackAPIClient, managementAPIClient);
|
|
130
|
+
stackAPIClient = await this.checkAndUpdateBranchDetail(branchUid, stack, stackAPIClient, managementAPIClient);
|
|
130
131
|
|
|
131
132
|
const contentTypeCount = await util.getContentTypeCount(stackAPIClient);
|
|
132
133
|
|
|
@@ -321,6 +322,7 @@ class ExportToCsvCommand extends Command {
|
|
|
321
322
|
stackAPIClient = this.getStackClient(managementAPIClient, stack);
|
|
322
323
|
}
|
|
323
324
|
}
|
|
325
|
+
return stackAPIClient;
|
|
324
326
|
}
|
|
325
327
|
|
|
326
328
|
/**
|