void 0.21.4 → 0.21.5
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/cli.mjs +6 -6
- package/dist/{db-CTXIWD42.mjs → db-BAJbaEVn.mjs} +1 -1
- package/dist/{deploy-F1exK5F4.mjs → deploy-BfZyWZIn.mjs} +19 -7
- package/dist/{deploy-BVwow28d.mjs → deploy-CmePjn6m.mjs} +1 -1
- package/dist/{email-BxHabktK.mjs → email-CYq8VQ96.mjs} +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +7 -7
package/dist/cli/cli.mjs
CHANGED
|
@@ -2020,7 +2020,7 @@ if (helpPath) {
|
|
|
2020
2020
|
log.error(formatCloudflareUserMessage(err instanceof Error ? err.message : String(err)));
|
|
2021
2021
|
process.exit(1);
|
|
2022
2022
|
}
|
|
2023
|
-
import("../deploy-
|
|
2023
|
+
import("../deploy-CmePjn6m.mjs").then(({ runDeploy }) => {
|
|
2024
2024
|
runDeploy(root, {
|
|
2025
2025
|
projectSlug: deployArgs.projectSlug,
|
|
2026
2026
|
dir: deployArgs.dir,
|
|
@@ -2052,8 +2052,8 @@ else if (command === "cloudflare") runSubcommandGroup("cloudflare", cloudflareSu
|
|
|
2052
2052
|
else if (command === "project") runSubcommandGroup("project", projectSubcommands, parseProjectArgs, (root, parsed) => import("../project-cmd-B44I8J_W.mjs").then(({ runProjectCommand }) => runProjectCommand(root, parsed)));
|
|
2053
2053
|
else if (command === "secret") runSubcommandGroup("secret", secretSubcommands, parseSecretArgs, (root, parsed) => import("../secret-DN9sSNiV.mjs").then(({ runSecretCommand }) => runSecretCommand(root, parsed)));
|
|
2054
2054
|
else if (command === "domain") runSubcommandGroup("domain", domainSubcommands, parseDomainArgs, (root, parsed) => import("../domain-Dmhvb2oU.mjs").then(({ runDomainCommand }) => runDomainCommand(root, parsed)));
|
|
2055
|
-
else if (command === "email") runSubcommandGroup("email", emailSubcommands, parseEmailArgs, (root, parsed) => import("../email-
|
|
2056
|
-
else if (command === "db") runSubcommandGroup("db", dbSubcommands, parseDbArgs, (root, parsed) => import("../db-
|
|
2055
|
+
else if (command === "email") runSubcommandGroup("email", emailSubcommands, parseEmailArgs, (root, parsed) => import("../email-CYq8VQ96.mjs").then(({ runEmailCommand }) => runEmailCommand(root, parsed)));
|
|
2056
|
+
else if (command === "db") runSubcommandGroup("db", dbSubcommands, parseDbArgs, (root, parsed) => import("../db-BAJbaEVn.mjs").then(({ runDbCommand }) => runDbCommand(root, parsed)));
|
|
2057
2057
|
else if (command === "env") runSubcommandGroup("env", envSubcommands, parseEnvArgs, (root, parsed) => import("../env-Csi-tMbT.mjs").then(({ runEnvCommand }) => runEnvCommand(root, parsed)));
|
|
2058
2058
|
else if (command === "gen") runSubcommandGroup("gen", genSubcommands, parseGenArgs, (root, parsed) => import("../gen-Vnv2f65C.mjs").then(({ runGenCommand }) => runGenCommand(root, parsed)));
|
|
2059
2059
|
else if (command === "github") runSubcommandGroup("github", githubSubcommands, parseGithubArgs, (root, parsed) => import("../github-cmd-BED3_9JD.mjs").then(({ runGithubCommand }) => runGithubCommand(root, parsed)));
|
|
@@ -2222,7 +2222,7 @@ else if (command === "prepare") {
|
|
|
2222
2222
|
return;
|
|
2223
2223
|
}
|
|
2224
2224
|
case "deploy": {
|
|
2225
|
-
const { runDeploy } = await import("../deploy-
|
|
2225
|
+
const { runDeploy } = await import("../deploy-CmePjn6m.mjs");
|
|
2226
2226
|
await runDeploy(root);
|
|
2227
2227
|
return;
|
|
2228
2228
|
}
|
|
@@ -2235,8 +2235,8 @@ else if (command === "prepare") {
|
|
|
2235
2235
|
case "domain": return runSubcommandGroup("domain", domainSubcommands, parseDomainArgs, (r, p) => import("../domain-Dmhvb2oU.mjs").then(({ runDomainCommand }) => runDomainCommand(r, p)));
|
|
2236
2236
|
case "github": return runSubcommandGroup("github", githubSubcommands, parseGithubArgs, (r, p) => import("../github-cmd-BED3_9JD.mjs").then(({ runGithubCommand }) => runGithubCommand(r, p)));
|
|
2237
2237
|
case "build": return runSubcommandGroup("build", buildSubcommands, parseBuildArgs, (r, p) => import("../build-cmd-Dpt0jd-x.mjs").then(({ runBuildCommand }) => runBuildCommand(r, p)));
|
|
2238
|
-
case "email": return runSubcommandGroup("email", emailSubcommands, parseEmailArgs, (r, p) => import("../email-
|
|
2239
|
-
case "db": return runSubcommandGroup("db", dbSubcommands, parseDbArgs, (r, p) => import("../db-
|
|
2238
|
+
case "email": return runSubcommandGroup("email", emailSubcommands, parseEmailArgs, (r, p) => import("../email-CYq8VQ96.mjs").then(({ runEmailCommand }) => runEmailCommand(r, p)));
|
|
2239
|
+
case "db": return runSubcommandGroup("db", dbSubcommands, parseDbArgs, (r, p) => import("../db-BAJbaEVn.mjs").then(({ runDbCommand }) => runDbCommand(r, p)));
|
|
2240
2240
|
case "env": return runSubcommandGroup("env", envSubcommands, parseEnvArgs, (r, p) => import("../env-Csi-tMbT.mjs").then(({ runEnvCommand }) => runEnvCommand(r, p)));
|
|
2241
2241
|
case "gen": return runSubcommandGroup("gen", genSubcommands, parseGenArgs, (r, p) => import("../gen-Vnv2f65C.mjs").then(({ runGenCommand }) => runGenCommand(r, p)));
|
|
2242
2242
|
case "prepare": {
|
|
@@ -862,7 +862,7 @@ async function runMigrate(root, dialect, remote) {
|
|
|
862
862
|
log.error(getErrorMessage(error));
|
|
863
863
|
process.exit(1);
|
|
864
864
|
}
|
|
865
|
-
const { checkWranglerMigrationApplySet, parseRootWranglerConfig } = await import("./deploy-
|
|
865
|
+
const { checkWranglerMigrationApplySet, parseRootWranglerConfig } = await import("./deploy-CmePjn6m.mjs");
|
|
866
866
|
const applySet = await checkWranglerMigrationApplySet(context.operation.configPath, parseRootWranglerConfig(context.operation.configPath), binding, context.migrationsDir, rawMigrations);
|
|
867
867
|
if (!applySet.ok) {
|
|
868
868
|
log.error(applySet.reason);
|
|
@@ -1885,6 +1885,18 @@ function safePositional(value) {
|
|
|
1885
1885
|
return code < 32 || code === 127;
|
|
1886
1886
|
});
|
|
1887
1887
|
}
|
|
1888
|
+
/** Existing-Worker handoffs retain their separate link and binding checks. */
|
|
1889
|
+
function createActiveSecretPinner(options) {
|
|
1890
|
+
const { output } = options;
|
|
1891
|
+
if (!output || options.handoffPending) return;
|
|
1892
|
+
return (activeVersionId, bindings) => pinActiveWorkerSecrets({
|
|
1893
|
+
output,
|
|
1894
|
+
activeVersionId,
|
|
1895
|
+
bindings,
|
|
1896
|
+
requiredNames: options.requiredNames,
|
|
1897
|
+
explicitNames: options.explicitNames
|
|
1898
|
+
});
|
|
1899
|
+
}
|
|
1888
1900
|
/** Pin opaque secrets to the live version in the private, disposable Build Output. */
|
|
1889
1901
|
async function pinActiveWorkerSecrets(options) {
|
|
1890
1902
|
const { activeVersionId, bindings, requiredNames, explicitNames = [] } = options;
|
|
@@ -7499,6 +7511,12 @@ async function runCloudflareDeploy(root, options, cliLog, deps = {}) {
|
|
|
7499
7511
|
verifyCompatibilityRunner: assertUploaderStillPinned
|
|
7500
7512
|
})
|
|
7501
7513
|
}) : runWrangler;
|
|
7514
|
+
const pinActiveSecrets = createActiveSecretPinner({
|
|
7515
|
+
output: cfOutput,
|
|
7516
|
+
handoffPending: pinnedHandoffLink !== null,
|
|
7517
|
+
requiredNames: schemaFacts.requiredKeys,
|
|
7518
|
+
...initialAuthSecret ? { explicitNames: [BETTER_AUTH_SECRET_NAME] } : {}
|
|
7519
|
+
});
|
|
7502
7520
|
const execution = await activateCloudflareVersionWithProgress(deps.activateVersion ?? activateCloudflareVersion, {
|
|
7503
7521
|
runWrangler: activationRunner,
|
|
7504
7522
|
verifyUploader: cfOutput ? cfUploaderIsPinned : assertUploaderStillPinned,
|
|
@@ -7545,13 +7563,7 @@ async function runCloudflareDeploy(root, options, cliLog, deps = {}) {
|
|
|
7545
7563
|
previousTrafficConfig: readWranglerPublishedTrafficSnapshot(configPath),
|
|
7546
7564
|
queueConsumerCleanup,
|
|
7547
7565
|
verifyInheritedSecrets: true,
|
|
7548
|
-
...
|
|
7549
|
-
output: cfOutput,
|
|
7550
|
-
activeVersionId,
|
|
7551
|
-
bindings,
|
|
7552
|
-
requiredNames: schemaFacts.requiredKeys,
|
|
7553
|
-
...initialAuthSecret ? { explicitNames: [BETTER_AUTH_SECRET_NAME] } : {}
|
|
7554
|
-
}) } : {},
|
|
7566
|
+
...pinActiveSecrets ? { pinActiveSecrets } : {},
|
|
7555
7567
|
atomic,
|
|
7556
7568
|
...initialAuthSecret ? { candidateSecrets: { [BETTER_AUTH_SECRET_NAME]: initialAuthSecret } } : {}
|
|
7557
7569
|
}).finally(() => cfOutput?.dispose());
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as parseRootWranglerConfig, J as runDeploy, f as checkWranglerMigrationApplySet } from "./deploy-
|
|
1
|
+
import { A as parseRootWranglerConfig, J as runDeploy, f as checkWranglerMigrationApplySet } from "./deploy-BfZyWZIn.mjs";
|
|
2
2
|
export { checkWranglerMigrationApplySet, parseRootWranglerConfig, runDeploy };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as join } from "./dist-BVqXeR_h.mjs";
|
|
2
2
|
import { c as import_picocolors, i as createSpinner } from "./output-CCH48AMM.mjs";
|
|
3
|
-
import { L as resolveDeployTransport, O as isWranglerNonInteractiveOrCI, X as runWranglerAuthToken, _ as deriveWorkerName, _t as findEmailConfigConflicts, bt as renderEmailChecklist, gt as createNodeEmailDns, h as createDeployWranglerRunner, ht as applyEmailSetup, k as loadProvisionModule, v as discoverRootWranglerConfig, vt as preflightEmail, yt as renderAddressMap } from "./deploy-
|
|
3
|
+
import { L as resolveDeployTransport, O as isWranglerNonInteractiveOrCI, X as runWranglerAuthToken, _ as deriveWorkerName, _t as findEmailConfigConflicts, bt as renderEmailChecklist, gt as createNodeEmailDns, h as createDeployWranglerRunner, ht as applyEmailSetup, k as loadProvisionModule, v as discoverRootWranglerConfig, vt as preflightEmail, yt as renderAddressMap } from "./deploy-BfZyWZIn.mjs";
|
|
4
4
|
import { n as readProjectPaths } from "./project-paths-GgcMozYz.mjs";
|
|
5
5
|
import { c as getToken, d as openBrowser } from "./auth-DLNN0D3Z.mjs";
|
|
6
6
|
import { o as readProjectConfig } from "./project-C0Fqu05O.mjs";
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as __toESM } from "./rolldown-runtime-DXIUcv95.mjs";
|
|
2
2
|
import { a as join, l as relative, n as dirname, u as resolve } from "./dist-BVqXeR_h.mjs";
|
|
3
3
|
import { d as require_picocolors } from "./output-CCH48AMM.mjs";
|
|
4
|
-
import { G as resolveWorkerDirName, St as hasDocumentRoutes, V as resolveDistDir, ct as prerenderPagesNode, dt as collectRevalidate, ft as hasRevalidate, mt as SEND_EMAIL_BINDING, ot as generateQueueResolverSource, pt as scanDurableObjectModules, st as prerenderPages, ut as collectPages, wt as resolveAssetRoutingPolicy, xt as hasApiRoutes } from "./deploy-
|
|
4
|
+
import { G as resolveWorkerDirName, St as hasDocumentRoutes, V as resolveDistDir, ct as prerenderPagesNode, dt as collectRevalidate, ft as hasRevalidate, mt as SEND_EMAIL_BINDING, ot as generateQueueResolverSource, pt as scanDurableObjectModules, st as prerenderPages, ut as collectPages, wt as resolveAssetRoutingPolicy, xt as hasApiRoutes } from "./deploy-BfZyWZIn.mjs";
|
|
5
5
|
import { i as resolveProjectPaths, n as readProjectPaths, t as assertNoRootSourceConventionConflicts } from "./project-paths-GgcMozYz.mjs";
|
|
6
6
|
import { n as loadVoidAuthConfig, t as findVoidAuthConfig } from "./config-DPByhVck.mjs";
|
|
7
7
|
import { r as scopedAccessCredentials } from "./cf-access-DRsQRe6k.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "void",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.5",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/voidzero-dev/void.git",
|
|
@@ -325,11 +325,11 @@
|
|
|
325
325
|
"@cloudflare/vite-plugin": "1.54.7",
|
|
326
326
|
"@cloudflare/workers-types": "^4.20260702.1",
|
|
327
327
|
"@napi-rs/keyring": "2.0.0",
|
|
328
|
-
"@void/deploy-cloudflare": "0.21.
|
|
329
|
-
"@void/deploy-core": "0.21.
|
|
330
|
-
"@void/edge": "0.21.
|
|
331
|
-
"@void/isr": "0.21.
|
|
332
|
-
"@void/platform": "0.21.
|
|
328
|
+
"@void/deploy-cloudflare": "0.21.5",
|
|
329
|
+
"@void/deploy-core": "0.21.5",
|
|
330
|
+
"@void/edge": "0.21.5",
|
|
331
|
+
"@void/isr": "0.21.5",
|
|
332
|
+
"@void/platform": "0.21.5",
|
|
333
333
|
"acorn": "^8.15.0",
|
|
334
334
|
"better-auth": "^1.7.3",
|
|
335
335
|
"better-sqlite3": "^13.0.3",
|
|
@@ -379,7 +379,7 @@
|
|
|
379
379
|
"zod": "^4.6.1"
|
|
380
380
|
},
|
|
381
381
|
"peerDependencies": {
|
|
382
|
-
"@void/md": "0.21.
|
|
382
|
+
"@void/md": "0.21.5",
|
|
383
383
|
"arktype": ">=2.0.0",
|
|
384
384
|
"valibot": ">=1.0.0-beta.7",
|
|
385
385
|
"vite": "^8.0.0",
|