@dropthis/cli 0.25.0 → 0.26.0
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/README.md +1 -1
- package/dist/cli.cjs +10 -5
- package/dist/cli.cjs.map +1 -1
- package/node_modules/@dropthis/node/README.md +6 -0
- package/node_modules/@dropthis/node/dist/{drops-BVoN5MaZ.d.cts → drops-gUdVVDX6.d.cts} +12 -1
- package/node_modules/@dropthis/node/dist/{drops-BVoN5MaZ.d.ts → drops-gUdVVDX6.d.ts} +12 -1
- package/node_modules/@dropthis/node/dist/edge.cjs +1 -1
- package/node_modules/@dropthis/node/dist/edge.cjs.map +1 -1
- package/node_modules/@dropthis/node/dist/edge.d.cts +1 -1
- package/node_modules/@dropthis/node/dist/edge.d.ts +1 -1
- package/node_modules/@dropthis/node/dist/edge.mjs +1 -1
- package/node_modules/@dropthis/node/dist/edge.mjs.map +1 -1
- package/node_modules/@dropthis/node/dist/index.cjs +1 -1
- package/node_modules/@dropthis/node/dist/index.cjs.map +1 -1
- package/node_modules/@dropthis/node/dist/index.d.cts +2 -2
- package/node_modules/@dropthis/node/dist/index.d.ts +2 -2
- package/node_modules/@dropthis/node/dist/index.mjs +1 -1
- package/node_modules/@dropthis/node/dist/index.mjs.map +1 -1
- package/node_modules/@dropthis/node/package.json +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -333,7 +333,7 @@ Reports CLI version, auth source (`env`, `flag`, `storage`, or `missing`), and c
|
|
|
333
333
|
|
|
334
334
|
Connecting a custom domain (`dropthis domains connect`) requires the Pro plan (1 hostname). Domains already connected keep working regardless of plan.
|
|
335
335
|
|
|
336
|
-
`dropthis account` shows your active tier and
|
|
336
|
+
`dropthis account` shows your active tier, its limits, and the workspace your key is bound to. If the workspace `kind` is `team`, your publishes land under the team's shared custom domain automatically — no extra flags needed.
|
|
337
337
|
|
|
338
338
|
## Agent skills
|
|
339
339
|
|
package/dist/cli.cjs
CHANGED
|
@@ -509,6 +509,11 @@ async function runAccountGet(_input, deps) {
|
|
|
509
509
|
if (data?.status) pairs.push(["Status", String(data.status)]);
|
|
510
510
|
if (data?.createdAt)
|
|
511
511
|
pairs.push(["Created", String(data.createdAt).split("T")[0]]);
|
|
512
|
+
const ws = data?.workspace;
|
|
513
|
+
if (ws?.name) {
|
|
514
|
+
const role = ws.role ? ` \xB7 your role: ${String(ws.role)}` : "";
|
|
515
|
+
pairs.push(["Workspace", `${String(ws.name)} (${String(ws.kind)})${role}`]);
|
|
516
|
+
}
|
|
512
517
|
const usage = data?.usage;
|
|
513
518
|
const limits = data?.limits;
|
|
514
519
|
if (typeof usage?.storageUsedBytes === "number") {
|
|
@@ -937,13 +942,13 @@ async function runDoctor(_input, deps) {
|
|
|
937
942
|
const authSource = credential?.source ?? "missing";
|
|
938
943
|
const storageBackend = stored?.storage ?? "none";
|
|
939
944
|
const pairs = [
|
|
940
|
-
["Version", "0.
|
|
945
|
+
["Version", "0.26.0"],
|
|
941
946
|
["Auth", authSource],
|
|
942
947
|
["Storage", storageBackend]
|
|
943
948
|
];
|
|
944
949
|
writeKv(deps, pairs, {
|
|
945
950
|
ok: true,
|
|
946
|
-
version: "0.
|
|
951
|
+
version: "0.26.0",
|
|
947
952
|
auth: { source: authSource },
|
|
948
953
|
storage: { backend: storageBackend }
|
|
949
954
|
});
|
|
@@ -2796,7 +2801,7 @@ function buildProgram(options = {}) {
|
|
|
2796
2801
|
` ${import_picocolors6.default.cyan("dropthis login")}`,
|
|
2797
2802
|
` ${import_picocolors6.default.cyan("dropthis publish ./dist")}`
|
|
2798
2803
|
].join("\n")
|
|
2799
|
-
).version("0.
|
|
2804
|
+
).version("0.26.0").configureHelp({
|
|
2800
2805
|
subcommandTerm(cmd) {
|
|
2801
2806
|
const args = cmd.registeredArguments.map((a) => {
|
|
2802
2807
|
const name = a.name();
|
|
@@ -3398,7 +3403,7 @@ ${import_picocolors6.default.bold("Canonical vs raw URLs:")}`,
|
|
|
3398
3403
|
);
|
|
3399
3404
|
const result = await runUpgrade(commandOptions, {
|
|
3400
3405
|
...deps,
|
|
3401
|
-
currentVersion: "0.
|
|
3406
|
+
currentVersion: "0.26.0"
|
|
3402
3407
|
});
|
|
3403
3408
|
process.exitCode = result.exitCode;
|
|
3404
3409
|
});
|
|
@@ -3652,7 +3657,7 @@ var showNotice = shouldShowNotice({
|
|
|
3652
3657
|
if (showNotice) {
|
|
3653
3658
|
const notice = noticeFromCache({
|
|
3654
3659
|
cache: updateCache,
|
|
3655
|
-
currentVersion: "0.
|
|
3660
|
+
currentVersion: "0.26.0"
|
|
3656
3661
|
});
|
|
3657
3662
|
if (notice) {
|
|
3658
3663
|
process.stderr.write(`
|