@contentstack/cli-cm-export 1.11.6 → 1.11.7

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
@@ -48,7 +48,7 @@ $ npm install -g @contentstack/cli-cm-export
48
48
  $ csdx COMMAND
49
49
  running command...
50
50
  $ csdx (--version)
51
- @contentstack/cli-cm-export/1.11.6 linux-x64 node-v18.20.4
51
+ @contentstack/cli-cm-export/1.11.7 linux-x64 node-v18.20.4
52
52
  $ csdx --help [COMMAND]
53
53
  USAGE
54
54
  $ csdx COMMAND
@@ -15,6 +15,7 @@ class ExportCommand extends cli_command_1.Command {
15
15
  let exportConfig = await (0, utils_1.setupExportConfig)(flags);
16
16
  // Note setting host to create cma client
17
17
  exportConfig.host = this.cmaHost;
18
+ exportConfig.developerHubBaseUrl = this.developerHubUrl;
18
19
  exportDir = exportConfig.cliLogsPath || exportConfig.data || exportConfig.exportDir;
19
20
  const managementAPIClient = await (0, cli_utilities_1.managementSDKClient)(exportConfig);
20
21
  const moduleExporter = new export_1.ModuleExporter(managementAPIClient, exportConfig);
@@ -1,5 +1,6 @@
1
1
  import { NodeCrypto, ContentstackMarketplaceClient } from '@contentstack/cli-utilities';
2
2
  import { ModuleClassParams, MarketplaceAppsConfig, ExportConfig, Installation } from '../../types';
3
+ import { Command } from '@contentstack/cli-command';
3
4
  export default class ExportMarketplaceApps {
4
5
  protected marketplaceAppConfig: MarketplaceAppsConfig;
5
6
  protected installedApps: Installation[];
@@ -8,6 +9,7 @@ export default class ExportMarketplaceApps {
8
9
  nodeCrypto: NodeCrypto;
9
10
  appSdk: ContentstackMarketplaceClient;
10
11
  exportConfig: ExportConfig;
12
+ command: Command;
11
13
  constructor({ exportConfig }: Omit<ModuleClassParams, 'stackAPIClient' | 'moduleName'>);
12
14
  start(): Promise<void>;
13
15
  /**
@@ -11,7 +11,7 @@ const eachOf = require('async/eachOf');
11
11
  const { cliux, HttpClient, NodeCrypto, managementSDKClient, HttpClientDecorator, OauthDecorator, isAuthenticated, } = require('@contentstack/cli-utilities');
12
12
  const { default: config } = require('../../config');
13
13
  const { formatError, log, fileHelper } = require('../../utils');
14
- const { getDeveloperHubUrl, createNodeCryptoInstance } = require('../../utils');
14
+ const { createNodeCryptoInstance } = require('../../utils');
15
15
  module.exports = class ExportMarketplaceApps {
16
16
  constructor(credentialConfig) {
17
17
  this.marketplaceAppPath = null;
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.11.6",
2
+ "version": "1.11.7",
3
3
  "commands": {
4
4
  "cm:stacks:export": {
5
5
  "id": "cm:stacks:export",
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@contentstack/cli-cm-export",
3
3
  "description": "Contentstack CLI plugin to export content from stack",
4
- "version": "1.11.6",
4
+ "version": "1.11.7",
5
5
  "author": "Contentstack",
6
6
  "bugs": "https://github.com/contentstack/cli/issues",
7
7
  "dependencies": {
8
- "@contentstack/cli-command": "~1.2.19",
9
- "@contentstack/cli-utilities": "~1.7.0",
8
+ "@contentstack/cli-command": "~1.3.0",
9
+ "@contentstack/cli-utilities": "~1.7.1",
10
10
  "@oclif/core": "^3.26.5",
11
11
  "async": "^3.2.4",
12
12
  "big-json": "^3.2.0",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "devDependencies": {
27
27
  "@contentstack/cli-auth": "~1.3.19",
28
- "@contentstack/cli-config": "~1.6.4",
28
+ "@contentstack/cli-config": "~1.7.0",
29
29
  "@contentstack/cli-dev-dependencies": "~1.2.4",
30
30
  "@oclif/plugin-help": "^5.1.19",
31
31
  "@oclif/test": "^2.5.6",