Skip to content

Commit 6c71480

Browse files
Merge pull request #1992 from contentstack/fix/dx-3097-version-and-optional-chaining
Fix/dx 3097 version bump and optional chaining
2 parents 7b250f0 + c3e1026 commit 6c71480

File tree

6 files changed

+17
-35
lines changed

6 files changed

+17
-35
lines changed

package-lock.json

Lines changed: 5 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/contentstack-clone/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@contentstack/cli-cm-clone",
33
"description": "Contentstack stack clone plugin",
4-
"version": "1.14.2",
4+
"version": "1.14.3",
55
"author": "Contentstack",
66
"bugs": "https://github.com/rohitmishra209/cli-cm-clone/issues",
77
"dependencies": {

packages/contentstack-import/src/import/modules/stack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default class ImportStack extends BaseClass { // classname
3131
return;
3232
}
3333

34-
if (this.stackSettings.live_preview && this.stackSettings.live_preview['default-env']) {
34+
if (this.stackSettings?.live_preview && this.stackSettings?.live_preview['default-env']) {
3535
const oldEnvUid = this.stackSettings.live_preview['default-env'];
3636
const mappedEnvUid = this.envUidMapper[oldEnvUid];
3737
this.stackSettings.live_preview['default-env'] = mappedEnvUid;

packages/contentstack-seed/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"@contentstack/cli-cm-import": "~1.25.0",
99
"@contentstack/cli-command": "~1.5.0",
1010
"@contentstack/cli-utilities": "~1.12.0",
11-
"@contentstack/management": "~1.21.4",
11+
"@contentstack/management": "~1.22.0",
1212
"inquirer": "8.2.6",
1313
"mkdirp": "^1.0.4",
1414
"tar": "^6.2.1",

packages/contentstack/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@
2727
"@contentstack/cli-cm-bootstrap": "~1.14.1",
2828
"@contentstack/cli-cm-branches": "~1.4.3",
2929
"@contentstack/cli-cm-bulk-publish": "~1.8.2",
30-
"@contentstack/cli-cm-clone": "~1.14.2",
30+
"@contentstack/cli-cm-clone": "~1.14.3",
3131
"@contentstack/cli-cm-export": "~1.17.0",
3232
"@contentstack/cli-cm-export-to-csv": "~1.8.2",
3333
"@contentstack/cli-cm-import": "~1.25.0",
3434
"@contentstack/cli-cm-import-setup": "1.3.0",
3535
"@contentstack/cli-cm-migrate-rte": "~1.5.2",
36-
"@contentstack/cli-cm-seed": "~1.11.2",
36+
"@contentstack/cli-cm-seed": "~1.11.3",
3737
"@contentstack/cli-command": "~1.5.1",
3838
"@contentstack/cli-config": "~1.13.0",
3939
"@contentstack/cli-launch": "^1.9.2",
4040
"@contentstack/cli-migration": "~1.7.3",
41-
"@contentstack/cli-utilities": "~1.12.0",
41+
"@contentstack/cli-utilities": "~1.12.1",
4242
"@contentstack/cli-variants": "~1.2.2",
4343
"@contentstack/management": "~1.22.0",
4444
"@oclif/core": "^4.3.0",

pnpm-lock.yaml

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)