diff --git a/packages/contentstack-clone/package-lock.json b/packages/contentstack-clone/package-lock.json index fdabb26331..b42ac54279 100644 --- a/packages/contentstack-clone/package-lock.json +++ b/packages/contentstack-clone/package-lock.json @@ -1,6 +1,6 @@ { "name": "@contentstack/cli-cm-clone", - "version": "0.1.0-beta", + "version": "0.0.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/contentstack-clone/src/commands/cm/stack-clone.js b/packages/contentstack-clone/src/commands/cm/stack-clone.js index 52f254ead7..ff4e8f597d 100644 --- a/packages/contentstack-clone/src/commands/cm/stack-clone.js +++ b/packages/contentstack-clone/src/commands/cm/stack-clone.js @@ -18,11 +18,7 @@ class StackCloneCommand extends Command { let result = await cloneHandler.start() var pathdir = path.join(__dirname.split("src")[0], 'contents') rimraf(pathdir, function(err) { - if(err) { - console.log(err); - } else { - console.log("Stack cloning process have been completed successfully"); - } + console.log("Stack cloning process have been completed successfully"); }) } else { console.log("AuthToken is not present in local drive, Hence use 'csdx auth:login' command for login"); diff --git a/packages/contentstack-export/package-lock.json b/packages/contentstack-export/package-lock.json index 7b23249446..3b3427522d 100644 --- a/packages/contentstack-export/package-lock.json +++ b/packages/contentstack-export/package-lock.json @@ -132,30 +132,6 @@ "to-fast-properties": "^2.0.0" } }, - "@contentstack/cli-command": { - "version": "0.1.1-beta.1", - "resolved": "https://registry.npmjs.org/@contentstack/cli-command/-/cli-command-0.1.1-beta.1.tgz", - "integrity": "sha512-khWTREL2s6/Ua1Vsa8aPe3l+WWNIdbl+N56n7JmqLJ8uCUXDyFQu4n9zXvsSubsyliabsnI3AVxMUdrXSyhw2A==", - "requires": { - "@contentstack/management": "^1.0.0", - "@oclif/command": "^1.8.0", - "configstore": "^5.0.1", - "contentstack": "^3.10.1" - }, - "dependencies": { - "@contentstack/management": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@contentstack/management/-/management-1.2.0.tgz", - "integrity": "sha512-L42yh8bxGJcBc7zeLaqEpewJ6HEF6B8VzWjUycbHH2FJr5aV21jQhM1G8cclBJRQiQDKJXRAY1PDjFRg3FTYyQ==", - "requires": { - "axios": "^0.21.1", - "form-data": "^3.0.0", - "lodash": "^4.17.19", - "qs": "^6.9.4" - } - } - } - }, "@contentstack/management": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@contentstack/management/-/management-1.2.0.tgz", @@ -1210,16 +1186,6 @@ "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", "dev": true }, - "contentstack": { - "version": "3.12.2", - "resolved": "https://registry.npmjs.org/contentstack/-/contentstack-3.12.2.tgz", - "integrity": "sha512-GjtlWR3LrV/FRobqcXzoXFtpQZuwool3zlDsW4Bh+AlaZ3Hkyx3YbkYomCup9mvtW5BCSUYH7NItAyocttVCIw==", - "requires": { - "es6-promise": "4.1.1", - "localStorage": "1.0.3", - "node-fetch": "^2.6.1" - } - }, "convert-source-map": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", @@ -1485,11 +1451,6 @@ "integrity": "sha1-wsNYJlYkfDnqEHyx5mUrb58kUjw=", "dev": true }, - "es6-promise": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.1.1.tgz", - "integrity": "sha512-OaU1hHjgJf+b0NzsxCg7NdIYERD6Hy/PEmFLTjw+b65scuisG3Kt4QoTvJ66BBkPZ581gr0kpoVzKnxniM8nng==" - }, "escape-string-regexp": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", @@ -3023,11 +2984,6 @@ } } }, - "localStorage": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/localStorage/-/localStorage-1.0.3.tgz", - "integrity": "sha1-5riaV7t2ChVqOMyH4PJVD27UE9g=" - }, "locate-path": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", @@ -3500,11 +3456,6 @@ } } }, - "node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" - }, "normalize-package-data": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.0.tgz", diff --git a/packages/contentstack-import/package-lock.json b/packages/contentstack-import/package-lock.json index f2cf7da166..7049d975a7 100644 --- a/packages/contentstack-import/package-lock.json +++ b/packages/contentstack-import/package-lock.json @@ -1,6 +1,6 @@ { "name": "@contentstack/cli-cm-import", - "version": "0.0.25", + "version": "0.1.1-beta.2", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -197,17 +197,6 @@ } } }, - "@contentstack/cli-command": { - "version": "0.1.0-beta", - "resolved": "https://npm.pkg.github.com/download/@contentstack/cli-command/0.1.0-beta/18749508f3a300e4417f53d3d6196c6421378556b71b2549aafec3526be3e051", - "integrity": "sha512-uIDAymHx5gKmVyDh+MdWg9tiW1xbEfqgveYCimoaYa8sJEuXsAMbjDSl9K1IpPgCbTdNDLSis/AP4vUIxlx82A==", - "requires": { - "@contentstack/management": "^1.0.0", - "@oclif/command": "^1.8.0", - "configstore": "^5.0.1", - "contentstack": "^3.10.1" - } - }, "@contentstack/management": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@contentstack/management/-/management-1.2.0.tgz", @@ -1200,16 +1189,6 @@ "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", "dev": true }, - "contentstack": { - "version": "3.12.2", - "resolved": "https://registry.npmjs.org/contentstack/-/contentstack-3.12.2.tgz", - "integrity": "sha512-GjtlWR3LrV/FRobqcXzoXFtpQZuwool3zlDsW4Bh+AlaZ3Hkyx3YbkYomCup9mvtW5BCSUYH7NItAyocttVCIw==", - "requires": { - "es6-promise": "4.1.1", - "localStorage": "1.0.3", - "node-fetch": "^2.6.1" - } - }, "convert-source-map": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", @@ -1428,11 +1407,6 @@ "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==", "dev": true }, - "es6-promise": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.1.1.tgz", - "integrity": "sha512-OaU1hHjgJf+b0NzsxCg7NdIYERD6Hy/PEmFLTjw+b65scuisG3Kt4QoTvJ66BBkPZ581gr0kpoVzKnxniM8nng==" - }, "escape-string-regexp": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", @@ -2834,11 +2808,6 @@ } } }, - "localStorage": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/localStorage/-/localStorage-1.0.3.tgz", - "integrity": "sha1-5riaV7t2ChVqOMyH4PJVD27UE9g=" - }, "locate-path": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", @@ -3265,11 +3234,6 @@ } } }, - "node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" - }, "normalize-package-data": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.0.tgz",