void 0.26.1 → 0.27.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/dist/{account-cmd-CfUXh_nU.mjs → account-cmd-l-FM7Ioq.mjs} +4 -4
- package/dist/{auth-B5_tZLxT.mjs → auth-Dn2vw-SG.mjs} +3 -3
- package/dist/{auth-BgX2qYSY.mjs → auth-LMJcNESe.mjs} +1 -1
- package/dist/{auth-link-D5RmKnzh.mjs → auth-link-vz9Z2kmG.mjs} +4 -4
- package/dist/{auth-router-Bap-pvbn.mjs → auth-router-DvsCUVw4.mjs} +3 -3
- package/dist/{build-cmd-B58c8iS8.mjs → build-cmd-D6we0VjO.mjs} +3 -3
- package/dist/{cache-Bo52trKF.mjs → cache-CZRdzKx1.mjs} +3 -3
- package/dist/{cancel-deploy-BZNz3Q26.mjs → cancel-deploy-CQ3NnMvf.mjs} +3 -3
- package/dist/{cf-access-ngGqZpHZ.mjs → cf-access-BcIBSKqG.mjs} +1 -1
- package/dist/cf-user-agent-lKblH3zU.mjs +17 -0
- package/dist/cli/cli.mjs +20 -20
- package/dist/cli/cloudflare-operation-process.mjs +7 -1
- package/dist/{client-C2Prx_Bi.mjs → client-DlDJuY0s.mjs} +5 -5
- package/dist/client-tso2OfcG.mjs +2 -0
- package/dist/{connect-X0MUA1gk.mjs → connect-BfPBHHm-.mjs} +6 -6
- package/dist/{create-project-DxiyW6iX.mjs → create-project-BdXEFKal.mjs} +3 -3
- package/dist/{create-project-iwkbqiBU.mjs → create-project-qFDC45zg.mjs} +1 -1
- package/dist/{db-XnVMHzoV.mjs → db-Xs80hcaA.mjs} +5 -5
- package/dist/{delete-esYlMiSJ.mjs → delete-d2vuou3j.mjs} +3 -3
- package/dist/{deploy-BsEvnlJl.mjs → deploy-Bqe1PYBw.mjs} +10 -7
- package/dist/{deploy-C1d-YTfp.mjs → deploy-VsWsVQkw.mjs} +1 -1
- package/dist/{domain-CbbBWhWE.mjs → domain-BsDUBAvt.mjs} +3 -3
- package/dist/{email-CpuT42g7.mjs → email-_lGAHOhp.mjs} +4 -4
- package/dist/{env-w9jOyGZn.mjs → env-C74QepDE.mjs} +3 -3
- package/dist/{github-cmd-D_FsOFxq.mjs → github-cmd-DaDdBbSS.mjs} +3 -3
- package/dist/{help-CVFBTmBx.mjs → help-0bTe_lID.mjs} +1 -1
- package/dist/help-DfQYVfGY.mjs +2 -0
- package/dist/index.mjs +7 -7
- package/dist/{init-Bw-fRKGp.mjs → init-DaBGmaXC.mjs} +8 -8
- package/dist/{link-DlPG8iX3.mjs → link-C6fjafep.mjs} +4 -4
- package/dist/{list-2GN7_ueV.mjs → list-BTFBlqKl.mjs} +3 -3
- package/dist/{login-D-Q4xw3Q.mjs → login-GKcNUmtI.mjs} +3 -3
- package/dist/login-mx_ydhmp.mjs +2 -0
- package/dist/{logs-rd8J-OFh.mjs → logs-BiMSULmc.mjs} +3 -3
- package/dist/{operator-args-BNsW5gfp.mjs → operator-args-DOBhIaIg.mjs} +1 -1
- package/dist/{operator-auth-AzVLbrr3.mjs → operator-auth-BEZ_u0Cz.mjs} +2 -2
- package/dist/{operator-client-BQtzyG-g.mjs → operator-client-DbDv4vtE.mjs} +2 -2
- package/dist/{operator-cmd-B6f6Cg9Z.mjs → operator-cmd-BT4hgavL.mjs} +6 -6
- package/dist/operator-cmd-CwBB-1yb.mjs +2 -0
- package/dist/platform-args-D4E1PjVw.mjs +2 -0
- package/dist/{platform-args-BoZkWQnJ.mjs → platform-args-DUeXY9Om.mjs} +1 -1
- package/dist/{platform-auth-config-n603OANg.mjs → platform-auth-config-CkSx3usH.mjs} +7 -7
- package/dist/{platform-auth-protection-zxDr0hWW.mjs → platform-auth-protection-BJimB_p9.mjs} +6 -6
- package/dist/{platform-auth-recovery-tw9lgtgE.mjs → platform-auth-recovery-BU6izFAU.mjs} +5 -5
- package/dist/{platform-cmd-B8-bCb7t.mjs → platform-cmd-BbY1dWiM.mjs} +10 -9
- package/dist/{platform-cmd-C00YM14r.mjs → platform-cmd-BbmJiq5O.mjs} +1 -1
- package/dist/{platform-discovery-BC0HCKYt.mjs → platform-discovery-DIYz8V63.mjs} +1 -1
- package/dist/{platform-domain-p0kobLV8.mjs → platform-domain-CHVS6cV0.mjs} +3 -3
- package/dist/{platform-lifecycle-vFqtNPPa.mjs → platform-lifecycle-ByAlpkhV.mjs} +1 -1
- package/dist/{platform-lifecycle-D_QEY32D.mjs → platform-lifecycle-DzCwqhFq.mjs} +10 -10
- package/dist/{platform-management-oi-SvI3f.mjs → platform-management-CBOT4BSM.mjs} +1 -1
- package/dist/{platform-management-BdYblvvE.mjs → platform-management-CuuVDhyt.mjs} +2 -2
- package/dist/{platform-plans-config-CjiFv5J4.mjs → platform-plans-config-CN-heS4q.mjs} +2 -2
- package/dist/{platform-recovery-PvNS9Nl2.mjs → platform-recovery-CskSJgLh.mjs} +3 -3
- package/dist/{platform-registry-P387v42A.mjs → platform-registry-Cjv2Qf0r.mjs} +5 -1
- package/dist/{platform-setup-DVe42Ws7.mjs → platform-setup-BBxRxmFC.mjs} +1 -1
- package/dist/{project-DQstYTxO.mjs → project-BAm2aB6Q.mjs} +1 -1
- package/dist/{project-BiaPQ7ur.mjs → project-DedqCp59.mjs} +1 -1
- package/dist/{project-cmd-ti8_yTcA.mjs → project-cmd-DaoRrn-8.mjs} +17 -17
- package/dist/{project-team-CDPE1Tsg.mjs → project-team-Q_lCA7Io.mjs} +3 -3
- package/dist/{project-token-CkZ1cN0Z.mjs → project-token-BArgK9o1.mjs} +3 -3
- package/dist/{project-zero-trust-DdjLR61k.mjs → project-zero-trust-KO9Hu2Pq.mjs} +3 -3
- package/dist/{requests-DFAqyYy8.mjs → requests-C7Oeoh5u.mjs} +3 -3
- package/dist/{rollback-BKYXBduI.mjs → rollback-DVAtrLAl.mjs} +3 -3
- package/dist/{secret-BAt2KMmO.mjs → secret-BvtB7IjY.mjs} +3 -3
- package/docs/guide/deployment.md +2 -2
- package/docs/guide/platform/administration/access.md +1 -1
- package/docs/guide/platform/installation/first-deployment.md +1 -1
- package/docs/guide/project-collaboration.md +1 -1
- package/docs/reference/cli/auth.md +1 -1
- package/docs/reference/cli/deploy.md +1 -1
- package/package.json +8 -8
- package/skills/void/SKILL.md +3 -2
- package/dist/client-By4JjMw_.mjs +0 -2
- package/dist/help-DzKUrQvk.mjs +0 -2
- package/dist/login-Dc-wuTDq.mjs +0 -2
- package/dist/operator-cmd-Cwn50lOV.mjs +0 -2
- package/dist/platform-args-DYgITk0D.mjs +0 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as readDeploymentPlatform } from "./project-
|
|
2
|
-
import { c as getToken, s as getSiteDomain } from "./auth-
|
|
1
|
+
import { n as readDeploymentPlatform } from "./project-BAm2aB6Q.mjs";
|
|
2
|
+
import { c as getToken, s as getSiteDomain } from "./auth-Dn2vw-SG.mjs";
|
|
3
3
|
import { H as outro, L as log } from "./dist-D3m88sjf.mjs";
|
|
4
4
|
import { i as dim, l as import_picocolors, m as tablePrefix, s as formatCount } from "./output-C50ag2r3.mjs";
|
|
5
|
-
import { r as PlatformClient } from "./client-
|
|
5
|
+
import { r as PlatformClient } from "./client-DlDJuY0s.mjs";
|
|
6
6
|
//#region src/cli/projects.ts
|
|
7
7
|
async function runProjectsCommand(root) {
|
|
8
8
|
console.log();
|
|
@@ -38,77 +38,77 @@ async function runProjectsCommand(root) {
|
|
|
38
38
|
async function runProjectCommand(root, args) {
|
|
39
39
|
const cloudflare = readDeploymentPlatform(root) === "cloudflare";
|
|
40
40
|
if (args.subcommand === "status") {
|
|
41
|
-
const { runListCommand } = await import("./list-
|
|
41
|
+
const { runListCommand } = await import("./list-BTFBlqKl.mjs");
|
|
42
42
|
return runListCommand(root, args.name || void 0);
|
|
43
43
|
}
|
|
44
44
|
if (args.subcommand === "link") {
|
|
45
45
|
if (cloudflare) throw new Error("project: Direct Cloudflare apps are identified by cloudflare.name in void.config.ts and do not need linking.");
|
|
46
|
-
const { runLink } = await import("./link-
|
|
46
|
+
const { runLink } = await import("./link-C6fjafep.mjs");
|
|
47
47
|
return runLink(root, args.name || void 0);
|
|
48
48
|
}
|
|
49
49
|
if (args.subcommand === "list") {
|
|
50
50
|
if (cloudflare) {
|
|
51
|
-
const { runListCommand } = await import("./list-
|
|
51
|
+
const { runListCommand } = await import("./list-BTFBlqKl.mjs");
|
|
52
52
|
return runListCommand(root);
|
|
53
53
|
}
|
|
54
54
|
return runProjectsCommand(root);
|
|
55
55
|
}
|
|
56
56
|
if (args.subcommand === "token") {
|
|
57
57
|
if (cloudflare) throw new Error("project: CI deploy credentials are available only for Void platform projects.");
|
|
58
|
-
const { runProjectTokenCommand } = await import("./project-token-
|
|
58
|
+
const { runProjectTokenCommand } = await import("./project-token-BArgK9o1.mjs");
|
|
59
59
|
return runProjectTokenCommand(root, args);
|
|
60
60
|
}
|
|
61
61
|
if (args.subcommand === "team") {
|
|
62
62
|
if (args.action === "") {
|
|
63
|
-
const { printHelpPage } = await import("./help-
|
|
63
|
+
const { printHelpPage } = await import("./help-DfQYVfGY.mjs");
|
|
64
64
|
printHelpPage(["project", "team"]);
|
|
65
65
|
return;
|
|
66
66
|
}
|
|
67
67
|
const accountInvitationAction = args.action === "pending" || args.action === "accept" || args.action === "decline";
|
|
68
68
|
if (cloudflare && !accountInvitationAction) throw new Error("project: Teams are available only for projects hosted on a Void platform, not direct Cloudflare deployments.");
|
|
69
|
-
const { runProjectTeamCommand } = await import("./project-team-
|
|
69
|
+
const { runProjectTeamCommand } = await import("./project-team-Q_lCA7Io.mjs");
|
|
70
70
|
return runProjectTeamCommand(root, args);
|
|
71
71
|
}
|
|
72
72
|
if (args.subcommand === "zero-trust") {
|
|
73
73
|
if (cloudflare) throw new Error("project: Zero Trust overrides are available only for projects hosted on a Void platform.");
|
|
74
74
|
if (args.action === "") {
|
|
75
|
-
const { printHelpPage } = await import("./help-
|
|
75
|
+
const { printHelpPage } = await import("./help-DfQYVfGY.mjs");
|
|
76
76
|
printHelpPage(["project", "zero-trust"]);
|
|
77
77
|
return;
|
|
78
78
|
}
|
|
79
79
|
const action = args.action;
|
|
80
|
-
const { runProjectZeroTrustCommand } = await import("./project-zero-trust-
|
|
80
|
+
const { runProjectZeroTrustCommand } = await import("./project-zero-trust-KO9Hu2Pq.mjs");
|
|
81
81
|
return runProjectZeroTrustCommand(root, {
|
|
82
82
|
...args,
|
|
83
83
|
action
|
|
84
84
|
});
|
|
85
85
|
}
|
|
86
86
|
if (args.subcommand === "logs") {
|
|
87
|
-
const { runLogsCommand } = await import("./logs-
|
|
87
|
+
const { runLogsCommand } = await import("./logs-BiMSULmc.mjs");
|
|
88
88
|
return runLogsCommand(root, args.filter, args.range, args.deployment || void 0, args.level || void 0);
|
|
89
89
|
}
|
|
90
90
|
if (args.subcommand === "requests") {
|
|
91
91
|
if (cloudflare) throw new Error("project: Historical request analytics require the Void platform. Use `void project logs` for a live Cloudflare tail.");
|
|
92
|
-
const { runRequestsCommand } = await import("./requests-
|
|
92
|
+
const { runRequestsCommand } = await import("./requests-C7Oeoh5u.mjs");
|
|
93
93
|
return runRequestsCommand(root, args.range, args.status || void 0);
|
|
94
94
|
}
|
|
95
95
|
if (args.subcommand === "rollback") {
|
|
96
|
-
const { runRollbackCommand } = await import("./rollback-
|
|
96
|
+
const { runRollbackCommand } = await import("./rollback-DVAtrLAl.mjs");
|
|
97
97
|
return runRollbackCommand(root, args.deployId || void 0);
|
|
98
98
|
}
|
|
99
99
|
if (args.subcommand === "cancel") {
|
|
100
100
|
if (cloudflare) throw new Error("project: Direct Cloudflare deploys activate only after readiness succeeds, so there is no remote build to cancel.");
|
|
101
|
-
const { runCancelDeployCommand } = await import("./cancel-deploy-
|
|
101
|
+
const { runCancelDeployCommand } = await import("./cancel-deploy-CQ3NnMvf.mjs");
|
|
102
102
|
return runCancelDeployCommand(root, args.deployId || void 0);
|
|
103
103
|
}
|
|
104
104
|
if (args.subcommand === "delete") {
|
|
105
105
|
if (cloudflare) throw new Error("project: Refusing to delete Cloudflare resources through this command. Direct deployments are additive and existing resources may be shared.");
|
|
106
|
-
const { runDeleteCommand } = await import("./delete-
|
|
106
|
+
const { runDeleteCommand } = await import("./delete-d2vuou3j.mjs");
|
|
107
107
|
return runDeleteCommand(root, args.name || void 0, { force: args.force });
|
|
108
108
|
}
|
|
109
109
|
if (args.subcommand === "purge-cache") {
|
|
110
110
|
if (cloudflare) throw new Error("project: Direct Cloudflare ISR cache purge is not available yet; redeploy or purge the configured KV namespace explicitly.");
|
|
111
|
-
const { runPurgeCacheCommand } = await import("./cache-
|
|
111
|
+
const { runPurgeCacheCommand } = await import("./cache-CZRdzKx1.mjs");
|
|
112
112
|
return runPurgeCacheCommand(root, args.projectSlug || void 0);
|
|
113
113
|
}
|
|
114
114
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as readProjectConfig } from "./project-
|
|
2
|
-
import { c as getToken, i as getAccountCredential } from "./auth-
|
|
1
|
+
import { r as readProjectConfig } from "./project-BAm2aB6Q.mjs";
|
|
2
|
+
import { c as getToken, i as getAccountCredential } from "./auth-Dn2vw-SG.mjs";
|
|
3
3
|
import { H as outro, L as log } from "./dist-D3m88sjf.mjs";
|
|
4
4
|
import { d as printSuccess, f as sanitizeTerminalText, s as formatCount, u as note } from "./output-C50ag2r3.mjs";
|
|
5
|
-
import { c as parsePlatformErrorBody, l as platformErrorMessage, n as PlatformApiError, r as PlatformClient } from "./client-
|
|
5
|
+
import { c as parsePlatformErrorBody, l as platformErrorMessage, n as PlatformApiError, r as PlatformClient } from "./client-DlDJuY0s.mjs";
|
|
6
6
|
import { r as requireProjectBySlug, t as getRequestedProjectSlug } from "./resolve-project-CP8rZs_p.mjs";
|
|
7
7
|
//#region src/cli/project-team.ts
|
|
8
8
|
function clean(value) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as readProjectConfig } from "./project-
|
|
2
|
-
import { c as getToken } from "./auth-
|
|
1
|
+
import { r as readProjectConfig } from "./project-BAm2aB6Q.mjs";
|
|
2
|
+
import { c as getToken } from "./auth-Dn2vw-SG.mjs";
|
|
3
3
|
import { H as outro, L as log } from "./dist-D3m88sjf.mjs";
|
|
4
4
|
import { d as printSuccess, i as dim, m as tablePrefix } from "./output-C50ag2r3.mjs";
|
|
5
|
-
import { r as PlatformClient } from "./client-
|
|
5
|
+
import { r as PlatformClient } from "./client-DlDJuY0s.mjs";
|
|
6
6
|
import { r as requireProjectBySlug } from "./resolve-project-CP8rZs_p.mjs";
|
|
7
7
|
//#region src/cli/project-token.ts
|
|
8
8
|
async function resolveTarget(root, args) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as readProjectConfig } from "./project-
|
|
2
|
-
import { c as getToken } from "./auth-
|
|
1
|
+
import { r as readProjectConfig } from "./project-BAm2aB6Q.mjs";
|
|
2
|
+
import { c as getToken } from "./auth-Dn2vw-SG.mjs";
|
|
3
3
|
import { H as outro, L as log } from "./dist-D3m88sjf.mjs";
|
|
4
4
|
import { d as printSuccess, f as sanitizeTerminalText, u as note } from "./output-C50ag2r3.mjs";
|
|
5
|
-
import { r as PlatformClient } from "./client-
|
|
5
|
+
import { r as PlatformClient } from "./client-DlDJuY0s.mjs";
|
|
6
6
|
import { r as requireProjectBySlug, t as getRequestedProjectSlug } from "./resolve-project-CP8rZs_p.mjs";
|
|
7
7
|
//#region src/cli/project-zero-trust.ts
|
|
8
8
|
async function resolveTarget(root, args) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as readProjectConfig } from "./project-
|
|
2
|
-
import { c as getToken } from "./auth-
|
|
1
|
+
import { r as readProjectConfig } from "./project-BAm2aB6Q.mjs";
|
|
2
|
+
import { c as getToken } from "./auth-Dn2vw-SG.mjs";
|
|
3
3
|
import { H as outro, L as log } from "./dist-D3m88sjf.mjs";
|
|
4
4
|
import { i as dim, l as import_picocolors } from "./output-C50ag2r3.mjs";
|
|
5
|
-
import { r as PlatformClient } from "./client-
|
|
5
|
+
import { r as PlatformClient } from "./client-DlDJuY0s.mjs";
|
|
6
6
|
//#region src/cli/requests.ts
|
|
7
7
|
async function runRequestsCommand(root, range, status) {
|
|
8
8
|
console.log();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as readDeploymentPlatform, r as readProjectConfig } from "./project-
|
|
2
|
-
import { c as getToken } from "./auth-
|
|
1
|
+
import { n as readDeploymentPlatform, r as readProjectConfig } from "./project-BAm2aB6Q.mjs";
|
|
2
|
+
import { c as getToken } from "./auth-Dn2vw-SG.mjs";
|
|
3
3
|
import { A as confirm, H as outro, K as select, L as log, O as cancel, tt as isCancel } from "./dist-D3m88sjf.mjs";
|
|
4
4
|
import { a as ensureUtc, d as printSuccess, i as dim, r as createSpinner, s as formatCount } from "./output-C50ag2r3.mjs";
|
|
5
|
-
import { r as PlatformClient } from "./client-
|
|
5
|
+
import { r as PlatformClient } from "./client-DlDJuY0s.mjs";
|
|
6
6
|
//#region src/cli/rollback.ts
|
|
7
7
|
async function runRollbackCommand(root, deployId) {
|
|
8
8
|
console.log();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as readDeploymentPlatform, r as readProjectConfig } from "./project-
|
|
2
|
-
import { c as getToken } from "./auth-
|
|
1
|
+
import { n as readDeploymentPlatform, r as readProjectConfig } from "./project-BAm2aB6Q.mjs";
|
|
2
|
+
import { c as getToken } from "./auth-Dn2vw-SG.mjs";
|
|
3
3
|
import { A as confirm, H as outro, L as log, O as cancel, U as password, tt as isCancel } from "./dist-D3m88sjf.mjs";
|
|
4
4
|
import { d as printSuccess, s as formatCount, u as note } from "./output-C50ag2r3.mjs";
|
|
5
5
|
import { _ as validateSecretValues } from "./env-validation-Dxdx_5wo.mjs";
|
|
6
|
-
import { r as PlatformClient } from "./client-
|
|
6
|
+
import { r as PlatformClient } from "./client-DlDJuY0s.mjs";
|
|
7
7
|
import { i as resolveProjectBySlug, t as getRequestedProjectSlug } from "./resolve-project-CP8rZs_p.mjs";
|
|
8
8
|
import { readFileSync } from "node:fs";
|
|
9
9
|
//#region src/cli/secret.ts
|
package/docs/guide/deployment.md
CHANGED
|
@@ -73,7 +73,7 @@ If CI runs typechecking before deploy, run `void prepare` after installing depen
|
|
|
73
73
|
Use the API URL from your administrator. In a new or unlinked app:
|
|
74
74
|
|
|
75
75
|
```sh
|
|
76
|
-
void connect
|
|
76
|
+
void connect platform.example.com
|
|
77
77
|
void deploy --platform void --project my-app
|
|
78
78
|
```
|
|
79
79
|
|
|
@@ -86,7 +86,7 @@ Project owners can [share access](./project-collaboration.md). To install a plat
|
|
|
86
86
|
For a single deployment to a different platform, connect and name its project:
|
|
87
87
|
|
|
88
88
|
```sh
|
|
89
|
-
void connect
|
|
89
|
+
void connect second.example.com
|
|
90
90
|
VOID_API_URL=https://second.example.com void deploy --platform void --project my-app
|
|
91
91
|
```
|
|
92
92
|
|
|
@@ -11,7 +11,7 @@ For the browser admin UI, open `<API URL>/admin` and use the administrator login
|
|
|
11
11
|
Connect to your platform's API URL, then sign in as an administrator:
|
|
12
12
|
|
|
13
13
|
```sh
|
|
14
|
-
void connect
|
|
14
|
+
void connect platform.example.com --no-login
|
|
15
15
|
void platform auth login
|
|
16
16
|
```
|
|
17
17
|
|
|
@@ -17,7 +17,7 @@ void platform system health
|
|
|
17
17
|
Administrator login is separate from the credentials used to deploy apps. In a new or unlinked Void app directory, connect using the installed API URL and deploy your first project:
|
|
18
18
|
|
|
19
19
|
```sh
|
|
20
|
-
void connect
|
|
20
|
+
void connect void-company-api.example.workers.dev
|
|
21
21
|
void deploy --platform void --project my-first-app
|
|
22
22
|
```
|
|
23
23
|
|
|
@@ -54,7 +54,7 @@ Connect to the platform from your invitation, then see invitations addressed to
|
|
|
54
54
|
your account and respond using the invitation ID:
|
|
55
55
|
|
|
56
56
|
```sh
|
|
57
|
-
void connect
|
|
57
|
+
void connect api.example.com
|
|
58
58
|
void project team pending
|
|
59
59
|
void project team accept <invitation-id>
|
|
60
60
|
# or
|
|
@@ -13,7 +13,7 @@ void connect --platform void
|
|
|
13
13
|
|
|
14
14
|
Connect a project to its deployment destination. With no arguments, choose Cloudflare or a Void platform interactively. A URL selects a Void platform directly. `--platform void` offers saved platforms and an option to enter another URL.
|
|
15
15
|
|
|
16
|
-
You can
|
|
16
|
+
You can use a hostname: `void connect platform.example.com` connects over HTTPS. Loopback hosts (`localhost`, `127.0.0.1`, and `[::1]`) default to HTTP, so use `void connect localhost:8787` for a local platform. This also works in the interactive prompt. Include a scheme to override the default, for example `void connect https://localhost:8787`.
|
|
17
17
|
|
|
18
18
|
For Cloudflare, Void signs in through the browser when needed, selects an accessible account, and saves `cloudflare.account_id` in `void.config.ts` or resolved state in `void.lock.json`. It shares this setup with `void init`. An existing account selection is preserved; conflicting or inaccessible account settings must be resolved before continuing.
|
|
19
19
|
|
|
@@ -62,7 +62,7 @@ If no project is linked and no override is provided, CLI prompts to link or crea
|
|
|
62
62
|
To deploy to another connected Void platform for one invocation:
|
|
63
63
|
|
|
64
64
|
```sh
|
|
65
|
-
void connect
|
|
65
|
+
void connect second.example.com
|
|
66
66
|
VOID_API_URL=https://second.example.com void deploy --platform void --project my-app
|
|
67
67
|
```
|
|
68
68
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "void",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"description": "Full-stack framework and deployment CLI for Cloudflare Workers, powered by Vite.",
|
|
5
5
|
"homepage": "https://void.cloud",
|
|
6
6
|
"bugs": {
|
|
@@ -346,15 +346,15 @@
|
|
|
346
346
|
"@cloudflare/workers-auth": "^0.13.1",
|
|
347
347
|
"@cloudflare/workers-types": "^5.20261009.1",
|
|
348
348
|
"@napi-rs/keyring": "^2.1.0",
|
|
349
|
-
"@void/deploy-cloudflare": "0.
|
|
350
|
-
"@void/deploy-core": "0.
|
|
351
|
-
"@void/edge": "0.
|
|
352
|
-
"@void/isr": "0.
|
|
353
|
-
"@void/platform": "0.
|
|
349
|
+
"@void/deploy-cloudflare": "0.27.0",
|
|
350
|
+
"@void/deploy-core": "0.27.0",
|
|
351
|
+
"@void/edge": "0.27.0",
|
|
352
|
+
"@void/isr": "0.27.0",
|
|
353
|
+
"@void/platform": "0.27.0",
|
|
354
354
|
"better-auth": "^1.7.7",
|
|
355
355
|
"better-sqlite3": "^13.0.3",
|
|
356
356
|
"blake3-jit": "^1.1.0",
|
|
357
|
-
"cf": "^1.0.0-beta.
|
|
357
|
+
"cf": "^1.0.0-beta.14",
|
|
358
358
|
"drizzle-arktype": "^0.1.3",
|
|
359
359
|
"drizzle-kit": "^0.31.11",
|
|
360
360
|
"drizzle-orm": "^0.45.3",
|
|
@@ -397,7 +397,7 @@
|
|
|
397
397
|
"zod": "^4.6.5"
|
|
398
398
|
},
|
|
399
399
|
"peerDependencies": {
|
|
400
|
-
"@void/md": "0.
|
|
400
|
+
"@void/md": "0.27.0",
|
|
401
401
|
"arktype": ">=2.0.0",
|
|
402
402
|
"valibot": ">=1.0.0-beta.7",
|
|
403
403
|
"vite": "^8.0.0",
|
package/skills/void/SKILL.md
CHANGED
|
@@ -22,8 +22,9 @@ Use `void` and `@void/*` in imports, examples, and package manifests. Follow the
|
|
|
22
22
|
project's existing framework and deployment destination. Deploying to a Void
|
|
23
23
|
platform requires an explicit `void connect <url>` first; never infer a platform
|
|
24
24
|
from old examples, tokens, or project IDs.
|
|
25
|
-
Platform hostnames passed to `void connect` default to HTTPS
|
|
26
|
-
|
|
25
|
+
Platform hostnames passed to `void connect` default to HTTPS. Loopback hosts
|
|
26
|
+
(`localhost`, `127.0.0.1`, and `[::1]`) default to HTTP: `void connect localhost:8787`.
|
|
27
|
+
An explicit scheme overrides the default.
|
|
27
28
|
For a one-time deployment elsewhere, connect to that platform, then set
|
|
28
29
|
`VOID_API_URL` for the deploy command and pass `--project <slug>`. This preserves
|
|
29
30
|
the app's existing saved destination, including when the target project is new.
|
package/dist/client-By4JjMw_.mjs
DELETED
package/dist/help-DzKUrQvk.mjs
DELETED
package/dist/login-Dc-wuTDq.mjs
DELETED