unity-hub-cli 0.6.0 → 0.6.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 +2 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -849,8 +849,7 @@ var App = ({
849
849
  }
850
850
  const borderRows = 2;
851
851
  const hintRows = 1;
852
- const hintMarginRows = 1;
853
- const reservedRows = borderRows + hintRows + hintMarginRows;
852
+ const reservedRows = borderRows + hintRows;
854
853
  const availableRows = stdout.rows - reservedRows;
855
854
  const rowsPerProject = Math.max(linesPerProject, 1);
856
855
  const calculatedCount = Math.max(
@@ -1177,7 +1176,7 @@ var App = ({
1177
1176
  ]);
1178
1177
  return /* @__PURE__ */ jsxs(Box, { flexDirection: "column", children: [
1179
1178
  /* @__PURE__ */ jsx(Box, { flexDirection: "column", borderStyle: "round", borderColor: "green", children: rows.length === 0 ? /* @__PURE__ */ jsx(Text, { children: "No Unity Hub projects were found." }) : rows }),
1180
- /* @__PURE__ */ jsx(Box, { marginTop: 1, children: /* @__PURE__ */ jsx(Text, { children: hint }) })
1179
+ /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(Text, { children: hint }) })
1181
1180
  ] });
1182
1181
  };
1183
1182
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unity-hub-cli",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "A CLI tool that reads Unity Hub's projects and launches Unity Editor with an interactive TUI",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {