devflare 1.0.0-next.52 → 1.0.0-next.54
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/LLM.md +3 -0
- package/dist/_chunks/{account-Csog80ie.js → account-BRKr-RxD.js} +1 -1
- package/dist/_chunks/{build-Ccza8VQz.js → build-DqcqrHVg.js} +1 -1
- package/dist/_chunks/{build-artifacts-BNssqhxE.js → build-artifacts-CKgTbMMU.js} +3 -3
- package/dist/_chunks/{cli-CqIDn-Hy.js → cli-CGiax_kr.js} +12 -12
- package/dist/_chunks/{command-utils-_bGRraDR.js → command-utils-CZs_YNc-.js} +1 -1
- package/dist/_chunks/{compiler-BtLp9T9N.js → compiler-6U00VL8T.js} +1 -1
- package/dist/_chunks/{config-QU8UEWmA.js → config-DM1Li_Lx.js} +2 -2
- package/dist/_chunks/{config-path-1yI7BiDU.js → config-path-cNrxIbkI.js} +1 -1
- package/dist/_chunks/{deploy-aifBaMVv.js → deploy-DVaP21Wt.js} +5 -5
- package/dist/_chunks/{dev-DF_3baGr.js → dev-BSLop5cd.js} +6 -4
- package/dist/_chunks/{doctor-tR9kGT_Z.js → doctor-C6YTXG9A.js} +2 -2
- package/dist/_chunks/{family-DKPp4wqj.js → family-Y--vD4vI.js} +1 -1
- package/dist/_chunks/{loader-OQ2AWpqm.js → loader-CPvwJbEN.js} +7 -1
- package/dist/_chunks/{login-rVWUZOKC.js → login-BIaThSZU.js} +1 -1
- package/dist/_chunks/{preview-resources-DRWR0gaB.js → preview-resources-CP6VPdp7.js} +1 -1
- package/dist/_chunks/{previews-BxNq8Y_J.js → previews-DOyGetMm.js} +6 -6
- package/dist/_chunks/{productions-DXQ045cq.js → productions-Dk4WovIB.js} +3 -3
- package/dist/_chunks/{routes-B6XiI8Sa.js → routes-vrh2EdGr.js} +1 -1
- package/dist/_chunks/{tail-CuWI04BL.js → tail-Ce4SGUxi.js} +2 -2
- package/dist/_chunks/{types-BquPXsFg.js → types-CKCU-jpC.js} +2 -2
- package/dist/_chunks/{vite-D_wLDGBs.js → vite-Qt3lTyOu.js} +3 -3
- package/dist/_chunks/{worker-DEF-e8LL.js → worker-DnH82WVD.js} +3 -3
- package/dist/browser.d.ts +32 -0
- package/dist/browser.d.ts.map +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/config/schema-env.d.ts +20 -0
- package/dist/config/schema-env.d.ts.map +1 -1
- package/dist/config/schema-runtime.d.ts +17 -0
- package/dist/config/schema-runtime.d.ts.map +1 -1
- package/dist/config/schema-types-runtime-server.d.ts +28 -0
- package/dist/config/schema-types-runtime-server.d.ts.map +1 -1
- package/dist/config/schema.d.ts +38 -0
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/dev-server/miniflare-dev-config.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/sveltekit/index.js +1 -1
- package/dist/test/index.d.ts +1 -1
- package/dist/test/index.d.ts.map +1 -1
- package/dist/test/index.js +68 -4
- package/dist/test/offline-bindings.d.ts +10 -1
- package/dist/test/offline-bindings.d.ts.map +1 -1
- package/dist/test/utilities/env.d.ts +2 -0
- package/dist/test/utilities/env.d.ts.map +1 -1
- package/dist/test/utilities/send-email.d.ts +27 -0
- package/dist/test/utilities/send-email.d.ts.map +1 -0
- package/dist/test/utilities.d.ts +1 -0
- package/dist/test/utilities.d.ts.map +1 -1
- package/dist/vite/index.js +1 -1
- package/package.json +1 -1
package/LLM.md
CHANGED
|
@@ -4800,6 +4800,8 @@ The `devflare/test` entrypoint intentionally has multiple lanes: runtime-shaped
|
|
|
4800
4800
|
| `createMockArtifacts` | Mock Artifacts repo APIs. |
|
|
4801
4801
|
| `createMockVectorize` | Mock a Vectorize index (in-memory cosine query). |
|
|
4802
4802
|
| `createMockAnalyticsEngine` | Mock an Analytics Engine dataset (write-only recording stub). |
|
|
4803
|
+
| `createMockSendEmail` | Mock a SendEmail binding (records dispatched mail, enforces allow-lists). |
|
|
4804
|
+
| `createLocalSendEmailBinding` | Underlying pure SendEmail simulator (non-recording). |
|
|
4803
4805
|
| `createMockSecretsStoreSecret` | Mock a Secrets Store secret. |
|
|
4804
4806
|
| `createMockEnv` | Create a pure env with selected mock bindings. |
|
|
4805
4807
|
| `hasServiceBindings` | Advanced/internal service-binding resolution predicate. |
|
|
@@ -11351,6 +11353,7 @@ test('sends an outbound transactional email', async () => {
|
|
|
11351
11353
|
|
|
11352
11354
|
- Use the outbound binding directly when the worker is sending mail.
|
|
11353
11355
|
- Use the inbound `email` helper surface (`cf.email.send(...)` from `devflare/test`) when the worker is handling inbound email in `src/email.ts`.
|
|
11356
|
+
- For pure offline tests, `createMockSendEmail()` (or `createMockEnv({ sendEmail })` / `createOfflineEnv()`) records every dispatched message into `.sentEmails` while still enforcing the configured sender/destination allow-lists; `createLocalSendEmailBinding()` is the underlying non-recording simulator.
|
|
11354
11357
|
- Keep address restrictions visible in tests when those restrictions are part of the safety story.
|
|
11355
11358
|
|
|
11356
11359
|
#### When to move beyond the default harness
|
|
@@ -3,7 +3,7 @@ import { a as setGlobalDefaultAccountId, i as getWorkspaceAccountId, o as setWor
|
|
|
3
3
|
import { t as account } from "./cloudflare-BaloqI3H.js";
|
|
4
4
|
import { a as DIM, c as RESET, i as CYAN_BOLD, r as CYAN } from "./colors-DiK6wPJ5.js";
|
|
5
5
|
import { c as formatCommand, d as green, f as logLine, g as yellow, h as whiteDim, l as formatLabelValue, n as bold, o as dim, p as logTable, r as createCliTheme } from "./ui-BUoZApvE.js";
|
|
6
|
-
import { n as getConfiguredAccountId } from "./command-utils-
|
|
6
|
+
import { n as getConfiguredAccountId } from "./command-utils-CZs_YNc-.js";
|
|
7
7
|
//#region src/cli/commands/account.ts
|
|
8
8
|
const ACCOUNT_SUBCOMMANDS = [
|
|
9
9
|
"info",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as cyanBold, f as logLine, o as dim, r as createCliTheme } from "./ui-BUoZApvE.js";
|
|
2
|
-
import { t as prepareBuildArtifacts } from "./build-artifacts-
|
|
2
|
+
import { t as prepareBuildArtifacts } from "./build-artifacts-CKgTbMMU.js";
|
|
3
3
|
//#region src/cli/commands/build.ts
|
|
4
4
|
async function runBuildCommand(parsed, logger, options) {
|
|
5
5
|
const theme = createCliTheme(parsed.options);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { d as resolveConfigEnvVars } from "./preview-C3Cdr8an.js";
|
|
2
|
-
import { r as loadConfig, u as resolveConfigForEnvironment } from "./loader-
|
|
3
|
-
import { c as writeWranglerConfig, i as isolateViteBuildOutputPaths$1, o as rebaseWranglerConfigPaths, t as compileBuildConfig } from "./compiler-
|
|
2
|
+
import { r as loadConfig, u as resolveConfigForEnvironment } from "./loader-CPvwJbEN.js";
|
|
3
|
+
import { c as writeWranglerConfig, i as isolateViteBuildOutputPaths$1, o as rebaseWranglerConfigPaths, t as compileBuildConfig } from "./compiler-6U00VL8T.js";
|
|
4
4
|
import { f as logLine } from "./ui-BUoZApvE.js";
|
|
5
5
|
import { n as getPackageVersion } from "./package-metadata-DjHBLB-z.js";
|
|
6
6
|
import { t as resolvePackageSpecifier } from "./resolve-package-qizBfCIm.js";
|
|
7
|
-
import { i as writeGeneratedViteConfig, l as prepareComposedWorkerEntrypoint, n as resolveEffectiveViteProject } from "./vite-
|
|
7
|
+
import { i as writeGeneratedViteConfig, l as prepareComposedWorkerEntrypoint, n as resolveEffectiveViteProject } from "./vite-Qt3lTyOu.js";
|
|
8
8
|
import { t as bundleWorkerEntry } from "./worker-bundler-dTTnYU3n.js";
|
|
9
9
|
import { t as detectViteProject } from "./vite-utils-OVLMV605.js";
|
|
10
10
|
import { t as getDependencies } from "./dependencies-C2oxFjU_.js";
|
|
@@ -1101,50 +1101,50 @@ async function runInit(parsed, logger, options) {
|
|
|
1101
1101
|
return runInitCommand(parsed, logger, options);
|
|
1102
1102
|
}
|
|
1103
1103
|
async function runDev(parsed, logger, options) {
|
|
1104
|
-
const { runDevCommand } = await import("./dev-
|
|
1104
|
+
const { runDevCommand } = await import("./dev-BSLop5cd.js");
|
|
1105
1105
|
return runDevCommand(parsed, logger, options);
|
|
1106
1106
|
}
|
|
1107
1107
|
async function runBuild(parsed, logger, options) {
|
|
1108
|
-
const { runBuildCommand } = await import("./build-
|
|
1108
|
+
const { runBuildCommand } = await import("./build-DqcqrHVg.js");
|
|
1109
1109
|
return runBuildCommand(parsed, logger, options);
|
|
1110
1110
|
}
|
|
1111
1111
|
async function runDeploy(parsed, logger, options) {
|
|
1112
|
-
const { runDeployCommand } = await import("./deploy-
|
|
1112
|
+
const { runDeployCommand } = await import("./deploy-DVaP21Wt.js");
|
|
1113
1113
|
return runDeployCommand(parsed, logger, {
|
|
1114
1114
|
...options,
|
|
1115
1115
|
requireExplicitDeployTarget: true
|
|
1116
1116
|
});
|
|
1117
1117
|
}
|
|
1118
1118
|
async function runTypes(parsed, logger, options) {
|
|
1119
|
-
const { runTypesCommand } = await import("./types-
|
|
1119
|
+
const { runTypesCommand } = await import("./types-CKCU-jpC.js");
|
|
1120
1120
|
return runTypesCommand(parsed, logger, options);
|
|
1121
1121
|
}
|
|
1122
1122
|
async function runDoctor(parsed, logger, options) {
|
|
1123
|
-
const { runDoctorCommand } = await import("./doctor-
|
|
1123
|
+
const { runDoctorCommand } = await import("./doctor-C6YTXG9A.js");
|
|
1124
1124
|
return runDoctorCommand(parsed, logger, options);
|
|
1125
1125
|
}
|
|
1126
1126
|
async function runConfig(parsed, logger, options) {
|
|
1127
|
-
const { runConfigCommand } = await import("./config-
|
|
1127
|
+
const { runConfigCommand } = await import("./config-DM1Li_Lx.js");
|
|
1128
1128
|
return runConfigCommand(parsed, logger, options);
|
|
1129
1129
|
}
|
|
1130
1130
|
async function runAccount(parsed, logger, options) {
|
|
1131
|
-
const { runAccountCommand } = await import("./account-
|
|
1131
|
+
const { runAccountCommand } = await import("./account-BRKr-RxD.js");
|
|
1132
1132
|
return runAccountCommand(parsed, logger, options);
|
|
1133
1133
|
}
|
|
1134
1134
|
async function runLogin(parsed, logger, options) {
|
|
1135
|
-
const { runLoginCommand } = await import("./login-
|
|
1135
|
+
const { runLoginCommand } = await import("./login-BIaThSZU.js");
|
|
1136
1136
|
return runLoginCommand(parsed, logger, options);
|
|
1137
1137
|
}
|
|
1138
1138
|
async function runPreviews(parsed, logger, options) {
|
|
1139
|
-
const { runPreviewsCommand } = await import("./previews-
|
|
1139
|
+
const { runPreviewsCommand } = await import("./previews-DOyGetMm.js");
|
|
1140
1140
|
return runPreviewsCommand(parsed, logger, options);
|
|
1141
1141
|
}
|
|
1142
1142
|
async function runProductions(parsed, logger, options) {
|
|
1143
|
-
const { runProductionsCommand } = await import("./productions-
|
|
1143
|
+
const { runProductionsCommand } = await import("./productions-Dk4WovIB.js");
|
|
1144
1144
|
return runProductionsCommand(parsed, logger, options);
|
|
1145
1145
|
}
|
|
1146
1146
|
async function runWorker(parsed, logger, options) {
|
|
1147
|
-
const { runWorkerCommand } = await import("./worker-
|
|
1147
|
+
const { runWorkerCommand } = await import("./worker-DnH82WVD.js");
|
|
1148
1148
|
return runWorkerCommand(parsed, logger, options);
|
|
1149
1149
|
}
|
|
1150
1150
|
async function runToken(parsed, logger, options) {
|
|
@@ -1156,7 +1156,7 @@ async function runSecrets(parsed, logger, options) {
|
|
|
1156
1156
|
return runSecretsCommand(parsed, logger, options);
|
|
1157
1157
|
}
|
|
1158
1158
|
async function runTail(parsed, logger, options) {
|
|
1159
|
-
const { runTailCommand } = await import("./tail-
|
|
1159
|
+
const { runTailCommand } = await import("./tail-Ce4SGUxi.js");
|
|
1160
1160
|
return runTailCommand(parsed, logger, options);
|
|
1161
1161
|
}
|
|
1162
1162
|
async function runAI() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as resolveConfigPath, r as loadConfig } from "./loader-
|
|
1
|
+
import { i as resolveConfigPath, r as loadConfig } from "./loader-CPvwJbEN.js";
|
|
2
2
|
import { d as getPrimaryAccount, i as getWorkspaceAccountId, n as getEffectiveAccountId } from "./preferences-BKp_7XJx.js";
|
|
3
3
|
//#region src/cli/command-utils.ts
|
|
4
4
|
function asOptionalString(value) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as normalizeCompatibilityFlags, u as resolveConfigForEnvironment } from "./loader-
|
|
1
|
+
import { p as normalizeCompatibilityFlags, u as resolveConfigForEnvironment } from "./loader-CPvwJbEN.js";
|
|
2
2
|
import { C as browserBindingSchema, _ as normalizeSecretsStoreBinding, a as normalizeD1Binding, b as normalizeVpcServiceBinding, c as normalizeFlagshipBinding, d as normalizeKVBinding, f as normalizeMediaBinding, g as normalizeR2Binding, h as normalizeQueueProducer, i as normalizeArtifactsBinding, l as normalizeHyperdriveBinding, m as normalizePipelineBinding, o as normalizeDOBinding, p as normalizeMtlsCertificateBinding, r as getSingleBrowserBindingName, s as normalizeDispatchNamespaceBinding, u as normalizeImagesBinding, v as normalizeStreamBinding, x as normalizeWorkflowBinding, y as normalizeVpcNetworkBinding } from "./schema-normalization-GjhTATHL.js";
|
|
3
3
|
import { n as toWranglerSecretsConfig } from "./local-dev-vars-CTSa-wvF.js";
|
|
4
4
|
import { basename, isAbsolute, relative, resolve } from "pathe";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as resolveConfigEnvVars } from "./preview-C3Cdr8an.js";
|
|
2
|
-
import { a as ConfigResourceResolutionError, o as loadResolvedConfig, r as loadConfig, s as resolveResources } from "./loader-
|
|
3
|
-
import { n as compileConfig, t as compileBuildConfig } from "./compiler-
|
|
2
|
+
import { a as ConfigResourceResolutionError, o as loadResolvedConfig, r as loadConfig, s as resolveResources } from "./loader-CPvwJbEN.js";
|
|
3
|
+
import { n as compileConfig, t as compileBuildConfig } from "./compiler-6U00VL8T.js";
|
|
4
4
|
//#region src/cli/commands/config.ts
|
|
5
5
|
function isSupportedFormat(value) {
|
|
6
6
|
return value === "devflare" || value === "wrangler";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { a as resolvePreviewIdentifier, d as resolveConfigEnvVars } from "./preview-C3Cdr8an.js";
|
|
2
|
-
import { c as prepareConfigResourcesForDeploy, r as loadConfig, u as resolveConfigForEnvironment } from "./loader-
|
|
3
|
-
import { a as readWranglerConfig, c as writeWranglerConfig, n as compileConfig, o as rebaseWranglerConfigPaths, s as stringifyConfig, t as compileBuildConfig } from "./compiler-
|
|
2
|
+
import { c as prepareConfigResourcesForDeploy, r as loadConfig, u as resolveConfigForEnvironment } from "./loader-CPvwJbEN.js";
|
|
3
|
+
import { a as readWranglerConfig, c as writeWranglerConfig, n as compileConfig, o as rebaseWranglerConfigPaths, s as stringifyConfig, t as compileBuildConfig } from "./compiler-6U00VL8T.js";
|
|
4
4
|
import { d as getPrimaryAccount, n as getEffectiveAccountId } from "./preferences-BKp_7XJx.js";
|
|
5
5
|
import { D as listWorkerVersions, E as listWorkerDeployments, O as listWorkers, T as getWorkersSubdomain, c as reconcilePreviewRegistry, w as getWorkerVersionDetail, x as formatWorkersDevUrl } from "./preview-registry-ClAbLTHH.js";
|
|
6
6
|
import { _ as yellowBold, d as green, f as logLine, g as yellow, o as dim, r as createCliTheme } from "./ui-BUoZApvE.js";
|
|
7
7
|
import { n as getPackageVersion } from "./package-metadata-DjHBLB-z.js";
|
|
8
8
|
import { t as resolvePackageSpecifier } from "./resolve-package-qizBfCIm.js";
|
|
9
|
-
import { t as asOptionalString } from "./command-utils-
|
|
10
|
-
import { a as createBuildManifest, i as compareManifests, n as applyDeploymentStrategy, o as formatDriftWarning, r as describeDeploymentStrategy, s as readBuildManifest, t as prepareBuildArtifacts } from "./build-artifacts-
|
|
9
|
+
import { t as asOptionalString } from "./command-utils-CZs_YNc-.js";
|
|
10
|
+
import { a as createBuildManifest, i as compareManifests, n as applyDeploymentStrategy, o as formatDriftWarning, r as describeDeploymentStrategy, s as readBuildManifest, t as prepareBuildArtifacts } from "./build-artifacts-CKgTbMMU.js";
|
|
11
11
|
import { t as getDependencies } from "./dependencies-C2oxFjU_.js";
|
|
12
|
-
import { n as preparePreviewScopedResourcesForDeploy } from "./preview-resources-
|
|
12
|
+
import { n as preparePreviewScopedResourcesForDeploy } from "./preview-resources-CP6VPdp7.js";
|
|
13
13
|
import { mkdir, open, readFile, rm, writeFile } from "node:fs/promises";
|
|
14
14
|
import { basename, dirname, isAbsolute, join, resolve } from "pathe";
|
|
15
15
|
//#region src/config/service-bindings-validation.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { c as getDevflareDotenvPaths, d as resolveConfigEnvVars, o as EnvVarResolutionError } from "./preview-C3Cdr8an.js";
|
|
2
|
-
import { i as resolveConfigPath, r as loadConfig } from "./loader-
|
|
2
|
+
import { i as resolveConfigPath, r as loadConfig } from "./loader-CPvwJbEN.js";
|
|
3
3
|
import { g as normalizeR2Binding, n as getLocalKVNamespaceIdentifier, r as getSingleBrowserBindingName, t as getLocalD1DatabaseIdentifier } from "./schema-normalization-GjhTATHL.js";
|
|
4
4
|
import { t as applyLocalDevVarsToConfig } from "./local-dev-vars-CTSa-wvF.js";
|
|
5
5
|
import { a as cyanBold, f as logLine, g as yellow, o as dim, r as createCliTheme } from "./ui-BUoZApvE.js";
|
|
6
6
|
import { clearLocalSendEmailBindings, setLocalSendEmailBindings } from "../utils/send-email.js";
|
|
7
|
-
import { C as buildSendEmailConfig, D as buildVersionMetadataConfig, E as buildTailConsumersConfig, O as buildWorkerLoadersConfig, S as buildSecretsStoreConfig, T as buildStreamingTailConsumersConfig, _ as buildMtlsCertificatesConfig, b as buildQueueProducers, c as buildAiSearchInstancesConfig, d as buildArtifactsConfig, f as buildDispatchNamespacesConfig, g as buildMediaConfig, h as buildImagesConfig, k as buildWorkflowsConfig, l as buildAiSearchNamespacesConfig, m as buildHyperdrivesConfig, n as getRouteDirectoryCandidate, p as buildFlagshipConfig, s as resolveServiceBindings, t as discoverRoutes, u as buildAnalyticsEngineConfig, v as buildPipelinesConfig, w as buildStreamConfig, x as buildRateLimitsConfig, y as buildQueueConsumers } from "./routes-
|
|
7
|
+
import { C as buildSendEmailConfig, D as buildVersionMetadataConfig, E as buildTailConsumersConfig, O as buildWorkerLoadersConfig, S as buildSecretsStoreConfig, T as buildStreamingTailConsumersConfig, _ as buildMtlsCertificatesConfig, b as buildQueueProducers, c as buildAiSearchInstancesConfig, d as buildArtifactsConfig, f as buildDispatchNamespacesConfig, g as buildMediaConfig, h as buildImagesConfig, k as buildWorkflowsConfig, l as buildAiSearchNamespacesConfig, m as buildHyperdrivesConfig, n as getRouteDirectoryCandidate, p as buildFlagshipConfig, s as resolveServiceBindings, t as discoverRoutes, u as buildAnalyticsEngineConfig, v as buildPipelinesConfig, w as buildStreamConfig, x as buildRateLimitsConfig, y as buildQueueConsumers } from "./routes-vrh2EdGr.js";
|
|
8
8
|
import { r as transformDurableObject } from "./durable-object-DMtH0XYX.js";
|
|
9
9
|
import { i as findFiles } from "./glob-CmQOvunB.js";
|
|
10
|
-
import { d as DEFAULT_FETCH_ENTRY_FILES, f as DEFAULT_QUEUE_ENTRY_FILES, g as discoverDurableObjectFiles, h as resolveWorkerSurfacePaths, i as writeGeneratedViteConfig, l as prepareComposedWorkerEntrypoint, m as hasWorkerSurfacePaths, n as resolveEffectiveViteProject, p as DEFAULT_SCHEDULED_ENTRY_FILES, u as DEFAULT_EMAIL_ENTRY_FILES } from "./vite-
|
|
10
|
+
import { d as DEFAULT_FETCH_ENTRY_FILES, f as DEFAULT_QUEUE_ENTRY_FILES, g as discoverDurableObjectFiles, h as resolveWorkerSurfacePaths, i as writeGeneratedViteConfig, l as prepareComposedWorkerEntrypoint, m as hasWorkerSurfacePaths, n as resolveEffectiveViteProject, p as DEFAULT_SCHEDULED_ENTRY_FILES, u as DEFAULT_EMAIL_ENTRY_FILES } from "./vite-Qt3lTyOu.js";
|
|
11
11
|
import { a as createWorkerdBundlerDefaults, i as writeWorkerCompatibleBundle, n as ensureDebugShim, r as resolveWorkerCompatibleRolldownConfig, t as bundleWorkerEntry } from "./worker-bundler-dTTnYU3n.js";
|
|
12
12
|
import { t as bundleWorkflowEntrypointScript } from "./local-workflow-entrypoints-8d_mXh8T.js";
|
|
13
13
|
import { n as buildLocalSecretWrappedBindingConfig } from "./local-secrets-CYoHfvQ1.js";
|
|
@@ -2026,7 +2026,9 @@ function buildMiniflareDevConfig(input) {
|
|
|
2026
2026
|
...serverConfig?.httpsKeyPath !== void 0 && { httpsKeyPath: serverConfig.httpsKeyPath },
|
|
2027
2027
|
...serverConfig?.httpsCertPath !== void 0 && { httpsCertPath: serverConfig.httpsCertPath },
|
|
2028
2028
|
...serverConfig?.inspectorPort !== void 0 && { inspectorPort: serverConfig.inspectorPort },
|
|
2029
|
-
...serverConfig?.upstream !== void 0 && { upstream: serverConfig.upstream }
|
|
2029
|
+
...serverConfig?.upstream !== void 0 && { upstream: serverConfig.upstream },
|
|
2030
|
+
...serverConfig?.liveReload !== void 0 && { liveReload: serverConfig.liveReload },
|
|
2031
|
+
...serverConfig?.cf !== void 0 && { cf: serverConfig.cf }
|
|
2030
2032
|
};
|
|
2031
2033
|
const localBindingShimServiceConfig = buildLocalBindingShimServiceConfig(loadedConfig);
|
|
2032
2034
|
const createServiceBindings = (extraBindings = {}) => buildServiceBindings(bindings, {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { r as loadConfig } from "./loader-
|
|
1
|
+
import { r as loadConfig } from "./loader-CPvwJbEN.js";
|
|
2
2
|
import { d as green, f as logLine, g as yellow, m as red, n as bold, o as dim, r as createCliTheme } from "./ui-BUoZApvE.js";
|
|
3
3
|
import { n as getPackageVersion } from "./package-metadata-DjHBLB-z.js";
|
|
4
4
|
import { t as detectViteProject } from "./vite-utils-OVLMV605.js";
|
|
5
5
|
import { t as getDependencies } from "./dependencies-C2oxFjU_.js";
|
|
6
6
|
import { n as getGeneratedArtifactPaths } from "./generated-artifacts-dMJY4KAt.js";
|
|
7
|
-
import { n as formatSupportedConfigFilenames, r as resolveConfigCandidatePath } from "./config-path-
|
|
7
|
+
import { n as formatSupportedConfigFilenames, r as resolveConfigCandidatePath } from "./config-path-cNrxIbkI.js";
|
|
8
8
|
import { basename, dirname, relative, resolve } from "pathe";
|
|
9
9
|
//#region src/cli/commands/doctor.ts
|
|
10
10
|
async function runDoctorCommand(parsed, logger, options) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as resolveConfigForEnvironment } from "./loader-
|
|
1
|
+
import { u as resolveConfigForEnvironment } from "./loader-CPvwJbEN.js";
|
|
2
2
|
//#region src/cli/commands/previews-support/family.ts
|
|
3
3
|
function compareConfiguredWorkerFamilies(left, right) {
|
|
4
4
|
if (left.role === "primary" && right.role !== "primary") return -1;
|
|
@@ -244,7 +244,13 @@ const serverConfigSchema = z.object({
|
|
|
244
244
|
httpsKeyPath: z.string().min(1).optional(),
|
|
245
245
|
httpsCertPath: z.string().min(1).optional(),
|
|
246
246
|
inspectorPort: z.number().int().min(1).max(65535).optional(),
|
|
247
|
-
upstream: z.string().min(1).optional()
|
|
247
|
+
upstream: z.string().min(1).optional(),
|
|
248
|
+
liveReload: z.boolean().optional(),
|
|
249
|
+
cf: z.union([
|
|
250
|
+
z.boolean(),
|
|
251
|
+
z.string().min(1),
|
|
252
|
+
z.record(z.string(), z.unknown())
|
|
253
|
+
]).optional()
|
|
248
254
|
}).strict().optional();
|
|
249
255
|
/**
|
|
250
256
|
* Secret declaration options.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as account } from "./cloudflare-BaloqI3H.js";
|
|
2
2
|
import { d as green, f as logLine, g as yellow, h as whiteDim, o as dim, r as createCliTheme } from "./ui-BUoZApvE.js";
|
|
3
|
-
import { n as getConfiguredAccountId } from "./command-utils-
|
|
3
|
+
import { n as getConfiguredAccountId } from "./command-utils-CZs_YNc-.js";
|
|
4
4
|
import { t as getDependencies } from "./dependencies-C2oxFjU_.js";
|
|
5
5
|
//#region src/cli/commands/login.ts
|
|
6
6
|
async function logResolvedAccount(cwd, logger, theme) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as materializePreviewScopedConfig, r as materializePreviewScopedString, t as isPreviewScopedName } from "./preview-C3Cdr8an.js";
|
|
2
|
-
import { l as mergeConfigForEnvironment } from "./loader-
|
|
2
|
+
import { l as mergeConfigForEnvironment } from "./loader-CPvwJbEN.js";
|
|
3
3
|
import { g as normalizeR2Binding, h as normalizeQueueProducer } from "./schema-normalization-GjhTATHL.js";
|
|
4
4
|
import { d as getPrimaryAccount, n as getEffectiveAccountId } from "./preferences-BKp_7XJx.js";
|
|
5
5
|
import { _ as listR2Buckets, a as createVectorizeIndex, c as deleteKVNamespace, d as deleteVectorizeIndex, g as listQueues, h as listKVNamespaces, i as createR2Bucket, l as deleteQueue, m as listHyperdrives, n as createKVNamespace, o as deleteD1Database, p as listD1Databases, r as createQueue, s as deleteHyperdrive, t as createD1Database, u as deleteR2Bucket, v as listVectorizeIndexes } from "./account-resources-CsmVowJp.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { a as resolvePreviewIdentifier } from "./preview-C3Cdr8an.js";
|
|
2
|
-
import { i as resolveConfigPath, o as loadResolvedConfig, r as loadConfig, t as ConfigNotFoundError } from "./loader-
|
|
3
|
-
import { t as compileBuildConfig } from "./compiler-
|
|
2
|
+
import { i as resolveConfigPath, o as loadResolvedConfig, r as loadConfig, t as ConfigNotFoundError } from "./loader-CPvwJbEN.js";
|
|
3
|
+
import { t as compileBuildConfig } from "./compiler-6U00VL8T.js";
|
|
4
4
|
import { t as account } from "./cloudflare-BaloqI3H.js";
|
|
5
5
|
import { _ as yellowBold, a as cyanBold, d as green, f as logLine, g as yellow, h as whiteDim, m as red, n as bold, o as dim, r as createCliTheme, u as formatTableLine } from "./ui-BUoZApvE.js";
|
|
6
|
-
import { i as resolveNamedSelection, r as resolveCloudflareAccountId, t as asOptionalString } from "./command-utils-
|
|
6
|
+
import { i as resolveNamedSelection, r as resolveCloudflareAccountId, t as asOptionalString } from "./command-utils-CZs_YNc-.js";
|
|
7
7
|
import { t as getDependencies } from "./dependencies-C2oxFjU_.js";
|
|
8
|
-
import { t as cleanupPreviewScopedResources } from "./preview-resources-
|
|
9
|
-
import { t as findConfigPathsUnderDirectory } from "./config-path-
|
|
10
|
-
import { a as orderPreviewWorkerNamesForDeletion, i as collectConfiguredWorkerFamilies, n as buildPreviewWorkerCandidatesByScope, r as buildStableWorkerRowsFromLiveWorkers, t as buildPreviewScopeRowsFromLiveWorkers } from "./family-
|
|
8
|
+
import { t as cleanupPreviewScopedResources } from "./preview-resources-CP6VPdp7.js";
|
|
9
|
+
import { t as findConfigPathsUnderDirectory } from "./config-path-cNrxIbkI.js";
|
|
10
|
+
import { a as orderPreviewWorkerNamesForDeletion, i as collectConfiguredWorkerFamilies, n as buildPreviewWorkerCandidatesByScope, r as buildStableWorkerRowsFromLiveWorkers, t as buildPreviewScopeRowsFromLiveWorkers } from "./family-Y--vD4vI.js";
|
|
11
11
|
//#region src/cli/preview-bindings.ts
|
|
12
12
|
function normalizeCell(value) {
|
|
13
13
|
return (value ?? "").trim().replace(/\s+/g, " ");
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { r as loadConfig, t as ConfigNotFoundError } from "./loader-
|
|
1
|
+
import { r as loadConfig, t as ConfigNotFoundError } from "./loader-CPvwJbEN.js";
|
|
2
2
|
import { t as account } from "./cloudflare-BaloqI3H.js";
|
|
3
3
|
import { a as cyanBold, d as green, f as logLine, g as yellow, h as whiteDim, l as formatLabelValue, m as red, n as bold, o as dim, p as logTable, r as createCliTheme } from "./ui-BUoZApvE.js";
|
|
4
4
|
import { i as findFiles } from "./glob-CmQOvunB.js";
|
|
5
|
-
import { i as resolveNamedSelection, r as resolveCloudflareAccountId, t as asOptionalString } from "./command-utils-
|
|
5
|
+
import { i as resolveNamedSelection, r as resolveCloudflareAccountId, t as asOptionalString } from "./command-utils-CZs_YNc-.js";
|
|
6
6
|
import { t as getDependencies } from "./dependencies-C2oxFjU_.js";
|
|
7
|
-
import { i as collectConfiguredWorkerFamilies } from "./family-
|
|
7
|
+
import { i as collectConfiguredWorkerFamilies } from "./family-Y--vD4vI.js";
|
|
8
8
|
//#region src/cli/commands/productions.ts
|
|
9
9
|
const CLI_API_OPTIONS = { timeout: 1e4 };
|
|
10
10
|
const PRODUCTION_SUBCOMMANDS = [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as configSchema } from "./loader-
|
|
1
|
+
import { d as configSchema } from "./loader-CPvwJbEN.js";
|
|
2
2
|
import { _ as normalizeSecretsStoreBinding, c as normalizeFlagshipBinding, f as normalizeMediaBinding, g as normalizeR2Binding, h as normalizeQueueProducer, i as normalizeArtifactsBinding, l as normalizeHyperdriveBinding, m as normalizePipelineBinding, n as getLocalKVNamespaceIdentifier, o as normalizeDOBinding, p as normalizeMtlsCertificateBinding, s as normalizeDispatchNamespaceBinding, t as getLocalD1DatabaseIdentifier, u as normalizeImagesBinding, v as normalizeStreamBinding, x as normalizeWorkflowBinding } from "./schema-normalization-GjhTATHL.js";
|
|
3
3
|
import { n as findDurableObjectClasses } from "./durable-object-DMtH0XYX.js";
|
|
4
4
|
import { r as SUPPORTED_WORKER_EXTENSIONS, t as transformWorkerEntrypoint } from "./worker-entrypoint-CQW77lG8.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as loadConfig } from "./loader-
|
|
1
|
+
import { r as loadConfig } from "./loader-CPvwJbEN.js";
|
|
2
2
|
import { p as getApiToken } from "./api-TzdliH-6.js";
|
|
3
3
|
import { d as green, f as logLine, g as yellow, h as whiteDim, m as red, o as dim, r as createCliTheme } from "./ui-BUoZApvE.js";
|
|
4
|
-
import { r as resolveCloudflareAccountId, t as asOptionalString } from "./command-utils-
|
|
4
|
+
import { r as resolveCloudflareAccountId, t as asOptionalString } from "./command-utils-CZs_YNc-.js";
|
|
5
5
|
//#region src/cli/commands/tail.ts
|
|
6
6
|
const CLOUDFLARE_API_BASE = "https://api.cloudflare.com/client/v4";
|
|
7
7
|
const TAIL_SUBPROTOCOL = "trace-v1";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as loadConfig } from "./loader-
|
|
1
|
+
import { r as loadConfig } from "./loader-CPvwJbEN.js";
|
|
2
2
|
import { o as normalizeDOBinding } from "./schema-normalization-GjhTATHL.js";
|
|
3
3
|
import { n as bold, o as dim, r as createCliTheme } from "./ui-BUoZApvE.js";
|
|
4
4
|
import { n as findDurableObjectClasses } from "./durable-object-DMtH0XYX.js";
|
|
5
5
|
import { i as findFiles, n as DEFAULT_ENTRYPOINT_PATTERN, t as DEFAULT_DO_PATTERN } from "./glob-CmQOvunB.js";
|
|
6
6
|
import { n as discoverEntrypointsAsync, t as resolvePackageSpecifier } from "./resolve-package-qizBfCIm.js";
|
|
7
7
|
import { t as getDependencies } from "./dependencies-C2oxFjU_.js";
|
|
8
|
-
import { r as resolveConfigCandidatePath } from "./config-path-
|
|
8
|
+
import { r as resolveConfigCandidatePath } from "./config-path-cNrxIbkI.js";
|
|
9
9
|
import { readFile } from "node:fs/promises";
|
|
10
10
|
import { dirname, relative, resolve } from "pathe";
|
|
11
11
|
//#region src/cli/commands/type-generation/discovery.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { d as resolveConfigEnvVars } from "./preview-C3Cdr8an.js";
|
|
2
|
-
import { i as resolveConfigPath, o as loadResolvedConfig, r as loadConfig, s as resolveResources, u as resolveConfigForEnvironment } from "./loader-
|
|
2
|
+
import { i as resolveConfigPath, o as loadResolvedConfig, r as loadConfig, s as resolveResources, u as resolveConfigForEnvironment } from "./loader-CPvwJbEN.js";
|
|
3
3
|
import { o as normalizeDOBinding } from "./schema-normalization-GjhTATHL.js";
|
|
4
|
-
import { c as writeWranglerConfig, i as isolateViteBuildOutputPaths, n as compileConfig, o as rebaseWranglerConfigPaths, r as compileToProgrammaticConfig, t as compileBuildConfig } from "./compiler-
|
|
4
|
+
import { c as writeWranglerConfig, i as isolateViteBuildOutputPaths, n as compileConfig, o as rebaseWranglerConfigPaths, r as compileToProgrammaticConfig, t as compileBuildConfig } from "./compiler-6U00VL8T.js";
|
|
5
5
|
import { h as resolveFetchHandler, i as assertExplicit2ArgStyle } from "./runtime-DL-Nz3k8.js";
|
|
6
|
-
import { s as resolveServiceBindings, t as discoverRoutes } from "./routes-
|
|
6
|
+
import { s as resolveServiceBindings, t as discoverRoutes } from "./routes-vrh2EdGr.js";
|
|
7
7
|
import { n as findDurableObjectClasses } from "./durable-object-DMtH0XYX.js";
|
|
8
8
|
import { r as SUPPORTED_WORKER_EXTENSIONS } from "./worker-entrypoint-CQW77lG8.js";
|
|
9
9
|
import { i as findFiles, t as DEFAULT_DO_PATTERN } from "./glob-CmQOvunB.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as loadConfig } from "./loader-
|
|
1
|
+
import { r as loadConfig } from "./loader-CPvwJbEN.js";
|
|
2
2
|
import { o as normalizeDOBinding } from "./schema-normalization-GjhTATHL.js";
|
|
3
3
|
import { t as account } from "./cloudflare-BaloqI3H.js";
|
|
4
4
|
import { d as green, f as logLine, g as yellow, h as whiteDim, n as bold, o as dim, r as createCliTheme } from "./ui-BUoZApvE.js";
|
|
5
|
-
import { r as resolveCloudflareAccountId, t as asOptionalString } from "./command-utils-
|
|
6
|
-
import { n as formatSupportedConfigFilenames, r as resolveConfigCandidatePath, t as findConfigPathsUnderDirectory } from "./config-path-
|
|
5
|
+
import { r as resolveCloudflareAccountId, t as asOptionalString } from "./command-utils-CZs_YNc-.js";
|
|
6
|
+
import { n as formatSupportedConfigFilenames, r as resolveConfigCandidatePath, t as findConfigPathsUnderDirectory } from "./config-path-cNrxIbkI.js";
|
|
7
7
|
import { basename, dirname, relative, resolve } from "pathe";
|
|
8
8
|
import MagicString from "magic-string";
|
|
9
9
|
//#region src/cli/commands/worker.ts
|
package/dist/browser.d.ts
CHANGED
|
@@ -36,6 +36,8 @@ export declare const configSchema: import("zod").ZodEffects<import("zod").ZodObj
|
|
|
36
36
|
httpsCertPath: import("zod").ZodOptional<import("zod").ZodString>;
|
|
37
37
|
inspectorPort: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
38
38
|
upstream: import("zod").ZodOptional<import("zod").ZodString>;
|
|
39
|
+
liveReload: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
40
|
+
cf: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodBoolean, import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>]>>;
|
|
39
41
|
}, "strict", import("zod").ZodTypeAny, {
|
|
40
42
|
host?: string | undefined;
|
|
41
43
|
port?: number | undefined;
|
|
@@ -44,6 +46,8 @@ export declare const configSchema: import("zod").ZodEffects<import("zod").ZodObj
|
|
|
44
46
|
httpsCertPath?: string | undefined;
|
|
45
47
|
inspectorPort?: number | undefined;
|
|
46
48
|
upstream?: string | undefined;
|
|
49
|
+
liveReload?: boolean | undefined;
|
|
50
|
+
cf?: string | boolean | Record<string, unknown> | undefined;
|
|
47
51
|
}, {
|
|
48
52
|
host?: string | undefined;
|
|
49
53
|
port?: number | undefined;
|
|
@@ -52,6 +56,8 @@ export declare const configSchema: import("zod").ZodEffects<import("zod").ZodObj
|
|
|
52
56
|
httpsCertPath?: string | undefined;
|
|
53
57
|
inspectorPort?: number | undefined;
|
|
54
58
|
upstream?: string | undefined;
|
|
59
|
+
liveReload?: boolean | undefined;
|
|
60
|
+
cf?: string | boolean | Record<string, unknown> | undefined;
|
|
55
61
|
}>>;
|
|
56
62
|
files: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
57
63
|
fetch: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodLiteral<false>]>>;
|
|
@@ -1306,6 +1312,8 @@ export declare const configSchema: import("zod").ZodEffects<import("zod").ZodObj
|
|
|
1306
1312
|
httpsCertPath: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1307
1313
|
inspectorPort: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1308
1314
|
upstream: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1315
|
+
liveReload: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1316
|
+
cf: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodBoolean, import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>]>>;
|
|
1309
1317
|
}, "strict", import("zod").ZodTypeAny, {
|
|
1310
1318
|
host?: string | undefined;
|
|
1311
1319
|
port?: number | undefined;
|
|
@@ -1314,6 +1322,8 @@ export declare const configSchema: import("zod").ZodEffects<import("zod").ZodObj
|
|
|
1314
1322
|
httpsCertPath?: string | undefined;
|
|
1315
1323
|
inspectorPort?: number | undefined;
|
|
1316
1324
|
upstream?: string | undefined;
|
|
1325
|
+
liveReload?: boolean | undefined;
|
|
1326
|
+
cf?: string | boolean | Record<string, unknown> | undefined;
|
|
1317
1327
|
}, {
|
|
1318
1328
|
host?: string | undefined;
|
|
1319
1329
|
port?: number | undefined;
|
|
@@ -1322,6 +1332,8 @@ export declare const configSchema: import("zod").ZodEffects<import("zod").ZodObj
|
|
|
1322
1332
|
httpsCertPath?: string | undefined;
|
|
1323
1333
|
inspectorPort?: number | undefined;
|
|
1324
1334
|
upstream?: string | undefined;
|
|
1335
|
+
liveReload?: boolean | undefined;
|
|
1336
|
+
cf?: string | boolean | Record<string, unknown> | undefined;
|
|
1325
1337
|
}>>>;
|
|
1326
1338
|
readonly files: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1327
1339
|
fetch: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodLiteral<false>]>>;
|
|
@@ -2556,6 +2568,8 @@ export declare const configSchema: import("zod").ZodEffects<import("zod").ZodObj
|
|
|
2556
2568
|
httpsCertPath?: string | undefined;
|
|
2557
2569
|
inspectorPort?: number | undefined;
|
|
2558
2570
|
upstream?: string | undefined;
|
|
2571
|
+
liveReload?: boolean | undefined;
|
|
2572
|
+
cf?: string | boolean | Record<string, unknown> | undefined;
|
|
2559
2573
|
} | undefined;
|
|
2560
2574
|
files?: {
|
|
2561
2575
|
fetch?: string | false | undefined;
|
|
@@ -2865,6 +2879,8 @@ export declare const configSchema: import("zod").ZodEffects<import("zod").ZodObj
|
|
|
2865
2879
|
httpsCertPath?: string | undefined;
|
|
2866
2880
|
inspectorPort?: number | undefined;
|
|
2867
2881
|
upstream?: string | undefined;
|
|
2882
|
+
liveReload?: boolean | undefined;
|
|
2883
|
+
cf?: string | boolean | Record<string, unknown> | undefined;
|
|
2868
2884
|
} | undefined;
|
|
2869
2885
|
files?: {
|
|
2870
2886
|
fetch?: string | false | undefined;
|
|
@@ -3176,6 +3192,8 @@ export declare const configSchema: import("zod").ZodEffects<import("zod").ZodObj
|
|
|
3176
3192
|
httpsCertPath?: string | undefined;
|
|
3177
3193
|
inspectorPort?: number | undefined;
|
|
3178
3194
|
upstream?: string | undefined;
|
|
3195
|
+
liveReload?: boolean | undefined;
|
|
3196
|
+
cf?: string | boolean | Record<string, unknown> | undefined;
|
|
3179
3197
|
} | undefined;
|
|
3180
3198
|
files?: {
|
|
3181
3199
|
fetch?: string | false | undefined;
|
|
@@ -3491,6 +3509,8 @@ export declare const configSchema: import("zod").ZodEffects<import("zod").ZodObj
|
|
|
3491
3509
|
httpsCertPath?: string | undefined;
|
|
3492
3510
|
inspectorPort?: number | undefined;
|
|
3493
3511
|
upstream?: string | undefined;
|
|
3512
|
+
liveReload?: boolean | undefined;
|
|
3513
|
+
cf?: string | boolean | Record<string, unknown> | undefined;
|
|
3494
3514
|
} | undefined;
|
|
3495
3515
|
files?: {
|
|
3496
3516
|
fetch?: string | false | undefined;
|
|
@@ -3802,6 +3822,8 @@ export declare const configSchema: import("zod").ZodEffects<import("zod").ZodObj
|
|
|
3802
3822
|
httpsCertPath?: string | undefined;
|
|
3803
3823
|
inspectorPort?: number | undefined;
|
|
3804
3824
|
upstream?: string | undefined;
|
|
3825
|
+
liveReload?: boolean | undefined;
|
|
3826
|
+
cf?: string | boolean | Record<string, unknown> | undefined;
|
|
3805
3827
|
} | undefined;
|
|
3806
3828
|
files?: {
|
|
3807
3829
|
fetch?: string | false | undefined;
|
|
@@ -4117,6 +4139,8 @@ export declare const configSchema: import("zod").ZodEffects<import("zod").ZodObj
|
|
|
4117
4139
|
httpsCertPath?: string | undefined;
|
|
4118
4140
|
inspectorPort?: number | undefined;
|
|
4119
4141
|
upstream?: string | undefined;
|
|
4142
|
+
liveReload?: boolean | undefined;
|
|
4143
|
+
cf?: string | boolean | Record<string, unknown> | undefined;
|
|
4120
4144
|
} | undefined;
|
|
4121
4145
|
files?: {
|
|
4122
4146
|
fetch?: string | false | undefined;
|
|
@@ -4428,6 +4452,8 @@ export declare const configSchema: import("zod").ZodEffects<import("zod").ZodObj
|
|
|
4428
4452
|
httpsCertPath?: string | undefined;
|
|
4429
4453
|
inspectorPort?: number | undefined;
|
|
4430
4454
|
upstream?: string | undefined;
|
|
4455
|
+
liveReload?: boolean | undefined;
|
|
4456
|
+
cf?: string | boolean | Record<string, unknown> | undefined;
|
|
4431
4457
|
} | undefined;
|
|
4432
4458
|
files?: {
|
|
4433
4459
|
fetch?: string | false | undefined;
|
|
@@ -4743,6 +4769,8 @@ export declare const configSchema: import("zod").ZodEffects<import("zod").ZodObj
|
|
|
4743
4769
|
httpsCertPath?: string | undefined;
|
|
4744
4770
|
inspectorPort?: number | undefined;
|
|
4745
4771
|
upstream?: string | undefined;
|
|
4772
|
+
liveReload?: boolean | undefined;
|
|
4773
|
+
cf?: string | boolean | Record<string, unknown> | undefined;
|
|
4746
4774
|
} | undefined;
|
|
4747
4775
|
files?: {
|
|
4748
4776
|
fetch?: string | false | undefined;
|
|
@@ -5054,6 +5082,8 @@ export declare const configSchema: import("zod").ZodEffects<import("zod").ZodObj
|
|
|
5054
5082
|
httpsCertPath?: string | undefined;
|
|
5055
5083
|
inspectorPort?: number | undefined;
|
|
5056
5084
|
upstream?: string | undefined;
|
|
5085
|
+
liveReload?: boolean | undefined;
|
|
5086
|
+
cf?: string | boolean | Record<string, unknown> | undefined;
|
|
5057
5087
|
} | undefined;
|
|
5058
5088
|
files?: {
|
|
5059
5089
|
fetch?: string | false | undefined;
|
|
@@ -5369,6 +5399,8 @@ export declare const configSchema: import("zod").ZodEffects<import("zod").ZodObj
|
|
|
5369
5399
|
httpsCertPath?: string | undefined;
|
|
5370
5400
|
inspectorPort?: number | undefined;
|
|
5371
5401
|
upstream?: string | undefined;
|
|
5402
|
+
liveReload?: boolean | undefined;
|
|
5403
|
+
cf?: string | boolean | Record<string, unknown> | undefined;
|
|
5372
5404
|
} | undefined;
|
|
5373
5405
|
files?: {
|
|
5374
5406
|
fetch?: string | false | undefined;
|
package/dist/browser.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAA;AAGlC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AAGjC,OAAO,EACN,eAAe,EACf,cAAc,EACd,OAAO,EACP,MAAM,gBAAgB,CAAA;AACvB,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AACnE,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AACzD,YAAY,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AAG1D,OAAO,EACN,aAAa,EACb,uBAAuB,EACvB,KAAK,oBAAoB,EACzB,MAAM,cAAc,CAAA;AAGrB,KAAK,YAAY,GAAG,cAAc,UAAU,CAAC,CAAA;AAM7C,KAAK,uBAAuB,GAAG,qBAAqB,CAAC,YAAY,CAAC,qBAAqB,CAAC,CAAC,CAAA;AACzF,KAAK,yBAAyB,GAAG,qBAAqB,CAAC,YAAY,CAAC,uBA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E,eAAO,MAAM,SAAS,kCAA2D,CAAA;AAEjF,eAAO,MAAM,wBAAwB,uDAER,CAAA;AAC7B,eAAO,MAAM,gCAAgC,uDAER,CAAA;AACrC,eAAO,MAAM,eAAe,8CAC+C,CAAA;AAC3E,eAAO,MAAM,sBAAsB,qDACsD,CAAA;AACzF,eAAO,MAAM,yBAAyB,wDAER,CAAA;AAC9B,eAAO,MAAM,qBAAqB,oDACqD,CAAA;AACvF,eAAO,MAAM,qBAAqB,oDACqD,CAAA;AACvF,eAAO,MAAM,oBAAoB,mDACoD,CAAA;AAErF,eAAO,MAAM,cAAc,0CAC8C,CAAA;AACzE,eAAO,MAAM,wBAAwB,oDAER,CAAA;AAC7B,eAAO,MAAM,YAAY,wCAAuE,CAAA;AAChG,eAAO,MAAM,aAAa,yCAAyE,CAAA;AACnG,eAAO,MAAM,OAAO;;CAAoE,CAAA;AAExF,eAAO,MAAM,iBAAiB,2CAC4C,CAAA;AAC1E,eAAO,MAAM,qBAAqB,+CACgD,CAAA;AAClF,eAAO,MAAM,YAAY,sCAAkE,CAAA;AAC3F,eAAO,MAAM,YAAY,sCAAkE,CAAA;AAC3F,eAAO,MAAM,YAAY,sCAAkE,CAAA;AAC3F,eAAO,MAAM,eAAe,yCAAwE,CAAA;AACpG,eAAO,MAAM,aAAa,uCAAoE,CAAA;AAC9F,eAAO,MAAM,eAAe,yCAAwE,CAAA;AAEpG,OAAO,EAAE,YAAY,IAAI,OAAO,EAAE,MAAM,iBAAiB,CAAA"}
|
package/dist/cli/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as runCli, t as parseArgs } from "../_chunks/cli-
|
|
1
|
+
import { n as runCli, t as parseArgs } from "../_chunks/cli-CGiax_kr.js";
|
|
2
2
|
export { parseArgs, runCli };
|