@void/deploy-core 1.2.1 → 1.4.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/index.d.mts +2 -0
- package/dist/index.mjs +1 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -490,6 +490,8 @@ export type DeployManifest = {
|
|
|
490
490
|
hashedAssetsPrefix?: string;
|
|
491
491
|
headerRules?: Array<HeaderRule>;
|
|
492
492
|
redirectRules?: Array<RedirectRule>;
|
|
493
|
+
/** Omitted values inherit the platform default; preserve explicit false. */
|
|
494
|
+
alwaysUseHttps?: boolean;
|
|
493
495
|
fallbackRules?: Array<RedirectRule>;
|
|
494
496
|
websocket?: WebSocketManifestMeta;
|
|
495
497
|
sandbox?: SandboxManifestMeta;
|
package/dist/index.mjs
CHANGED
|
@@ -193,6 +193,7 @@ function validateManifestShape(manifest) {
|
|
|
193
193
|
for (const pair of rule.headers) if (!Array.isArray(pair) || pair.length !== 2 || typeof pair[0] !== "string" || typeof pair[1] !== "string") return "invalid manifest shape: headerRules headers entries must be [name, value] string pairs";
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
|
+
if (manifest.alwaysUseHttps !== void 0 && typeof manifest.alwaysUseHttps !== "boolean") return "invalid manifest shape: alwaysUseHttps must be a boolean";
|
|
196
197
|
const redirectRulesError = validateRoutingRules(manifest.redirectRules, "redirectRules");
|
|
197
198
|
if (redirectRulesError) return redirectRulesError;
|
|
198
199
|
if (manifest.revalidateQueryAllowlist !== void 0) {
|