Skip to content

Commit 0683f91

Browse files
authored
Merge pull request #1587 from contentstack/staging
DX | 26-09-2024 | Variant EA Release
2 parents 1b3c63f + fac8aca commit 0683f91

File tree

48 files changed

+483
-242
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+483
-242
lines changed

package-lock.json

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

packages/contentstack-audit/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ EXAMPLES
269269
$ csdx plugins
270270
```
271271

272-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.8/src/commands/plugins/index.ts)_
272+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.9/src/commands/plugins/index.ts)_
273273

274274
## `csdx plugins:add PLUGIN`
275275

@@ -343,7 +343,7 @@ EXAMPLES
343343
$ csdx plugins:inspect myplugin
344344
```
345345

346-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.8/src/commands/plugins/inspect.ts)_
346+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.9/src/commands/plugins/inspect.ts)_
347347

348348
## `csdx plugins:install PLUGIN`
349349

@@ -392,7 +392,7 @@ EXAMPLES
392392
$ csdx plugins:install someuser/someplugin
393393
```
394394

395-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.8/src/commands/plugins/install.ts)_
395+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.9/src/commands/plugins/install.ts)_
396396

397397
## `csdx plugins:link PATH`
398398

@@ -422,7 +422,7 @@ EXAMPLES
422422
$ csdx plugins:link myplugin
423423
```
424424

425-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.8/src/commands/plugins/link.ts)_
425+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.9/src/commands/plugins/link.ts)_
426426

427427
## `csdx plugins:remove [PLUGIN]`
428428

@@ -463,7 +463,7 @@ FLAGS
463463
--reinstall Reinstall all plugins after uninstalling.
464464
```
465465

466-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.8/src/commands/plugins/reset.ts)_
466+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.9/src/commands/plugins/reset.ts)_
467467

468468
## `csdx plugins:uninstall [PLUGIN]`
469469

@@ -491,7 +491,7 @@ EXAMPLES
491491
$ csdx plugins:uninstall myplugin
492492
```
493493

494-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.8/src/commands/plugins/uninstall.ts)_
494+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.9/src/commands/plugins/uninstall.ts)_
495495

496496
## `csdx plugins:unlink [PLUGIN]`
497497

@@ -535,5 +535,5 @@ DESCRIPTION
535535
Update installed plugins.
536536
```
537537

538-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.8/src/commands/plugins/update.ts)_
538+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.9/src/commands/plugins/update.ts)_
539539
<!-- commandsstop -->

packages/contentstack-bootstrap/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $ npm install -g @contentstack/cli-cm-bootstrap
1515
$ csdx COMMAND
1616
running command...
1717
$ csdx (--version)
18-
@contentstack/cli-cm-bootstrap/1.11.0 darwin-arm64 node-v22.2.0
18+
@contentstack/cli-cm-bootstrap/1.12.0 darwin-arm64 node-v22.2.0
1919
$ csdx --help [COMMAND]
2020
USAGE
2121
$ csdx COMMAND

packages/contentstack-bootstrap/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@contentstack/cli-cm-bootstrap",
33
"description": "Bootstrap contentstack apps",
4-
"version": "1.11.0",
4+
"version": "1.12.0",
55
"author": "Contentstack",
66
"bugs": "https://github.com/contentstack/cli/issues",
77
"scripts": {
@@ -17,7 +17,7 @@
1717
"test:report": "nyc --reporter=lcov mocha \"test/**/*.test.js\""
1818
},
1919
"dependencies": {
20-
"@contentstack/cli-cm-seed": "~1.8.0",
20+
"@contentstack/cli-cm-seed": "~1.9.0",
2121
"@contentstack/cli-command": "~1.3.0",
2222
"@contentstack/cli-utilities": "~1.7.2",
2323
"inquirer": "8.2.4",

packages/contentstack-clone/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ $ npm install -g @contentstack/cli-cm-clone
1616
$ csdx COMMAND
1717
running command...
1818
$ csdx (--version)
19-
@contentstack/cli-cm-clone/1.11.1 darwin-arm64 node-v22.2.0
19+
@contentstack/cli-cm-clone/1.12.0 darwin-arm64 node-v22.2.0
2020
$ csdx --help [COMMAND]
2121
USAGE
2222
$ csdx COMMAND

packages/contentstack-clone/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "@contentstack/cli-cm-clone",
33
"description": "Contentstack stack clone plugin",
4-
"version": "1.11.1",
4+
"version": "1.12.0",
55
"author": "Contentstack",
66
"bugs": "https://github.com/rohitmishra209/cli-cm-clone/issues",
77
"dependencies": {
88
"@colors/colors": "^1.5.0",
9-
"@contentstack/cli-cm-export": "~1.12.0",
10-
"@contentstack/cli-cm-import": "~1.17.0",
9+
"@contentstack/cli-cm-export": "~1.13.0",
10+
"@contentstack/cli-cm-import": "~1.18.0",
1111
"@contentstack/cli-command": "~1.3.0",
1212
"@contentstack/cli-utilities": "~1.7.2",
1313
"async": "^3.2.4",

packages/contentstack-config/src/utils/region-handler.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const regions = {
2424
name: 'NA',
2525
'developerHubUrl': 'https://developerhub-api.contentstack.com',
2626
'launchHubUrl': 'https://launch-api.contentstack.com',
27-
'personalizeUrl': 'https://personalization-api.contentstack.com',
27+
'personalizeUrl': 'https://personalize-api.contentstack.com',
2828
},
2929
EU: {
3030
cma: 'https://eu-api.contentstack.com',
@@ -33,7 +33,7 @@ const regions = {
3333
name: 'EU',
3434
'developerHubUrl': 'https://eu-developerhub-api.contentstack.com',
3535
'launchHubUrl': 'https://eu-launch-api.contentstack.com',
36-
'personalizeUrl': 'Not available',
36+
'personalizeUrl': 'https://eu-personalize-api.contentstack.com',
3737
},
3838
'AZURE-NA': {
3939
cma: 'https://azure-na-api.contentstack.com',
@@ -42,7 +42,7 @@ const regions = {
4242
name: 'AZURE-NA',
4343
'developerHubUrl': 'https://azure-na-developerhub-api.contentstack.com',
4444
'launchHubUrl': 'https://azure-na-launch-api.contentstack.com',
45-
'personalizeUrl': 'Not available',
45+
'personalizeUrl': 'https://azure-na-personalize-api.contentstack.com',
4646
},
4747
'AZURE-EU': {
4848
cma: 'https://azure-eu-api.contentstack.com',
@@ -51,7 +51,7 @@ const regions = {
5151
name: 'AZURE-EU',
5252
'developerHubUrl': 'https://azure-eu-developerhub-api.contentstack.com',
5353
'launchHubUrl': 'https://azure-eu-launch-api.contentstack.com',
54-
'personalizeUrl': 'Not available',
54+
'personalizeUrl': 'https://azure-eu-personalize-api.contentstack.com',
5555
},
5656
'GCP-NA': {
5757
cma: 'https://gcp-na-api.contentstack.com',
@@ -60,7 +60,7 @@ const regions = {
6060
name: 'GCP-NA',
6161
'developerHubUrl': 'https://gcp-na-developerhub-api.contentstack.com',
6262
'launchHubUrl': 'Not available',
63-
'personalizeUrl': 'Not available',
63+
'personalizeUrl': 'https://gcp-na-personalize-api.contentstack.com',
6464
},
6565
};
6666

packages/contentstack-export/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ $ npm install -g @contentstack/cli-cm-export
4848
$ csdx COMMAND
4949
running command...
5050
$ csdx (--version)
51-
@contentstack/cli-cm-export/1.12.1 darwin-arm64 node-v22.2.0
51+
@contentstack/cli-cm-export/1.13.0 darwin-arm64 node-v22.2.0
5252
$ csdx --help [COMMAND]
5353
USAGE
5454
$ csdx COMMAND

packages/contentstack-export/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "@contentstack/cli-cm-export",
33
"description": "Contentstack CLI plugin to export content from stack",
4-
"version": "1.12.1",
4+
"version": "1.13.0",
55
"author": "Contentstack",
66
"bugs": "https://github.com/contentstack/cli/issues",
77
"dependencies": {
88
"@contentstack/cli-command": "~1.3.0",
9-
"@contentstack/cli-variants": "~0.0.1-alpha",
9+
"@contentstack/cli-variants": "~1.0.0",
1010
"@contentstack/cli-utilities": "~1.7.2",
1111
"@oclif/core": "^3.26.5",
1212
"async": "^3.2.4",

packages/contentstack-export/src/commands/cm/stacks/export.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ export default class ExportCommand extends Command {
107107
exportConfig.host = this.cmaHost;
108108
exportConfig.region = this.region;
109109
exportConfig.developerHubBaseUrl = this.developerHubUrl;
110+
if (this.personalizeUrl) exportConfig.modules.personalize.baseURL[exportConfig.region.name] = this.personalizeUrl;
110111
exportDir = exportConfig.cliLogsPath || exportConfig.data || exportConfig.exportDir;
111112
const managementAPIClient: ContentstackClient = await managementSDKClient(exportConfig);
112113
const moduleExporter = new ModuleExporter(managementAPIClient, exportConfig);

0 commit comments

Comments
 (0)