@dropthis/cli 0.29.0 → 0.30.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.
- package/dist/cli.cjs +6 -2
- package/dist/cli.cjs.map +1 -1
- package/node_modules/@dropthis/node/dist/edge.cjs +39 -1
- package/node_modules/@dropthis/node/dist/edge.cjs.map +1 -1
- package/node_modules/@dropthis/node/dist/edge.d.cts +8 -1
- package/node_modules/@dropthis/node/dist/edge.d.ts +8 -1
- package/node_modules/@dropthis/node/dist/edge.mjs +39 -1
- package/node_modules/@dropthis/node/dist/edge.mjs.map +1 -1
- package/node_modules/@dropthis/node/dist/index.cjs +5 -2
- package/node_modules/@dropthis/node/dist/index.cjs.map +1 -1
- package/node_modules/@dropthis/node/dist/index.d.cts +3 -14
- package/node_modules/@dropthis/node/dist/index.d.ts +3 -14
- package/node_modules/@dropthis/node/dist/index.mjs +5 -2
- package/node_modules/@dropthis/node/dist/index.mjs.map +1 -1
- package/node_modules/@dropthis/node/dist/{drops-YhYy2f6R.d.cts → workspaces-BXW942z-.d.cts} +11 -1
- package/node_modules/@dropthis/node/dist/{drops-YhYy2f6R.d.ts → workspaces-BXW942z-.d.ts} +11 -1
- package/node_modules/@dropthis/node/package.json +1 -1
- package/package.json +2 -2
package/dist/cli.cjs
CHANGED
|
@@ -407,6 +407,10 @@ function formatDropDetails(data) {
|
|
|
407
407
|
if (vis === "unlisted") parts.push("unlisted");
|
|
408
408
|
const exp = data.expiresAt;
|
|
409
409
|
if (typeof exp === "string") parts.push(`expires ${exp.split("T")[0]}`);
|
|
410
|
+
const ws = data.workspace;
|
|
411
|
+
if (ws && ws.kind === "team" && typeof ws.name === "string") {
|
|
412
|
+
parts.push(`team: ${ws.name}`);
|
|
413
|
+
}
|
|
410
414
|
if (parts.length === 0) return "";
|
|
411
415
|
return ` ${import_picocolors2.default.dim(parts.join(" \xB7 "))}`;
|
|
412
416
|
}
|
|
@@ -1009,7 +1013,7 @@ function spreadData(data) {
|
|
|
1009
1013
|
}
|
|
1010
1014
|
|
|
1011
1015
|
// src/version.ts
|
|
1012
|
-
var CLI_VERSION = true ? "0.
|
|
1016
|
+
var CLI_VERSION = true ? "0.30.1" : "0.0.0-dev";
|
|
1013
1017
|
|
|
1014
1018
|
// src/commands/doctor.ts
|
|
1015
1019
|
async function runDoctor(_input, deps) {
|
|
@@ -2782,7 +2786,7 @@ async function runWorkspaceList(_input, deps) {
|
|
|
2782
2786
|
}
|
|
2783
2787
|
const result = await deps.client.workspaces.list();
|
|
2784
2788
|
if (result.error) return writeApiError(deps, result.error);
|
|
2785
|
-
const raw = unwrapListData(result.data);
|
|
2789
|
+
const raw = unwrapListData(result.data, "workspaces");
|
|
2786
2790
|
const items = Array.isArray(raw) ? raw : [];
|
|
2787
2791
|
if (deps.outputMode === "human") {
|
|
2788
2792
|
if (items.length === 0) {
|