@contentstack/cli-command 1.6.2 → 1.7.1

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 Contentstack
3
+ Copyright (c) 2026 Contentstack
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/lib/index.d.ts CHANGED
@@ -19,5 +19,6 @@ declare abstract class ContentstackCommand extends Command {
19
19
  get developerHubUrl(): string;
20
20
  get launchHubUrl(): string;
21
21
  get personalizeUrl(): string;
22
+ get composableStudioUrl(): string;
22
23
  }
23
24
  export { ContentstackCommand as Command };
package/lib/index.js CHANGED
@@ -16,7 +16,7 @@ class ContentstackCommand extends cli_utilities_1.Command {
16
16
  this._email = cli_utilities_1.configHandler.get('email');
17
17
  if (this._email)
18
18
  return this._email;
19
- throw new cli_utilities_1.CLIError('You are not logged in. Please login with command $ csdx auth:login');
19
+ throw new cli_utilities_1.CLIError('You are not logged in. Run the command: $ csdx auth:login');
20
20
  }
21
21
  get deliveryAPIClient() {
22
22
  if (this._deliveryAPIClient)
@@ -89,6 +89,9 @@ class ContentstackCommand extends cli_utilities_1.Command {
89
89
  get personalizeUrl() {
90
90
  return this.region.personalizeUrl;
91
91
  }
92
+ get composableStudioUrl() {
93
+ return this.region.composableStudioUrl;
94
+ }
92
95
  }
93
96
  exports.Command = ContentstackCommand;
94
97
  module.exports = {
@@ -5,5 +5,6 @@ export interface Region {
5
5
  developerHubUrl: string;
6
6
  personalizeUrl: string;
7
7
  launchHubUrl: string;
8
+ composableStudioUrl: string;
8
9
  uiHost: string;
9
10
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@contentstack/cli-command",
3
3
  "description": "Contentstack CLI plugin for configuration",
4
- "version": "1.6.2",
4
+ "version": "1.7.1",
5
5
  "author": "Contentstack",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
@@ -19,7 +19,7 @@
19
19
  "test:unit": "mocha --timeout 10000 --forbid-only \"test/unit/**/*.test.ts\""
20
20
  },
21
21
  "dependencies": {
22
- "@contentstack/cli-utilities": "~1.15.0",
22
+ "@contentstack/cli-utilities": "~1.16.0",
23
23
  "contentstack": "^3.25.3",
24
24
  "@oclif/core": "^4.3.0",
25
25
  "@oclif/plugin-help": "^6.2.28"