@postonus/cli 0.1.10 → 0.1.11
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/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11983,7 +11983,7 @@ function formatTable(headers, rows) {
|
|
|
11983
11983
|
}
|
|
11984
11984
|
|
|
11985
11985
|
// src/version.ts
|
|
11986
|
-
var CLI_VERSION = "0.1.
|
|
11986
|
+
var CLI_VERSION = "0.1.11";
|
|
11987
11987
|
|
|
11988
11988
|
// src/client.ts
|
|
11989
11989
|
var DEVICE_CODE_GRANT_TYPE = "urn:ietf:params:oauth:grant-type:device_code";
|
|
@@ -12176,7 +12176,7 @@ function Table({ headers, rows }) {
|
|
|
12176
12176
|
);
|
|
12177
12177
|
return /* @__PURE__ */ jsxs(Box, { flexDirection: "column", children: [
|
|
12178
12178
|
/* @__PURE__ */ jsx(Box, { children: headers.map((header, index) => /* @__PURE__ */ jsx(Box, { width: (widths[index] ?? 0) + 2, children: /* @__PURE__ */ jsx(Text, { bold: true, dimColor: true, children: header }) }, header)) }),
|
|
12179
|
-
rows.map((row, rowIndex) => /* @__PURE__ */ jsx(Box, { children: row.map((cell, index) =>
|
|
12179
|
+
rows.map((row, rowIndex) => ({ row, rowKey: `row-${rowIndex}` })).map(({ row, rowKey }) => /* @__PURE__ */ jsx(Box, { children: row.map((cell, index) => ({ cell, cellKey: `cell-${index}`, width: (widths[index] ?? 0) + 2 })).map(({ cell, cellKey, width }) => /* @__PURE__ */ jsx(Box, { width, children: /* @__PURE__ */ jsx(Text, { children: cell }) }, cellKey)) }, rowKey))
|
|
12180
12180
|
] });
|
|
12181
12181
|
}
|
|
12182
12182
|
function useExit() {
|