sagacloud 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/dist/index.js +3 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1385,10 +1385,10 @@ function registerProjectCommands(program2) {
1385
1385
  const res = await client.rpc("saga_cloud.api.hosting.list_sites", {
1386
1386
  query: { site_type: opts.type, limit: 100 }
1387
1387
  });
1388
- const table = new Table4({ head: ["Site ID", "Name", "Type", "Status", "Live URL", "Server IP"] });
1388
+ const table = new Table4({ head: ["Site ID", "Name", "Type", "Status", "Live URL"] });
1389
1389
  for (const s of res.sites || []) {
1390
1390
  const statusColor = s.status === "Online" ? pc6.green(s.status) : s.status === "Failed" ? pc6.red(s.status) : pc6.yellow(s.status);
1391
- table.push([s.name, s.site_name, `${s.site_type}/${s.runtime_variant}`, statusColor, s.live_url || s.domain, s.server_public_ip || "-"]);
1391
+ table.push([s.name, s.site_name, `${s.site_type}/${s.runtime_variant}`, statusColor, s.live_url || s.domain]);
1392
1392
  }
1393
1393
  console.log(table.toString());
1394
1394
  });
@@ -1485,7 +1485,6 @@ function registerProjectCommands(program2) {
1485
1485
  console.log(`${pc6.bold("Status:")} ${s.status}`);
1486
1486
  console.log(`${pc6.bold("Live URL:")} ${s.live_url || s.domain}`);
1487
1487
  console.log(`${pc6.bold("SSL / CDN:")} SSL=${s.ssl_status || "-"} \xB7 EdgeCDN=${s.cdn_enabled ? "On" : "Off"} \xB7 Shield=${s.waf_enabled ? "On" : "Off"}`);
1488
- console.log(`${pc6.bold("Origin IP:")} ${s.server_public_ip || "-"}`);
1489
1488
  console.log(`${pc6.bold("Deployed:")} ${s.last_deployed_at || "-"}`);
1490
1489
  });
1491
1490
  program2.command("open").description("Open site Live URL in browser").option("--site <siteId>", "Site ID").action(async (opts) => {
@@ -1505,7 +1504,7 @@ function registerProjectCommands(program2) {
1505
1504
 
1506
1505
  // src/index.ts
1507
1506
  var program = new Command();
1508
- program.name("sagacloud").description("SagaCloud CLI \u2014 deploy Static, SPA, Express & Node.js apps cleanly").version("0.1.0");
1507
+ program.name("sagacloud").description("SagaCloud CLI \u2014 deploy Static, SPA, Express & Node.js apps cleanly").version("0.1.1");
1509
1508
  registerAuthCommands(program);
1510
1509
  registerProjectCommands(program);
1511
1510
  registerDeployCommands(program);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sagacloud",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Official CLI for SagaCloud Web & App Hosting",
5
5
  "license": "MIT",
6
6
  "author": "SagaSoft",