bdy 1.18.22-dev → 1.18.23-dev

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.18.22-dev",
4
+ "version": "1.18.23-dev",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -138,6 +138,6 @@ commandSandboxCreate.action(async (options) => {
138
138
  output_1.default.exitError(texts_1.ERR_SANDBOX_APPS_TIMEOUT);
139
139
  }
140
140
  }
141
- output_1.default.exitSuccess((0, texts_1.TXT_SANDBOX_CREATED)(result.identifier, result.html_url));
141
+ output_1.default.exitSuccess((0, texts_1.TXT_SANDBOX_CREATED)(result.identifier, result.html_url, result.ssh_host, result.ssh_port));
142
142
  });
143
143
  exports.default = commandSandboxCreate;
@@ -588,9 +588,14 @@ const TXT_SANDBOX_CREATING = (name, identifier) => {
588
588
  return `Creating sandbox: ${name} (${identifier})`;
589
589
  };
590
590
  exports.TXT_SANDBOX_CREATING = TXT_SANDBOX_CREATING;
591
- const TXT_SANDBOX_CREATED = (identifier, htmlUrl) => htmlUrl
592
- ? `Sandbox created: ${identifier}\n${htmlUrl}`
593
- : `Sandbox created: ${identifier}`;
591
+ const TXT_SANDBOX_CREATED = (identifier, htmlUrl, sshHost, sshPort) => {
592
+ let txt = `Sandbox created: ${identifier}`;
593
+ if (htmlUrl)
594
+ txt += `\n${htmlUrl}`;
595
+ if (sshHost && sshPort)
596
+ txt += `\nssh ${sshHost} -p ${sshPort}`;
597
+ return txt;
598
+ };
594
599
  exports.TXT_SANDBOX_CREATED = TXT_SANDBOX_CREATED;
595
600
  const TXT_SANDBOX_UPDATED = (identifier, htmlUrl) => htmlUrl
596
601
  ? `Sandbox updated: ${identifier}\n${htmlUrl}`
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.18.22-dev",
4
+ "version": "1.18.23-dev",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "scripts": {