@contentstack/cli-cm-clone 2.0.0-beta.10 → 2.0.0-beta.12
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 +1 -1
- package/lib/commands/cm/stacks/clone.js +1 -0
- package/oclif.manifest.json +1 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ $ npm install -g @contentstack/cli-cm-clone
|
|
|
16
16
|
$ csdx COMMAND
|
|
17
17
|
running command...
|
|
18
18
|
$ csdx (--version)
|
|
19
|
-
@contentstack/cli-cm-clone/2.0.0-beta.
|
|
19
|
+
@contentstack/cli-cm-clone/2.0.0-beta.12 linux-x64 node-v22.22.0
|
|
20
20
|
$ csdx --help [COMMAND]
|
|
21
21
|
USAGE
|
|
22
22
|
$ csdx COMMAND
|
|
@@ -54,6 +54,7 @@ class StackCloneCommand extends cli_command_1.Command {
|
|
|
54
54
|
async run() {
|
|
55
55
|
try {
|
|
56
56
|
const self = this;
|
|
57
|
+
cli_utilities_1.configHandler.set('log.progressSupportedModule', 'clone');
|
|
57
58
|
const { flags: cloneCommandFlags } = await self.parse(StackCloneCommand);
|
|
58
59
|
const { yes, type: cloneType, 'stack-name': stackName, 'source-branch': sourceStackBranch, 'source-branch-alias': sourceStackBranchAlias, 'target-branch': targetStackBranch, 'target-branch-alias': targetStackBranchAlias, 'source-stack-api-key': sourceStackApiKey, 'destination-stack-api-key': destinationStackApiKey, 'source-management-token-alias': sourceManagementTokenAlias, 'destination-management-token-alias': destinationManagementTokenAlias, 'import-webhook-status': importWebhookStatus, config: externalConfigPath, } = cloneCommandFlags;
|
|
59
60
|
const handleClone = async () => {
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentstack/cli-cm-clone",
|
|
3
3
|
"description": "Contentstack stack clone plugin",
|
|
4
|
-
"version": "2.0.0-beta.
|
|
4
|
+
"version": "2.0.0-beta.12",
|
|
5
5
|
"author": "Contentstack",
|
|
6
6
|
"bugs": "https://github.com/rohitmishra209/cli-cm-clone/issues",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@colors/colors": "^1.6.0",
|
|
9
|
-
"@contentstack/cli-cm-export": "~2.0.0-beta.
|
|
10
|
-
"@contentstack/cli-cm-import": "~2.0.0-beta.
|
|
11
|
-
"@contentstack/cli-command": "~2.0.0-beta",
|
|
12
|
-
"@contentstack/cli-utilities": "~2.0.0-beta",
|
|
9
|
+
"@contentstack/cli-cm-export": "~2.0.0-beta.11",
|
|
10
|
+
"@contentstack/cli-cm-import": "~2.0.0-beta.11",
|
|
11
|
+
"@contentstack/cli-command": "~2.0.0-beta.2",
|
|
12
|
+
"@contentstack/cli-utilities": "~2.0.0-beta.2",
|
|
13
13
|
"@oclif/core": "^4.3.0",
|
|
14
14
|
"@oclif/plugin-help": "^6.2.28",
|
|
15
15
|
"chalk": "^4.1.2",
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
},
|
|
62
62
|
"repository": "https://github.com/contentstack/cli",
|
|
63
63
|
"scripts": {
|
|
64
|
-
"build": "
|
|
65
|
-
"clean": "rm -rf ./lib ./node_modules tsconfig.
|
|
64
|
+
"build": "pnpm compile && oclif manifest && oclif readme",
|
|
65
|
+
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
|
|
66
66
|
"compile": "tsc -b tsconfig.json",
|
|
67
67
|
"postpack": "rm -f oclif.manifest.json",
|
|
68
68
|
"prepack": "pnpm compile && oclif manifest && oclif readme",
|
|
@@ -78,4 +78,4 @@
|
|
|
78
78
|
"cm:stacks:clone": "CLN"
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
}
|
|
81
|
+
}
|