@squiz/dxp-cli-next 4.1.0-develop.1 → 4.1.0-develop.2
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/lib/cmp/deploy.js +3 -0
- package/package.json +1 -1
package/lib/cmp/deploy.js
CHANGED
|
@@ -25,6 +25,9 @@ const deployCommand = new commander_1.Command()
|
|
|
25
25
|
.addOption(new commander_1.Option('-t, --tenant <string>', 'Tenant ID to deploy to. If not provided will use configured tenant from login'))
|
|
26
26
|
.action((source, options) => __awaiter(void 0, void 0, void 0, function* () {
|
|
27
27
|
var _a, _b;
|
|
28
|
+
if (process.env.COMPONENT_SERVICE_URL !== undefined) {
|
|
29
|
+
console.log(`NOTICE: COMPONENT_SERVICE_URL is set and will deploy to ${process.env.COMPONENT_SERVICE_URL}`);
|
|
30
|
+
}
|
|
28
31
|
if (!options.componentServiceUrl &&
|
|
29
32
|
!(yield (0, ApplicationStore_1.getApplicationFile)(ApplicationStore_1.STORE_FILES.sessionCookie))) {
|
|
30
33
|
deployCommand.error(cli_color_1.default.red('You must login to deploy components. See `dxp-next auth login`'));
|