@contentstack/cli-cm-import 1.21.1 → 1.21.3
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/config/index.js +1 -1
- package/lib/import/modules/base-class.js +6 -1
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -47,7 +47,7 @@ $ npm install -g @contentstack/cli-cm-import
|
|
|
47
47
|
$ csdx COMMAND
|
|
48
48
|
running command...
|
|
49
49
|
$ csdx (--version)
|
|
50
|
-
@contentstack/cli-cm-import/1.21.
|
|
50
|
+
@contentstack/cli-cm-import/1.21.3 linux-x64 node-v22.15.0
|
|
51
51
|
$ csdx --help [COMMAND]
|
|
52
52
|
USAGE
|
|
53
53
|
$ csdx COMMAND
|
package/lib/config/index.js
CHANGED
|
@@ -429,7 +429,7 @@ const config = {
|
|
|
429
429
|
getEncryptionKeyMaxRetry: 3,
|
|
430
430
|
// useBackedupDir: '',
|
|
431
431
|
// backupConcurrency: 10,
|
|
432
|
-
onlyTSModules: ['taxonomies', 'personalize'],
|
|
432
|
+
onlyTSModules: ['taxonomies', 'personalize', 'variant-entries'],
|
|
433
433
|
auditConfig: {
|
|
434
434
|
noLog: false,
|
|
435
435
|
skipConfirm: true,
|
|
@@ -178,7 +178,12 @@ class BaseClass {
|
|
|
178
178
|
case 'update-locale':
|
|
179
179
|
return this.stack
|
|
180
180
|
.locale(apiData.code)
|
|
181
|
-
.
|
|
181
|
+
.fetch()
|
|
182
|
+
.then((locale) => {
|
|
183
|
+
locale.name = apiData.name;
|
|
184
|
+
locale.fallback_locale = apiData.fallback_locale;
|
|
185
|
+
return locale.update();
|
|
186
|
+
})
|
|
182
187
|
.then(onSuccess)
|
|
183
188
|
.catch(onReject);
|
|
184
189
|
case 'create-cts':
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentstack/cli-cm-import",
|
|
3
3
|
"description": "Contentstack CLI plugin to import content into stack",
|
|
4
|
-
"version": "1.21.
|
|
4
|
+
"version": "1.21.3",
|
|
5
5
|
"author": "Contentstack",
|
|
6
6
|
"bugs": "https://github.com/contentstack/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@contentstack/cli-audit": "~1.12.
|
|
8
|
+
"@contentstack/cli-audit": "~1.12.1",
|
|
9
9
|
"@contentstack/cli-command": "~1.5.0",
|
|
10
10
|
"@contentstack/cli-utilities": "~1.11.0",
|
|
11
11
|
"@contentstack/management": "~1.20.2",
|
|
12
|
-
"@contentstack/cli-variants": "~1.2.
|
|
12
|
+
"@contentstack/cli-variants": "~1.2.1",
|
|
13
13
|
"@oclif/core": "^4.2.7",
|
|
14
14
|
"big-json": "^3.2.0",
|
|
15
15
|
"bluebird": "^3.7.2",
|