devflare 1.0.0-next.71 → 1.0.0-next.72
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/_chunks/{account-B9ULT9HA.js → account-BDO0iV1g.js} +6 -6
- package/dist/_chunks/{account-resources-BdKj8q1h.js → account-resources-lDGtm1a-.js} +3 -3
- package/dist/_chunks/{ai-DKDn1iys.js → ai-DXi8oG0j.js} +1 -1
- package/dist/_chunks/{build-B9jQtUny.js → build-BvmYTZbh.js} +2 -2
- package/dist/_chunks/{build-artifacts-C7AbI34o.js → build-artifacts-DgeADGmN.js} +9 -9
- package/dist/_chunks/{cli-CBRR2-Xr.js → cli-0vBCBbJk.js} +20 -20
- package/dist/_chunks/{cloudflare-D_5UWT84.js → cloudflare-D5HiBi_J.js} +6 -6
- package/dist/_chunks/{command-utils-qlsHELwW.js → command-utils-C18AG-BZ.js} +2 -2
- package/dist/_chunks/{compiler-UxXQgEPq.js → compiler-DrqK6YDg.js} +3 -2
- package/dist/_chunks/{config-CHdi5-5R.js → config-BFS8MLAR.js} +2 -2
- package/dist/_chunks/{config-path-DzZbchb6.js → config-path-C6vHY5IS.js} +2 -2
- package/dist/_chunks/{deploy-dIZuouRW.js → deploy-DCvPxHho.js} +11 -11
- package/dist/_chunks/{dev-CRW_hBA3.js → dev-1uoY22Wb.js} +8 -8
- package/dist/_chunks/{doctor-t8hKA53t.js → doctor-DgqL1r9L.js} +5 -5
- package/dist/_chunks/{env-D4uJqqgu.js → env-CYxzNi04.js} +1 -1
- package/dist/_chunks/{family-DHkROYgX.js → family-DZWB5M12.js} +1 -1
- package/dist/_chunks/{generated-artifacts-D_VIzDOi.js → generated-artifacts-CXlcEVQD.js} +1 -1
- package/dist/_chunks/{generated-dir-DC2kM-mt.js → generated-dir-D_PDbut4.js} +1 -1
- package/dist/_chunks/{init-B9_QIZcO.js → init-BdAoVbke.js} +2 -2
- package/dist/_chunks/{loader-BC0skbnH.js → loader-qxiU7lyz.js} +2 -2
- package/dist/_chunks/{login-Ctw59McM.js → login-Biz6pIoO.js} +3 -3
- package/dist/_chunks/{preferences-CbYERA_m.js → preferences-DIYsXPQr.js} +1 -1
- package/dist/_chunks/{preview-registry-CTXU4mBc.js → preview-registry-BvjLLa3M.js} +2 -2
- package/dist/_chunks/{preview-resources-BNvfkfqP.js → preview-resources-BZJIFmKr.js} +3 -3
- package/dist/_chunks/{previews-DXlf8SaQ.js → previews-BvBEY9Bc.js} +8 -8
- package/dist/_chunks/{productions-TkIy7b1Q.js → productions-BIAVWXtc.js} +6 -6
- package/dist/_chunks/{r2-presign-runtime-DlgH_FY8.js → r2-presign-runtime-BztPOxQI.js} +5 -4
- package/dist/_chunks/{remote-DB8SU7ea.js → remote-C14QCfVt.js} +2 -2
- package/dist/_chunks/{resolve-package-DeJUGxoE.js → resolve-package-PjcyjoTH.js} +1 -1
- package/dist/_chunks/{routes-CRXB3-iw.js → routes-B3TM3Rgu.js} +5 -5
- package/dist/_chunks/{runtime-BlKTWIgD.js → runtime-B0Pn8QmS.js} +1 -1
- package/dist/_chunks/{secrets-CzSWX4-i.js → secrets-C7FYuA_a.js} +1 -1
- package/dist/_chunks/{tail-DXKaqcPB.js → tail-CrsSEc_b.js} +4 -4
- package/dist/_chunks/{token-CEIRtse8.js → token-Bta9WIhM.js} +4 -4
- package/dist/_chunks/{tokens-CE7-gV5E.js → tokens-BfXPnZMg.js} +1 -1
- package/dist/_chunks/{types-BB15NBqw.js → types-D9rjIMXo.js} +6 -6
- package/dist/_chunks/{ui-BhCdDC2N.js → ui-Dze2DlVA.js} +1 -1
- package/dist/_chunks/{usage-rRusKejc.js → usage-ClDTnCXv.js} +2 -2
- package/dist/_chunks/{vite-DTz2Pbtm.js → vite-SAm8Lrk4.js} +13 -15
- package/dist/_chunks/{vite-process-BhGXJ764.js → vite-process-DbK7Bxj6.js} +12 -11
- package/dist/_chunks/{worker-CgIvLp-D.js → worker-qjQ6KwfE.js} +5 -5
- package/dist/_chunks/{workspace-CbollZBv.js → workspace-SbZraVfB.js} +10 -10
- package/dist/browser.js +4 -4
- package/dist/cli/index.js +1 -1
- package/dist/cloudflare/index.js +3 -3
- package/dist/config/compiler/paths.d.ts.map +1 -1
- package/dist/decorators/index.js +1 -1
- package/dist/dev-server/miniflare-dev-config.d.ts.map +1 -1
- package/dist/dev-server/server-startup-helpers.d.ts.map +1 -1
- package/dist/dev-server/workspace/server.d.ts.map +1 -1
- package/dist/index.js +6 -6
- package/dist/runtime/index.js +3 -3
- package/dist/sveltekit/index.js +5 -5
- package/dist/test/index.js +14 -14
- package/dist/vite/index.js +1 -1
- package/dist/vite/plugin-context.d.ts.map +1 -1
- package/dist/vite/plugin.d.ts.map +1 -1
- package/dist/workflows/local-workflow-entrypoints.d.ts.map +1 -1
- package/package.json +1 -1
- /package/dist/_chunks/{api-BKClUlUf.js → api-CnbxqDGv.js} +0 -0
- /package/dist/_chunks/{colors-D0NVzAFN.js → colors-B4j4tpoY.js} +0 -0
- /package/dist/_chunks/{context-DGMev2AF.js → context-DyDqdKZg.js} +0 -0
- /package/dist/_chunks/{decorators-eXNZ1S0N.js → decorators-B5q1aEuS.js} +0 -0
- /package/dist/_chunks/{durable-object-DuMPM8re.js → durable-object-gUEh9PeX.js} +0 -0
- /package/dist/_chunks/{glob-DRw9sbfF.js → glob-B5IUR-je.js} +0 -0
- /package/dist/_chunks/{local-hyperdrive-CcORzo76.js → local-hyperdrive-HiKIIWiL.js} +0 -0
- /package/dist/_chunks/{local-media-bindings-ZQe-epuw.js → local-media-bindings-nDoFyvYK.js} +0 -0
- /package/dist/_chunks/{local-secrets-C0n5oRgI.js → local-secrets-BiNPg4Jj.js} +0 -0
- /package/dist/_chunks/{package-metadata-CLI488gB.js → package-metadata-DXnpoRoy.js} +0 -0
- /package/dist/_chunks/{remote-config-Bw6qIVM4.js → remote-config-BidXMh4p.js} +0 -0
- /package/dist/_chunks/{worker-bundler-CeMqQtBQ.js → worker-bundler-BEQgr0we.js} +0 -0
- /package/dist/_chunks/{worker-entrypoint-C8j23t6d.js → worker-entrypoint-DmtFT4YJ.js} +0 -0
- /package/dist/_chunks/{workerName-kEXwmV2m.js → workerName-DArKKFNW.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as CloudflareAPIError, t as AuthenticationError } from "./api-
|
|
2
|
-
import { a as setGlobalDefaultAccountId, i as getWorkspaceAccountId, o as setWorkspaceAccountId, r as getGlobalDefaultAccountId } from "./preferences-
|
|
3
|
-
import { t as account } from "./cloudflare-
|
|
4
|
-
import { a as DIM, c as RESET, i as CYAN_BOLD, r as CYAN } from "./colors-
|
|
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-
|
|
6
|
-
import { n as getConfiguredAccountId } from "./command-utils-
|
|
1
|
+
import { n as CloudflareAPIError, t as AuthenticationError } from "./api-CnbxqDGv.js";
|
|
2
|
+
import { a as setGlobalDefaultAccountId, i as getWorkspaceAccountId, o as setWorkspaceAccountId, r as getGlobalDefaultAccountId } from "./preferences-DIYsXPQr.js";
|
|
3
|
+
import { t as account } from "./cloudflare-D5HiBi_J.js";
|
|
4
|
+
import { a as DIM, c as RESET, i as CYAN_BOLD, r as CYAN } from "./colors-B4j4tpoY.js";
|
|
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-Dze2DlVA.js";
|
|
6
|
+
import { n as getConfiguredAccountId } from "./command-utils-C18AG-BZ.js";
|
|
7
7
|
//#region src/cli/commands/account.ts
|
|
8
8
|
const ACCOUNT_SUBCOMMANDS = [
|
|
9
9
|
"info",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as apiGetAll, n as CloudflareAPIError, r as apiDelete, s as apiPost } from "./api-
|
|
1
|
+
import { a as apiGetAll, n as CloudflareAPIError, r as apiDelete, s as apiPost } from "./api-CnbxqDGv.js";
|
|
2
2
|
//#region src/cloudflare/account-resources.ts
|
|
3
3
|
async function listKVNamespaces(accountId, options) {
|
|
4
4
|
return (await apiGetAll(`/accounts/${accountId}/storage/kv/namespaces`, options)).map((namespace) => ({
|
|
@@ -43,11 +43,11 @@ async function deleteD1Database(accountId, databaseId, options) {
|
|
|
43
43
|
await apiDelete(`/accounts/${accountId}/d1/database/${encodeURIComponent(databaseId)}`, options);
|
|
44
44
|
}
|
|
45
45
|
async function queryD1Database(accountId, databaseId, query, options) {
|
|
46
|
-
const { apiPost } = await import("./api-
|
|
46
|
+
const { apiPost } = await import("./api-CnbxqDGv.js").then((n) => n.l);
|
|
47
47
|
return apiPost(`/accounts/${accountId}/d1/database/${databaseId}/query`, query, options);
|
|
48
48
|
}
|
|
49
49
|
async function rawD1DatabaseQuery(accountId, databaseId, query, options) {
|
|
50
|
-
const { apiPost } = await import("./api-
|
|
50
|
+
const { apiPost } = await import("./api-CnbxqDGv.js").then((n) => n.l);
|
|
51
51
|
return apiPost(`/accounts/${accountId}/d1/database/${databaseId}/raw`, query, options);
|
|
52
52
|
}
|
|
53
53
|
async function listQueues(accountId, options) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as DIM, c as RESET, l as WHITE, n as BOLD, t as BG_BLUE } from "./colors-
|
|
1
|
+
import { a as DIM, c as RESET, l as WHITE, n as BOLD, t as BG_BLUE } from "./colors-B4j4tpoY.js";
|
|
2
2
|
//#region src/cloudflare/pricing.ts
|
|
3
3
|
/** Cloudflare Workers AI pricing documentation URL */
|
|
4
4
|
const PRICING_DOCS_URL = "https://developers.cloudflare.com/workers-ai/platform/pricing/";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as cyanBold, f as logLine, o as dim, r as createCliTheme } from "./ui-
|
|
2
|
-
import { t as prepareBuildArtifacts } from "./build-artifacts-
|
|
1
|
+
import { a as cyanBold, f as logLine, o as dim, r as createCliTheme } from "./ui-Dze2DlVA.js";
|
|
2
|
+
import { t as prepareBuildArtifacts } from "./build-artifacts-DgeADGmN.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,15 +1,15 @@
|
|
|
1
1
|
import { d as resolveConfigEnvVars } from "./preview-j9Kbx4-G.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-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { t as
|
|
2
|
+
import { r as loadConfig, u as resolveConfigForEnvironment } from "./loader-qxiU7lyz.js";
|
|
3
|
+
import { c as writeWranglerConfig, i as isolateViteBuildOutputPaths$1, o as rebaseWranglerConfigPaths, t as compileBuildConfig } from "./compiler-DrqK6YDg.js";
|
|
4
|
+
import { t as generatedDir } from "./generated-dir-D_PDbut4.js";
|
|
5
|
+
import { f as logLine } from "./ui-Dze2DlVA.js";
|
|
6
|
+
import { n as getPackageVersion } from "./package-metadata-DXnpoRoy.js";
|
|
7
|
+
import { t as resolvePackageSpecifier } from "./resolve-package-PjcyjoTH.js";
|
|
8
|
+
import { i as writeGeneratedViteConfig, l as prepareComposedWorkerEntrypoint, n as resolveEffectiveViteProject } from "./vite-SAm8Lrk4.js";
|
|
9
|
+
import { t as bundleWorkerEntry } from "./worker-bundler-BEQgr0we.js";
|
|
10
10
|
import { t as detectViteProject } from "./vite-utils-D_VR07Ks.js";
|
|
11
11
|
import { t as getDependencies } from "./dependencies-HLIhxbIe.js";
|
|
12
|
-
import { n as getGeneratedArtifactPaths, t as ensureGeneratedDirectory } from "./generated-artifacts-
|
|
12
|
+
import { n as getGeneratedArtifactPaths, t as ensureGeneratedDirectory } from "./generated-artifacts-CXlcEVQD.js";
|
|
13
13
|
import { dirname, relative, resolve } from "pathe";
|
|
14
14
|
import { readFile, writeFile } from "node:fs/promises";
|
|
15
15
|
import { createHash } from "node:crypto";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as cyanBold, c as formatCommand, f as logLine, i as cyan, o as dim, r as createCliTheme, s as formatBullet, t as accent } from "./ui-
|
|
2
|
-
import { n as getPackageVersion } from "./package-metadata-
|
|
1
|
+
import { a as cyanBold, c as formatCommand, f as logLine, i as cyan, o as dim, r as createCliTheme, s as formatBullet, t as accent } from "./ui-Dze2DlVA.js";
|
|
2
|
+
import { n as getPackageVersion } from "./package-metadata-DXnpoRoy.js";
|
|
3
3
|
import { dirname, join } from "pathe";
|
|
4
4
|
import { readFile, readdir, stat } from "node:fs/promises";
|
|
5
5
|
import { createConsola } from "consola";
|
|
@@ -1136,78 +1136,78 @@ async function runCli(argv, options = {}) {
|
|
|
1136
1136
|
}
|
|
1137
1137
|
}
|
|
1138
1138
|
async function runInit(parsed, logger, options) {
|
|
1139
|
-
const { runInitCommand } = await import("./init-
|
|
1139
|
+
const { runInitCommand } = await import("./init-BdAoVbke.js");
|
|
1140
1140
|
return runInitCommand(parsed, logger, options);
|
|
1141
1141
|
}
|
|
1142
1142
|
async function runDev(parsed, logger, options) {
|
|
1143
|
-
const { runDevCommand } = await import("./dev-
|
|
1143
|
+
const { runDevCommand } = await import("./dev-1uoY22Wb.js");
|
|
1144
1144
|
return runDevCommand(parsed, logger, options);
|
|
1145
1145
|
}
|
|
1146
1146
|
async function runWorkspace(parsed, logger, options) {
|
|
1147
|
-
const { runWorkspaceCommand } = await import("./workspace-
|
|
1147
|
+
const { runWorkspaceCommand } = await import("./workspace-SbZraVfB.js");
|
|
1148
1148
|
return runWorkspaceCommand(parsed, logger, options);
|
|
1149
1149
|
}
|
|
1150
1150
|
async function runBuild(parsed, logger, options) {
|
|
1151
|
-
const { runBuildCommand } = await import("./build-
|
|
1151
|
+
const { runBuildCommand } = await import("./build-BvmYTZbh.js");
|
|
1152
1152
|
return runBuildCommand(parsed, logger, options);
|
|
1153
1153
|
}
|
|
1154
1154
|
async function runDeploy(parsed, logger, options) {
|
|
1155
|
-
const { runDeployCommand } = await import("./deploy-
|
|
1155
|
+
const { runDeployCommand } = await import("./deploy-DCvPxHho.js");
|
|
1156
1156
|
return runDeployCommand(parsed, logger, {
|
|
1157
1157
|
...options,
|
|
1158
1158
|
requireExplicitDeployTarget: true
|
|
1159
1159
|
});
|
|
1160
1160
|
}
|
|
1161
1161
|
async function runTypes(parsed, logger, options) {
|
|
1162
|
-
const { runTypesCommand } = await import("./types-
|
|
1162
|
+
const { runTypesCommand } = await import("./types-D9rjIMXo.js");
|
|
1163
1163
|
return runTypesCommand(parsed, logger, options);
|
|
1164
1164
|
}
|
|
1165
1165
|
async function runDoctor(parsed, logger, options) {
|
|
1166
|
-
const { runDoctorCommand } = await import("./doctor-
|
|
1166
|
+
const { runDoctorCommand } = await import("./doctor-DgqL1r9L.js");
|
|
1167
1167
|
return runDoctorCommand(parsed, logger, options);
|
|
1168
1168
|
}
|
|
1169
1169
|
async function runConfig(parsed, logger, options) {
|
|
1170
|
-
const { runConfigCommand } = await import("./config-
|
|
1170
|
+
const { runConfigCommand } = await import("./config-BFS8MLAR.js");
|
|
1171
1171
|
return runConfigCommand(parsed, logger, options);
|
|
1172
1172
|
}
|
|
1173
1173
|
async function runAccount(parsed, logger, options) {
|
|
1174
|
-
const { runAccountCommand } = await import("./account-
|
|
1174
|
+
const { runAccountCommand } = await import("./account-BDO0iV1g.js");
|
|
1175
1175
|
return runAccountCommand(parsed, logger, options);
|
|
1176
1176
|
}
|
|
1177
1177
|
async function runLogin(parsed, logger, options) {
|
|
1178
|
-
const { runLoginCommand } = await import("./login-
|
|
1178
|
+
const { runLoginCommand } = await import("./login-Biz6pIoO.js");
|
|
1179
1179
|
return runLoginCommand(parsed, logger, options);
|
|
1180
1180
|
}
|
|
1181
1181
|
async function runPreviews(parsed, logger, options) {
|
|
1182
|
-
const { runPreviewsCommand } = await import("./previews-
|
|
1182
|
+
const { runPreviewsCommand } = await import("./previews-BvBEY9Bc.js");
|
|
1183
1183
|
return runPreviewsCommand(parsed, logger, options);
|
|
1184
1184
|
}
|
|
1185
1185
|
async function runProductions(parsed, logger, options) {
|
|
1186
|
-
const { runProductionsCommand } = await import("./productions-
|
|
1186
|
+
const { runProductionsCommand } = await import("./productions-BIAVWXtc.js");
|
|
1187
1187
|
return runProductionsCommand(parsed, logger, options);
|
|
1188
1188
|
}
|
|
1189
1189
|
async function runWorker(parsed, logger, options) {
|
|
1190
|
-
const { runWorkerCommand } = await import("./worker-
|
|
1190
|
+
const { runWorkerCommand } = await import("./worker-qjQ6KwfE.js");
|
|
1191
1191
|
return runWorkerCommand(parsed, logger, options);
|
|
1192
1192
|
}
|
|
1193
1193
|
async function runToken(parsed, logger, options) {
|
|
1194
|
-
const { runTokenCommand } = await import("./token-
|
|
1194
|
+
const { runTokenCommand } = await import("./token-Bta9WIhM.js");
|
|
1195
1195
|
return runTokenCommand(parsed, logger, options);
|
|
1196
1196
|
}
|
|
1197
1197
|
async function runSecrets(parsed, logger, options) {
|
|
1198
|
-
const { runSecretsCommand } = await import("./secrets-
|
|
1198
|
+
const { runSecretsCommand } = await import("./secrets-C7FYuA_a.js");
|
|
1199
1199
|
return runSecretsCommand(parsed, logger, options);
|
|
1200
1200
|
}
|
|
1201
1201
|
async function runTail(parsed, logger, options) {
|
|
1202
|
-
const { runTailCommand } = await import("./tail-
|
|
1202
|
+
const { runTailCommand } = await import("./tail-CrsSEc_b.js");
|
|
1203
1203
|
return runTailCommand(parsed, logger, options);
|
|
1204
1204
|
}
|
|
1205
1205
|
async function runAI() {
|
|
1206
|
-
const { runAICommand } = await import("./ai-
|
|
1206
|
+
const { runAICommand } = await import("./ai-DXi8oG0j.js");
|
|
1207
1207
|
return runAICommand();
|
|
1208
1208
|
}
|
|
1209
1209
|
async function runRemote(parsed, logger, options) {
|
|
1210
|
-
const { runRemoteCommand } = await import("./remote-
|
|
1210
|
+
const { runRemoteCommand } = await import("./remote-C14QCfVt.js");
|
|
1211
1211
|
return runRemoteCommand(parsed, logger, options);
|
|
1212
1212
|
}
|
|
1213
1213
|
//#endregion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { g as isAuthenticated, h as hasWranglerConfig, m as getWranglerAuth, p as getApiToken } from "./api-
|
|
2
|
-
import { a as setGlobalDefaultAccountId, d as getPrimaryAccount, i as getWorkspaceAccountId, l as getAccountById, n as getEffectiveAccountId, o as setWorkspaceAccountId, r as getGlobalDefaultAccountId, t as clearGlobalDefaultAccountId, u as getAccounts } from "./preferences-
|
|
3
|
-
import { C as deleteWorker, D as listWorkerVersions, E as listWorkerDeployments, O as listWorkers, S as DEVFLARE_PREVIEW_REGISTRY_DATABASE, T as getWorkersSubdomain, a as listTrackedPreviewRecords, c as reconcilePreviewRegistry, i as listTrackedDeploymentRecords, k as renameWorker, l as retirePreviewRegistry, n as ensurePreviewRegistry, o as listTrackedPreviewScopeRecords, r as getPreviewRegistryContext, s as listTrackedRegistryState, t as cleanupPreviewRegistry, w as getWorkerVersionDetail } from "./preview-registry-
|
|
4
|
-
import { _ as listR2Buckets, b as rawD1DatabaseQuery, f as listAIModels, h as listKVNamespaces, m as listHyperdrives, p as listD1Databases, t as createD1Database, v as listVectorizeIndexes, y as queryD1Database } from "./account-resources-
|
|
5
|
-
import { a as getUsageSummary, c as recordUsage, d as setLimitsEnabled, f as shouldSkip, i as getUsage, l as resetUsage, n as getAllUsageSummaries, o as isWithinLimits, r as getLimits, s as recordTestUsage, t as canProceedWithTest, u as setLimits } from "./usage-
|
|
6
|
-
import { a as listAccountTokenPermissionGroups, i as listAccountOwnedAPITokens, n as deleteAccountOwnedAPIToken, o as normalizeDevflareTokenName, t as createAccountOwnedAPIToken } from "./tokens-
|
|
1
|
+
import { g as isAuthenticated, h as hasWranglerConfig, m as getWranglerAuth, p as getApiToken } from "./api-CnbxqDGv.js";
|
|
2
|
+
import { a as setGlobalDefaultAccountId, d as getPrimaryAccount, i as getWorkspaceAccountId, l as getAccountById, n as getEffectiveAccountId, o as setWorkspaceAccountId, r as getGlobalDefaultAccountId, t as clearGlobalDefaultAccountId, u as getAccounts } from "./preferences-DIYsXPQr.js";
|
|
3
|
+
import { C as deleteWorker, D as listWorkerVersions, E as listWorkerDeployments, O as listWorkers, S as DEVFLARE_PREVIEW_REGISTRY_DATABASE, T as getWorkersSubdomain, a as listTrackedPreviewRecords, c as reconcilePreviewRegistry, i as listTrackedDeploymentRecords, k as renameWorker, l as retirePreviewRegistry, n as ensurePreviewRegistry, o as listTrackedPreviewScopeRecords, r as getPreviewRegistryContext, s as listTrackedRegistryState, t as cleanupPreviewRegistry, w as getWorkerVersionDetail } from "./preview-registry-BvjLLa3M.js";
|
|
4
|
+
import { _ as listR2Buckets, b as rawD1DatabaseQuery, f as listAIModels, h as listKVNamespaces, m as listHyperdrives, p as listD1Databases, t as createD1Database, v as listVectorizeIndexes, y as queryD1Database } from "./account-resources-lDGtm1a-.js";
|
|
5
|
+
import { a as getUsageSummary, c as recordUsage, d as setLimitsEnabled, f as shouldSkip, i as getUsage, l as resetUsage, n as getAllUsageSummaries, o as isWithinLimits, r as getLimits, s as recordTestUsage, t as canProceedWithTest, u as setLimits } from "./usage-ClDTnCXv.js";
|
|
6
|
+
import { a as listAccountTokenPermissionGroups, i as listAccountOwnedAPITokens, n as deleteAccountOwnedAPIToken, o as normalizeDevflareTokenName, t as createAccountOwnedAPIToken } from "./tokens-BfXPnZMg.js";
|
|
7
7
|
//#region src/cloudflare/account-status.ts
|
|
8
8
|
const SERVICE_STATUS_TIMEOUT_MS = 1e4;
|
|
9
9
|
const serviceInventoryFetchers = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as resolveConfigPath, r as loadConfig } from "./loader-
|
|
2
|
-
import { d as getPrimaryAccount, i as getWorkspaceAccountId, n as getEffectiveAccountId } from "./preferences-
|
|
1
|
+
import { i as resolveConfigPath, r as loadConfig } from "./loader-qxiU7lyz.js";
|
|
2
|
+
import { d as getPrimaryAccount, i as getWorkspaceAccountId, n as getEffectiveAccountId } from "./preferences-DIYsXPQr.js";
|
|
3
3
|
//#region src/cli/command-utils.ts
|
|
4
4
|
function asOptionalString(value) {
|
|
5
5
|
return typeof value === "string" && value.trim() ? value.trim() : void 0;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { p as normalizeCompatibilityFlags, u as resolveConfigForEnvironment } from "./loader-
|
|
1
|
+
import { p as normalizeCompatibilityFlags, u as resolveConfigForEnvironment } from "./loader-qxiU7lyz.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-CTdiY17P.js";
|
|
3
3
|
import { n as toWranglerSecretsConfig } from "./local-dev-vars-BFLS-HoI.js";
|
|
4
|
+
import { t as generatedDir } from "./generated-dir-D_PDbut4.js";
|
|
4
5
|
import { basename, isAbsolute, relative, resolve } from "pathe";
|
|
5
6
|
//#region src/config/compiler/bindings.ts
|
|
6
7
|
function getWranglerD1DatabaseBinding(bindingName, bindingConfig, options = {}) {
|
|
@@ -350,7 +351,7 @@ function pathIsInsideDirectory(directoryPath, candidatePath) {
|
|
|
350
351
|
function isolateViteBuildOutputPaths(projectRoot, config) {
|
|
351
352
|
const assetsDirectory = config.assets?.directory;
|
|
352
353
|
if (!assetsDirectory) return config;
|
|
353
|
-
const isolatedAssetsDirectoryPath =
|
|
354
|
+
const isolatedAssetsDirectoryPath = generatedDir(projectRoot, "vite-build-output", basename(assetsDirectory));
|
|
354
355
|
const isolatedAssetsDirectory = relative(projectRoot, isolatedAssetsDirectoryPath).replace(/\\/g, "/");
|
|
355
356
|
const isolatedConfig = {
|
|
356
357
|
...config,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as resolveConfigEnvVars } from "./preview-j9Kbx4-G.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-qxiU7lyz.js";
|
|
3
|
+
import { n as compileConfig, t as compileBuildConfig } from "./compiler-DrqK6YDg.js";
|
|
4
4
|
//#region src/cli/commands/config.ts
|
|
5
5
|
function isSupportedFormat(value) {
|
|
6
6
|
return value === "devflare" || value === "wrangler";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as resolveConfigPath } from "./loader-
|
|
2
|
-
import { i as findFiles } from "./glob-
|
|
1
|
+
import { i as resolveConfigPath } from "./loader-qxiU7lyz.js";
|
|
2
|
+
import { i as findFiles } from "./glob-B5IUR-je.js";
|
|
3
3
|
import { stat } from "node:fs/promises";
|
|
4
4
|
//#region src/cli/config-path.ts
|
|
5
5
|
const CONFIG_FILE_EXTENSIONS = [
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { a as resolvePreviewIdentifier, d as resolveConfigEnvVars } from "./preview-j9Kbx4-G.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-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as asOptionalString } from "./command-utils-
|
|
11
|
-
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-
|
|
2
|
+
import { c as prepareConfigResourcesForDeploy, r as loadConfig, u as resolveConfigForEnvironment } from "./loader-qxiU7lyz.js";
|
|
3
|
+
import { a as readWranglerConfig, c as writeWranglerConfig, n as compileConfig, o as rebaseWranglerConfigPaths, s as stringifyConfig, t as compileBuildConfig } from "./compiler-DrqK6YDg.js";
|
|
4
|
+
import { t as generatedDir } from "./generated-dir-D_PDbut4.js";
|
|
5
|
+
import { d as getPrimaryAccount, n as getEffectiveAccountId } from "./preferences-DIYsXPQr.js";
|
|
6
|
+
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-BvjLLa3M.js";
|
|
7
|
+
import { _ as yellowBold, d as green, f as logLine, g as yellow, o as dim, r as createCliTheme } from "./ui-Dze2DlVA.js";
|
|
8
|
+
import { n as getPackageVersion } from "./package-metadata-DXnpoRoy.js";
|
|
9
|
+
import { t as resolvePackageSpecifier } from "./resolve-package-PjcyjoTH.js";
|
|
10
|
+
import { t as asOptionalString } from "./command-utils-C18AG-BZ.js";
|
|
11
|
+
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-DgeADGmN.js";
|
|
12
12
|
import { t as getDependencies } from "./dependencies-HLIhxbIe.js";
|
|
13
|
-
import { n as preparePreviewScopedResourcesForDeploy } from "./preview-resources-
|
|
13
|
+
import { n as preparePreviewScopedResourcesForDeploy } from "./preview-resources-BZJIFmKr.js";
|
|
14
14
|
import { basename, dirname, isAbsolute, join, resolve } from "pathe";
|
|
15
15
|
import { mkdir, open, readFile, rm, writeFile } from "node:fs/promises";
|
|
16
16
|
//#region src/config/service-bindings-validation.ts
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { c as getDevflareDotenvPaths, d as resolveConfigEnvVars, o as EnvVarResolutionError } from "./preview-j9Kbx4-G.js";
|
|
2
|
-
import { r as loadConfig } from "./loader-
|
|
2
|
+
import { r as loadConfig } from "./loader-qxiU7lyz.js";
|
|
3
3
|
import { t as applyLocalDevVarsToConfig } from "./local-dev-vars-BFLS-HoI.js";
|
|
4
|
-
import {
|
|
4
|
+
import { t as generatedDir } from "./generated-dir-D_PDbut4.js";
|
|
5
|
+
import { a as cyanBold, f as logLine, g as yellow, o as dim, r as createCliTheme } from "./ui-Dze2DlVA.js";
|
|
5
6
|
import { clearLocalSendEmailBindings, setLocalSendEmailBindings } from "../utils/send-email.js";
|
|
6
|
-
import { s as resolveServiceBindings, t as discoverRoutes } from "./routes-
|
|
7
|
-
import { l as prepareComposedWorkerEntrypoint, m as hasWorkerSurfacePaths, n as resolveEffectiveViteProject } from "./vite-
|
|
8
|
-
import { t as bundleWorkerEntry } from "./worker-bundler-
|
|
9
|
-
import { _ as createMiniflareLog, a as logWorkerHandlerDetection, c as resolveViteIntegration, d as createRuntimeStdioForwarder, f as buildMiniflareDevConfig, g as runD1Migrations, h as resolveMainWorkerSurfacePaths, i as logRemoteBindingRequirements, l as resolveWorkerConfigWatchPath, m as collectWorkerWatchRoots, n as logMiniflareBindingDiagnostics, o as maybeStartBrowserShim, p as resolveR2PresignOrigin, r as logMiniflareConfigDiagnostics, s as maybeStartDOBundler, t as startViteProcess } from "./vite-process-
|
|
10
|
-
import { n as bundleWorkflowEntrypointScript } from "./r2-presign-runtime-
|
|
11
|
-
import { t as generatedDir } from "./generated-dir-DC2kM-mt.js";
|
|
7
|
+
import { s as resolveServiceBindings, t as discoverRoutes } from "./routes-B3TM3Rgu.js";
|
|
8
|
+
import { l as prepareComposedWorkerEntrypoint, m as hasWorkerSurfacePaths, n as resolveEffectiveViteProject } from "./vite-SAm8Lrk4.js";
|
|
9
|
+
import { t as bundleWorkerEntry } from "./worker-bundler-BEQgr0we.js";
|
|
10
|
+
import { _ as createMiniflareLog, a as logWorkerHandlerDetection, c as resolveViteIntegration, d as createRuntimeStdioForwarder, f as buildMiniflareDevConfig, g as runD1Migrations, h as resolveMainWorkerSurfacePaths, i as logRemoteBindingRequirements, l as resolveWorkerConfigWatchPath, m as collectWorkerWatchRoots, n as logMiniflareBindingDiagnostics, o as maybeStartBrowserShim, p as resolveR2PresignOrigin, r as logMiniflareConfigDiagnostics, s as maybeStartDOBundler, t as startViteProcess } from "./vite-process-DbK7Bxj6.js";
|
|
11
|
+
import { n as bundleWorkflowEntrypointScript } from "./r2-presign-runtime-BztPOxQI.js";
|
|
12
12
|
import { r as stopSpawnedProcessTree, t as detectViteProject } from "./vite-utils-D_VR07Ks.js";
|
|
13
13
|
import { dirname, relative, resolve } from "pathe";
|
|
14
14
|
import { exec } from "node:child_process";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { r as loadConfig } from "./loader-
|
|
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-
|
|
3
|
-
import { n as getPackageVersion } from "./package-metadata-
|
|
1
|
+
import { r as loadConfig } from "./loader-qxiU7lyz.js";
|
|
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-Dze2DlVA.js";
|
|
3
|
+
import { n as getPackageVersion } from "./package-metadata-DXnpoRoy.js";
|
|
4
4
|
import { t as detectViteProject } from "./vite-utils-D_VR07Ks.js";
|
|
5
5
|
import { t as getDependencies } from "./dependencies-HLIhxbIe.js";
|
|
6
|
-
import { n as getGeneratedArtifactPaths } from "./generated-artifacts-
|
|
7
|
-
import { n as formatSupportedConfigFilenames, r as resolveConfigCandidatePath } from "./config-path-
|
|
6
|
+
import { n as getGeneratedArtifactPaths } from "./generated-artifacts-CXlcEVQD.js";
|
|
7
|
+
import { n as formatSupportedConfigFilenames, r as resolveConfigCandidatePath } from "./config-path-C6vHY5IS.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-qxiU7lyz.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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as cyanBold, d as green, f as logLine, o as dim, r as createCliTheme } from "./ui-
|
|
2
|
-
import { t as getInitDependencyVersions } from "./package-metadata-
|
|
1
|
+
import { a as cyanBold, d as green, f as logLine, o as dim, r as createCliTheme } from "./ui-Dze2DlVA.js";
|
|
2
|
+
import { t as getInitDependencyVersions } from "./package-metadata-DXnpoRoy.js";
|
|
3
3
|
import { t as getDependencies } from "./dependencies-HLIhxbIe.js";
|
|
4
4
|
import { join, resolve } from "pathe";
|
|
5
5
|
//#region src/cli/commands/init.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { l as isEnvVarDescriptor, n as materializePreviewScopedConfig, u as loadDevflareDotenvIntoProcess } from "./preview-j9Kbx4-G.js";
|
|
2
2
|
import { S as bindingsSchema, a as normalizeD1Binding, d as normalizeKVBinding, g as normalizeR2Binding, h as normalizeQueueProducer, l as normalizeHyperdriveBinding, n as getLocalKVNamespaceIdentifier, t as getLocalD1DatabaseIdentifier } from "./schema-normalization-CTdiY17P.js";
|
|
3
|
-
import { d as getPrimaryAccount, n as getEffectiveAccountId } from "./preferences-
|
|
4
|
-
import { _ as listR2Buckets, g as listQueues, h as listKVNamespaces, i as createR2Bucket, m as listHyperdrives, n as createKVNamespace, p as listD1Databases, r as createQueue, t as createD1Database, v as listVectorizeIndexes } from "./account-resources-
|
|
3
|
+
import { d as getPrimaryAccount, n as getEffectiveAccountId } from "./preferences-DIYsXPQr.js";
|
|
4
|
+
import { _ as listR2Buckets, g as listQueues, h as listKVNamespaces, i as createR2Bucket, m as listHyperdrives, n as createKVNamespace, p as listD1Databases, r as createQueue, t as createD1Database, v as listVectorizeIndexes } from "./account-resources-lDGtm1a-.js";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
import { existsSync } from "node:fs";
|
|
7
7
|
import { dirname, join, resolve } from "pathe";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as account } from "./cloudflare-
|
|
2
|
-
import { d as green, f as logLine, g as yellow, h as whiteDim, o as dim, r as createCliTheme } from "./ui-
|
|
3
|
-
import { n as getConfiguredAccountId } from "./command-utils-
|
|
1
|
+
import { t as account } from "./cloudflare-D5HiBi_J.js";
|
|
2
|
+
import { d as green, f as logLine, g as yellow, h as whiteDim, o as dim, r as createCliTheme } from "./ui-Dze2DlVA.js";
|
|
3
|
+
import { n as getConfiguredAccountId } from "./command-utils-C18AG-BZ.js";
|
|
4
4
|
import { t as getDependencies } from "./dependencies-HLIhxbIe.js";
|
|
5
5
|
//#region src/cli/commands/login.ts
|
|
6
6
|
async function logResolvedAccount(cwd, logger, theme) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as apiGetAll, d as kvGet, f as kvPut, i as apiGet, s as apiPost, u as kvDelete } from "./api-
|
|
1
|
+
import { a as apiGetAll, d as kvGet, f as kvPut, i as apiGet, s as apiPost, u as kvDelete } from "./api-CnbxqDGv.js";
|
|
2
2
|
import { existsSync, mkdirSync, readFileSync, renameSync, unlinkSync, writeFileSync } from "node:fs";
|
|
3
3
|
import { homedir } from "node:os";
|
|
4
4
|
import { join } from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as apiGetAll, i as apiGet, n as CloudflareAPIError, o as apiPatch, r as apiDelete } from "./api-
|
|
2
|
-
import { p as listD1Databases, t as createD1Database, y as queryD1Database } from "./account-resources-
|
|
1
|
+
import { a as apiGetAll, i as apiGet, n as CloudflareAPIError, o as apiPatch, r as apiDelete } from "./api-CnbxqDGv.js";
|
|
2
|
+
import { p as listD1Databases, t as createD1Database, y as queryD1Database } from "./account-resources-lDGtm1a-.js";
|
|
3
3
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
4
4
|
import { homedir } from "node:os";
|
|
5
5
|
import { join } from "node:path";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as materializePreviewScopedConfig, r as materializePreviewScopedString, t as isPreviewScopedName } from "./preview-j9Kbx4-G.js";
|
|
2
|
-
import { l as mergeConfigForEnvironment } from "./loader-
|
|
2
|
+
import { l as mergeConfigForEnvironment } from "./loader-qxiU7lyz.js";
|
|
3
3
|
import { g as normalizeR2Binding, h as normalizeQueueProducer } from "./schema-normalization-CTdiY17P.js";
|
|
4
|
-
import { d as getPrimaryAccount, n as getEffectiveAccountId } from "./preferences-
|
|
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-
|
|
4
|
+
import { d as getPrimaryAccount, n as getEffectiveAccountId } from "./preferences-DIYsXPQr.js";
|
|
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-lDGtm1a-.js";
|
|
6
6
|
//#region src/config/preview-resources.ts
|
|
7
7
|
const defaultPreviewScopedResourceLifecycleApi = {
|
|
8
8
|
getPrimaryAccount,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { a as resolvePreviewIdentifier } from "./preview-j9Kbx4-G.js";
|
|
2
|
-
import { i as resolveConfigPath, o as loadResolvedConfig, r as loadConfig, t as ConfigNotFoundError } from "./loader-
|
|
3
|
-
import { t as compileBuildConfig } from "./compiler-
|
|
4
|
-
import { t as account } from "./cloudflare-
|
|
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-
|
|
6
|
-
import { i as resolveNamedSelection, r as resolveCloudflareAccountId, t as asOptionalString } from "./command-utils-
|
|
2
|
+
import { i as resolveConfigPath, o as loadResolvedConfig, r as loadConfig, t as ConfigNotFoundError } from "./loader-qxiU7lyz.js";
|
|
3
|
+
import { t as compileBuildConfig } from "./compiler-DrqK6YDg.js";
|
|
4
|
+
import { t as account } from "./cloudflare-D5HiBi_J.js";
|
|
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-Dze2DlVA.js";
|
|
6
|
+
import { i as resolveNamedSelection, r as resolveCloudflareAccountId, t as asOptionalString } from "./command-utils-C18AG-BZ.js";
|
|
7
7
|
import { t as getDependencies } from "./dependencies-HLIhxbIe.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-BZJIFmKr.js";
|
|
9
|
+
import { t as findConfigPathsUnderDirectory } from "./config-path-C6vHY5IS.js";
|
|
10
|
+
import { a as orderPreviewWorkerNamesForDeletion, i as collectConfiguredWorkerFamilies, n as buildPreviewWorkerCandidatesByScope, r as buildStableWorkerRowsFromLiveWorkers, t as buildPreviewScopeRowsFromLiveWorkers } from "./family-DZWB5M12.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-
|
|
2
|
-
import { t as account } from "./cloudflare-
|
|
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-
|
|
4
|
-
import { i as findFiles } from "./glob-
|
|
5
|
-
import { i as resolveNamedSelection, r as resolveCloudflareAccountId, t as asOptionalString } from "./command-utils-
|
|
1
|
+
import { r as loadConfig, t as ConfigNotFoundError } from "./loader-qxiU7lyz.js";
|
|
2
|
+
import { t as account } from "./cloudflare-D5HiBi_J.js";
|
|
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-Dze2DlVA.js";
|
|
4
|
+
import { i as findFiles } from "./glob-B5IUR-je.js";
|
|
5
|
+
import { i as resolveNamedSelection, r as resolveCloudflareAccountId, t as asOptionalString } from "./command-utils-C18AG-BZ.js";
|
|
6
6
|
import { t as getDependencies } from "./dependencies-HLIhxbIe.js";
|
|
7
|
-
import { i as collectConfiguredWorkerFamilies } from "./family-
|
|
7
|
+
import { i as collectConfiguredWorkerFamilies } from "./family-DZWB5M12.js";
|
|
8
8
|
//#region src/cli/commands/productions.ts
|
|
9
9
|
const CLI_API_OPTIONS = { timeout: 1e4 };
|
|
10
10
|
const PRODUCTION_SUBCOMMANDS = [
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { x as normalizeWorkflowBinding } from "./schema-normalization-CTdiY17P.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { t as generatedDir } from "./generated-dir-D_PDbut4.js";
|
|
3
|
+
import { i as findFiles, r as DEFAULT_WORKFLOW_PATTERN } from "./glob-B5IUR-je.js";
|
|
4
|
+
import { t as bundleWorkerEntry } from "./worker-bundler-BEQgr0we.js";
|
|
5
|
+
import { join, relative } from "pathe";
|
|
5
6
|
import { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
6
7
|
//#region src/workflows/local-workflow-entrypoints.ts
|
|
7
8
|
function findExportedClasses(code) {
|
|
@@ -70,7 +71,7 @@ function buildWorkflowVirtualEntry(entrypoints, entryDir) {
|
|
|
70
71
|
async function bundleWorkflowEntrypointScript(config, configDir, options = {}) {
|
|
71
72
|
const entrypoints = await resolveLocalWorkflowEntrypoints(config, configDir);
|
|
72
73
|
if (entrypoints.length === 0) return "";
|
|
73
|
-
const entryDir =
|
|
74
|
+
const entryDir = generatedDir(configDir, "workflow-entrypoints");
|
|
74
75
|
const entryPath = join(entryDir, "__entry.ts");
|
|
75
76
|
const outFile = join(entryDir, "index.js");
|
|
76
77
|
await mkdir(entryDir, { recursive: true });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as DIM, c as RESET, n as BOLD, o as GREEN, s as RED, u as YELLOW } from "./colors-
|
|
2
|
-
import { n as enableRemoteMode, r as getEffectiveRemoteModeStatus, t as disableRemoteMode } from "./remote-config-
|
|
1
|
+
import { a as DIM, c as RESET, n as BOLD, o as GREEN, s as RED, u as YELLOW } from "./colors-B4j4tpoY.js";
|
|
2
|
+
import { n as enableRemoteMode, r as getEffectiveRemoteModeStatus, t as disableRemoteMode } from "./remote-config-BidXMh4p.js";
|
|
3
3
|
//#region src/cli/commands/remote.ts
|
|
4
4
|
function log(message = "") {
|
|
5
5
|
console.log(message);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as findFilesSync, i as findFiles, n as DEFAULT_ENTRYPOINT_PATTERN } from "./glob-
|
|
1
|
+
import { a as findFilesSync, i as findFiles, n as DEFAULT_ENTRYPOINT_PATTERN } from "./glob-B5IUR-je.js";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import { existsSync, readFileSync, realpathSync } from "node:fs";
|
|
4
4
|
import { dirname, resolve } from "pathe";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { d as configSchema } from "./loader-
|
|
1
|
+
import { d as configSchema } from "./loader-qxiU7lyz.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-CTdiY17P.js";
|
|
3
|
-
import { n as findDurableObjectClasses } from "./durable-object-
|
|
4
|
-
import { r as SUPPORTED_WORKER_EXTENSIONS, t as transformWorkerEntrypoint } from "./worker-entrypoint-
|
|
5
|
-
import { a as findFilesSync, i as findFiles, t as DEFAULT_DO_PATTERN } from "./glob-
|
|
6
|
-
import { r as discoverEntrypointsSync, t as resolvePackageSpecifier } from "./resolve-package-
|
|
3
|
+
import { n as findDurableObjectClasses } from "./durable-object-gUEh9PeX.js";
|
|
4
|
+
import { r as SUPPORTED_WORKER_EXTENSIONS, t as transformWorkerEntrypoint } from "./worker-entrypoint-DmtFT4YJ.js";
|
|
5
|
+
import { a as findFilesSync, i as findFiles, t as DEFAULT_DO_PATTERN } from "./glob-B5IUR-je.js";
|
|
6
|
+
import { r as discoverEntrypointsSync, t as resolvePackageSpecifier } from "./resolve-package-PjcyjoTH.js";
|
|
7
7
|
import { relative, resolve } from "pathe";
|
|
8
8
|
import { existsSync, readFileSync } from "fs";
|
|
9
9
|
import { dirname as dirname$1, join as join$1, resolve as resolve$1 } from "path";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as createFetchEvent, b as createContextProxy, n as getContextOrNull, v as runWithEventContext } from "./context-
|
|
1
|
+
import { D as createFetchEvent, b as createContextProxy, n as getContextOrNull, v as runWithEventContext } from "./context-DyDqdKZg.js";
|
|
2
2
|
import { AwsV4Signer } from "aws4fetch";
|
|
3
3
|
//#region src/runtime/exports.ts
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as listLocalSecrets, o as writeLocalSecret, r as deleteLocalSecret } from "./local-secrets-
|
|
1
|
+
import { i as listLocalSecrets, o as writeLocalSecret, r as deleteLocalSecret } from "./local-secrets-BiNPg4Jj.js";
|
|
2
2
|
//#region src/cli/commands/secrets.ts
|
|
3
3
|
function getStringOption(options, key) {
|
|
4
4
|
const value = options[key];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as loadConfig } from "./loader-
|
|
2
|
-
import { p as getApiToken } from "./api-
|
|
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-
|
|
4
|
-
import { r as resolveCloudflareAccountId, t as asOptionalString } from "./command-utils-
|
|
1
|
+
import { r as loadConfig } from "./loader-qxiU7lyz.js";
|
|
2
|
+
import { p as getApiToken } from "./api-CnbxqDGv.js";
|
|
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-Dze2DlVA.js";
|
|
4
|
+
import { r as resolveCloudflareAccountId, t as asOptionalString } from "./command-utils-C18AG-BZ.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,7 +1,7 @@
|
|
|
1
|
-
import { n as CloudflareAPIError, t as AuthenticationError } from "./api-
|
|
2
|
-
import { d as getPrimaryAccount, i as getWorkspaceAccountId } from "./preferences-
|
|
3
|
-
import { d as green, f as logLine, g as yellow, h as whiteDim, o as dim, p as logTable, r as createCliTheme } from "./ui-
|
|
4
|
-
import { a as listAccountTokenPermissionGroups, c as selectAllReusablePermissionGroups, i as listAccountOwnedAPITokens, l as selectDevflarePermissionGroups, n as deleteAccountOwnedAPIToken, o as normalizeDevflareTokenName, r as filterDevflareManagedTokens, s as rollAccountOwnedAPITokenValue, t as createAccountOwnedAPIToken, u as stripDevflareTokenNamePrefix } from "./tokens-
|
|
1
|
+
import { n as CloudflareAPIError, t as AuthenticationError } from "./api-CnbxqDGv.js";
|
|
2
|
+
import { d as getPrimaryAccount, i as getWorkspaceAccountId } from "./preferences-DIYsXPQr.js";
|
|
3
|
+
import { d as green, f as logLine, g as yellow, h as whiteDim, o as dim, p as logTable, r as createCliTheme } from "./ui-Dze2DlVA.js";
|
|
4
|
+
import { a as listAccountTokenPermissionGroups, c as selectAllReusablePermissionGroups, i as listAccountOwnedAPITokens, l as selectDevflarePermissionGroups, n as deleteAccountOwnedAPIToken, o as normalizeDevflareTokenName, r as filterDevflareManagedTokens, s as rollAccountOwnedAPITokenValue, t as createAccountOwnedAPIToken, u as stripDevflareTokenNamePrefix } from "./tokens-BfXPnZMg.js";
|
|
5
5
|
//#region src/cli/commands/token.ts
|
|
6
6
|
const CLI_API_OPTIONS = { timeout: 1e4 };
|
|
7
7
|
const TOKENS_USAGE = "devflare tokens <bootstrap-token> (--list | --new [token-name] | --roll [token-name] | --delete [token-name] | --delete-all) [--account <id>] [--all-flags]";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as apiGetAll, c as apiPut, r as apiDelete, s as apiPost } from "./api-
|
|
1
|
+
import { a as apiGetAll, c as apiPut, r as apiDelete, s as apiPost } from "./api-CnbxqDGv.js";
|
|
2
2
|
//#region src/cloudflare/known-permission-group-ids.generated.ts
|
|
3
3
|
const KNOWN_PERMISSION_GROUP_IDS_DATA = {
|
|
4
4
|
WORKERS_SCRIPTS_WRITE: null,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as loadConfig } from "./loader-
|
|
1
|
+
import { r as loadConfig } from "./loader-qxiU7lyz.js";
|
|
2
2
|
import { o as normalizeDOBinding } from "./schema-normalization-CTdiY17P.js";
|
|
3
|
-
import { n as bold, o as dim, r as createCliTheme } from "./ui-
|
|
4
|
-
import { n as findDurableObjectClasses } from "./durable-object-
|
|
5
|
-
import { i as findFiles, n as DEFAULT_ENTRYPOINT_PATTERN, t as DEFAULT_DO_PATTERN } from "./glob-
|
|
6
|
-
import { n as discoverEntrypointsAsync, t as resolvePackageSpecifier } from "./resolve-package-
|
|
3
|
+
import { n as bold, o as dim, r as createCliTheme } from "./ui-Dze2DlVA.js";
|
|
4
|
+
import { n as findDurableObjectClasses } from "./durable-object-gUEh9PeX.js";
|
|
5
|
+
import { i as findFiles, n as DEFAULT_ENTRYPOINT_PATTERN, t as DEFAULT_DO_PATTERN } from "./glob-B5IUR-je.js";
|
|
6
|
+
import { n as discoverEntrypointsAsync, t as resolvePackageSpecifier } from "./resolve-package-PjcyjoTH.js";
|
|
7
7
|
import { t as getDependencies } from "./dependencies-HLIhxbIe.js";
|
|
8
|
-
import { r as resolveConfigCandidatePath } from "./config-path-
|
|
8
|
+
import { r as resolveConfigCandidatePath } from "./config-path-C6vHY5IS.js";
|
|
9
9
|
import { dirname, relative, resolve } from "pathe";
|
|
10
10
|
import { readFile } from "node:fs/promises";
|
|
11
11
|
//#region src/cli/commands/type-generation/discovery.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as DIM, c as RESET, i as CYAN_BOLD, l as WHITE, n as BOLD, o as GREEN, r as CYAN, s as RED, u as YELLOW } from "./colors-
|
|
1
|
+
import { a as DIM, c as RESET, i as CYAN_BOLD, l as WHITE, n as BOLD, o as GREEN, r as CYAN, s as RED, u as YELLOW } from "./colors-B4j4tpoY.js";
|
|
2
2
|
//#region src/cli/ui.ts
|
|
3
3
|
const ANSI_REGEX = /\x1b\[[0-9;]*m/g;
|
|
4
4
|
function createCliTheme(options = {}) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as kvGet, f as kvPut, g as isAuthenticated } from "./api-
|
|
2
|
-
import { c as getOrCreateNamedKVNamespace, d as getPrimaryAccount, n as getEffectiveAccountId, s as DEVFLARE_KV_NAMESPACE_TITLE } from "./preferences-
|
|
1
|
+
import { d as kvGet, f as kvPut, g as isAuthenticated } from "./api-CnbxqDGv.js";
|
|
2
|
+
import { c as getOrCreateNamedKVNamespace, d as getPrimaryAccount, n as getEffectiveAccountId, s as DEVFLARE_KV_NAMESPACE_TITLE } from "./preferences-DIYsXPQr.js";
|
|
3
3
|
//#region src/cloudflare/usage.ts
|
|
4
4
|
const USAGE_KEY_PREFIX = "usage:";
|
|
5
5
|
const LIMITS_KEY = "limits";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { d as resolveConfigEnvVars } from "./preview-j9Kbx4-G.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-qxiU7lyz.js";
|
|
3
3
|
import { o as normalizeDOBinding } from "./schema-normalization-CTdiY17P.js";
|
|
4
|
-
import { c as writeWranglerConfig, i as isolateViteBuildOutputPaths, n as compileConfig, o as rebaseWranglerConfigPaths, r as compileToProgrammaticConfig, t as compileBuildConfig } from "./compiler-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { t as
|
|
4
|
+
import { c as writeWranglerConfig, i as isolateViteBuildOutputPaths, n as compileConfig, o as rebaseWranglerConfigPaths, r as compileToProgrammaticConfig, t as compileBuildConfig } from "./compiler-DrqK6YDg.js";
|
|
5
|
+
import { n as generatedDirName, t as generatedDir } from "./generated-dir-D_PDbut4.js";
|
|
6
|
+
import { _ as resolveFetchHandler, o as assertExplicit2ArgStyle } from "./runtime-B0Pn8QmS.js";
|
|
7
|
+
import { s as resolveServiceBindings, t as discoverRoutes } from "./routes-B3TM3Rgu.js";
|
|
8
|
+
import { n as findDurableObjectClasses } from "./durable-object-gUEh9PeX.js";
|
|
9
|
+
import { r as SUPPORTED_WORKER_EXTENSIONS } from "./worker-entrypoint-DmtFT4YJ.js";
|
|
10
|
+
import { i as findFiles, t as DEFAULT_DO_PATTERN } from "./glob-B5IUR-je.js";
|
|
11
11
|
import { dirname, isAbsolute, relative, resolve } from "pathe";
|
|
12
12
|
//#region src/worker-entry/durable-object-discovery.ts
|
|
13
13
|
/**
|
|
@@ -736,7 +736,6 @@ function createAuxiliaryServiceWorkerConfigs(resolution) {
|
|
|
736
736
|
}
|
|
737
737
|
//#endregion
|
|
738
738
|
//#region src/vite/plugin-context.ts
|
|
739
|
-
const CONFIG_DIR$1 = ".devflare";
|
|
740
739
|
function removeDevflareHandledServeBindings(config) {
|
|
741
740
|
const next = { ...config };
|
|
742
741
|
delete next.workflows;
|
|
@@ -808,7 +807,7 @@ async function buildPluginContextState(projectRoot, devflareConfig, environment,
|
|
|
808
807
|
};
|
|
809
808
|
}
|
|
810
809
|
async function ensureGeneratedConfigDir$1(projectRoot) {
|
|
811
|
-
const configDir =
|
|
810
|
+
const configDir = generatedDir(projectRoot);
|
|
812
811
|
const fs = await import("node:fs/promises");
|
|
813
812
|
await fs.mkdir(configDir, { recursive: true });
|
|
814
813
|
const gitignorePath = resolve(configDir, ".gitignore");
|
|
@@ -851,7 +850,7 @@ function isTransformCandidate(id) {
|
|
|
851
850
|
*/
|
|
852
851
|
async function runWorkerEntryTransform(code, id) {
|
|
853
852
|
if (!id.endsWith("worker.ts") && !id.endsWith("worker.js")) return null;
|
|
854
|
-
const { shouldTransformWorker, transformWorkerEntrypoint } = await import("./worker-entrypoint-
|
|
853
|
+
const { shouldTransformWorker, transformWorkerEntrypoint } = await import("./worker-entrypoint-DmtFT4YJ.js").then((n) => n.n);
|
|
855
854
|
if (!shouldTransformWorker(code, id)) return null;
|
|
856
855
|
const result = transformWorkerEntrypoint(code, id);
|
|
857
856
|
if (!result) return null;
|
|
@@ -870,7 +869,7 @@ async function runWorkerEntryTransform(code, id) {
|
|
|
870
869
|
async function runDurableObjectTransform(code, id, options) {
|
|
871
870
|
if (!options.doTransforms) return null;
|
|
872
871
|
if (!code.includes("DurableObject") && !code.includes("@durableObject")) return null;
|
|
873
|
-
const { transformDurableObject } = await import("./durable-object-
|
|
872
|
+
const { transformDurableObject } = await import("./durable-object-gUEh9PeX.js").then((n) => n.t);
|
|
874
873
|
return transformDurableObject(code, id);
|
|
875
874
|
}
|
|
876
875
|
/**
|
|
@@ -997,7 +996,6 @@ async function getDevflareConfigs(options = {}) {
|
|
|
997
996
|
}
|
|
998
997
|
//#endregion
|
|
999
998
|
//#region src/vite/plugin.ts
|
|
1000
|
-
const CONFIG_DIR = ".devflare";
|
|
1001
999
|
function createPluginState() {
|
|
1002
1000
|
return {
|
|
1003
1001
|
context: {
|
|
@@ -1111,10 +1109,10 @@ function devflarePlugin(options = {}) {
|
|
|
1111
1109
|
lastPluginContext = ctx;
|
|
1112
1110
|
});
|
|
1113
1111
|
if (config.command === "serve") {
|
|
1114
|
-
console.log(
|
|
1112
|
+
console.log(`[devflare] Config generated to ${generatedDirName()}/wrangler.jsonc`);
|
|
1115
1113
|
if (state.context.auxiliaryWorkerConfig) console.log("[devflare] ✓ Auxiliary DO worker configured");
|
|
1116
1114
|
}
|
|
1117
|
-
if (config.command === "build") console.log(`[devflare] Generated ${
|
|
1115
|
+
if (config.command === "build") console.log(`[devflare] Generated ${generatedDirName()}/wrangler.jsonc`);
|
|
1118
1116
|
} catch (error) {
|
|
1119
1117
|
if (error instanceof Error) console.error("[devflare] Config error:", error.message);
|
|
1120
1118
|
throw error;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { i as resolveConfigPath } from "./loader-
|
|
1
|
+
import { i as resolveConfigPath } from "./loader-qxiU7lyz.js";
|
|
2
2
|
import { g as normalizeR2Binding, n as getLocalKVNamespaceIdentifier, r as getSingleBrowserBindingName, t as getLocalD1DatabaseIdentifier } from "./schema-normalization-CTdiY17P.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
3
|
+
import { t as generatedDir } from "./generated-dir-D_PDbut4.js";
|
|
4
|
+
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, u as buildAnalyticsEngineConfig, v as buildPipelinesConfig, w as buildStreamConfig, x as buildRateLimitsConfig, y as buildQueueConsumers } from "./routes-B3TM3Rgu.js";
|
|
5
|
+
import { r as transformDurableObject } from "./durable-object-gUEh9PeX.js";
|
|
6
|
+
import { i as findFiles } from "./glob-B5IUR-je.js";
|
|
7
|
+
import { d as DEFAULT_FETCH_ENTRY_FILES, f as DEFAULT_QUEUE_ENTRY_FILES, g as discoverDurableObjectFiles, h as resolveWorkerSurfacePaths, i as writeGeneratedViteConfig, m as hasWorkerSurfacePaths, p as DEFAULT_SCHEDULED_ENTRY_FILES, u as DEFAULT_EMAIL_ENTRY_FILES } from "./vite-SAm8Lrk4.js";
|
|
8
|
+
import { a as createWorkerdBundlerDefaults, i as writeWorkerCompatibleBundle, n as ensureDebugShim, r as resolveWorkerCompatibleRolldownConfig } from "./worker-bundler-BEQgr0we.js";
|
|
9
|
+
import { t as R2_PRESIGN_RUNTIME_JS } from "./r2-presign-runtime-BztPOxQI.js";
|
|
10
|
+
import { n as buildLocalSecretWrappedBindingConfig } from "./local-secrets-BiNPg4Jj.js";
|
|
11
|
+
import { t as buildLocalBindingShimServiceConfig } from "./local-media-bindings-nDoFyvYK.js";
|
|
11
12
|
import { i as waitForViteReady, n as resolveViteMode } from "./vite-utils-D_VR07Ks.js";
|
|
12
13
|
import { existsSync } from "node:fs";
|
|
13
14
|
import { dirname, relative, resolve } from "pathe";
|
|
@@ -2011,7 +2012,7 @@ function resolveR2PresignOrigin(serverConfig, miniflareHost, miniflarePort) {
|
|
|
2011
2012
|
function buildMiniflareDevConfig(input) {
|
|
2012
2013
|
const { config: loadedConfig, cwd, miniflarePort, miniflareHost = "127.0.0.1", persist, enableVite, debug, mainWorkerSurfacePaths, mainWorkerRoutes, mainWorkerScriptPath, bundledMainWorkerScriptPath, workflowEntrypointScript, browserShimPort, doResult, serviceBindingResolution, r2PresignSecret, additionalInjectedVars, logger } = input;
|
|
2013
2014
|
const bindings = loadedConfig.bindings ?? {};
|
|
2014
|
-
const persistPath = process.env.DEVFLARE_PERSIST_DIR ? resolve(cwd, process.env.DEVFLARE_PERSIST_DIR) :
|
|
2015
|
+
const persistPath = process.env.DEVFLARE_PERSIST_DIR ? resolve(cwd, process.env.DEVFLARE_PERSIST_DIR) : generatedDir(cwd, "data");
|
|
2015
2016
|
const appWorkerName = loadedConfig.name;
|
|
2016
2017
|
const shouldRunMainWorker = !enableVite && (hasWorkerSurfacePaths(mainWorkerSurfacePaths) || Boolean(mainWorkerRoutes?.routes.length));
|
|
2017
2018
|
const queueProducers = buildQueueProducers(bindings);
|
|
@@ -2824,7 +2825,7 @@ async function maybeStartDOBundler(config, options) {
|
|
|
2824
2825
|
bundler: null,
|
|
2825
2826
|
result: null
|
|
2826
2827
|
};
|
|
2827
|
-
const outDir =
|
|
2828
|
+
const outDir = generatedDir(options.cwd, "do-bundles");
|
|
2828
2829
|
const bundler = createDOBundler({
|
|
2829
2830
|
cwd: options.cwd,
|
|
2830
2831
|
pattern: doPattern,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as loadConfig } from "./loader-
|
|
1
|
+
import { r as loadConfig } from "./loader-qxiU7lyz.js";
|
|
2
2
|
import { o as normalizeDOBinding } from "./schema-normalization-CTdiY17P.js";
|
|
3
|
-
import { t as account } from "./cloudflare-
|
|
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-
|
|
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-
|
|
3
|
+
import { t as account } from "./cloudflare-D5HiBi_J.js";
|
|
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-Dze2DlVA.js";
|
|
5
|
+
import { r as resolveCloudflareAccountId, t as asOptionalString } from "./command-utils-C18AG-BZ.js";
|
|
6
|
+
import { n as formatSupportedConfigFilenames, r as resolveConfigCandidatePath, t as findConfigPathsUnderDirectory } from "./config-path-C6vHY5IS.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
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { i as resolveAppDirectSocketPort, r as loadWorkspaceManifest, t as assertSharedBindingIds } from "./workspace-Ds3xMjOE.js";
|
|
2
2
|
import { d as resolveConfigEnvVars } from "./preview-j9Kbx4-G.js";
|
|
3
|
-
import { r as loadConfig } from "./loader-
|
|
3
|
+
import { r as loadConfig } from "./loader-qxiU7lyz.js";
|
|
4
4
|
import { g as normalizeR2Binding, n as getLocalKVNamespaceIdentifier, r as getSingleBrowserBindingName, t as getLocalD1DatabaseIdentifier } from "./schema-normalization-CTdiY17P.js";
|
|
5
5
|
import { t as applyLocalDevVarsToConfig } from "./local-dev-vars-BFLS-HoI.js";
|
|
6
|
-
import {
|
|
6
|
+
import { t as generatedDir } from "./generated-dir-D_PDbut4.js";
|
|
7
|
+
import { a as cyanBold, f as logLine, g as yellow, o as dim, r as createCliTheme } from "./ui-Dze2DlVA.js";
|
|
7
8
|
import { setLocalSendEmailBindings } from "../utils/send-email.js";
|
|
8
|
-
import { s as resolveServiceBindings, t as discoverRoutes } from "./routes-
|
|
9
|
-
import { l as prepareComposedWorkerEntrypoint } from "./vite-
|
|
10
|
-
import { t as bundleWorkerEntry } from "./worker-bundler-
|
|
11
|
-
import { _ as createMiniflareLog, c as resolveViteIntegration, d as createRuntimeStdioForwarder, f as buildMiniflareDevConfig, g as runD1Migrations, h as resolveMainWorkerSurfacePaths, p as resolveR2PresignOrigin, t as startViteProcess, u as createBrowserShim, v as createDOBundler } from "./vite-process-
|
|
12
|
-
import { n as bundleWorkflowEntrypointScript } from "./r2-presign-runtime-
|
|
13
|
-
import { t as generatedDir } from "./generated-dir-DC2kM-mt.js";
|
|
9
|
+
import { s as resolveServiceBindings, t as discoverRoutes } from "./routes-B3TM3Rgu.js";
|
|
10
|
+
import { l as prepareComposedWorkerEntrypoint } from "./vite-SAm8Lrk4.js";
|
|
11
|
+
import { t as bundleWorkerEntry } from "./worker-bundler-BEQgr0we.js";
|
|
12
|
+
import { _ as createMiniflareLog, c as resolveViteIntegration, d as createRuntimeStdioForwarder, f as buildMiniflareDevConfig, g as runD1Migrations, h as resolveMainWorkerSurfacePaths, p as resolveR2PresignOrigin, t as startViteProcess, u as createBrowserShim, v as createDOBundler } from "./vite-process-DbK7Bxj6.js";
|
|
13
|
+
import { n as bundleWorkflowEntrypointScript } from "./r2-presign-runtime-BztPOxQI.js";
|
|
14
14
|
import { dirname, resolve } from "pathe";
|
|
15
15
|
import { createConsola } from "consola";
|
|
16
16
|
//#region src/dev-server/workspace/merge-config.ts
|
|
@@ -195,7 +195,7 @@ async function prepareWorkspaceApp(input) {
|
|
|
195
195
|
doBundler = createDOBundler({
|
|
196
196
|
cwd: appCwd,
|
|
197
197
|
pattern: doPattern,
|
|
198
|
-
outDir:
|
|
198
|
+
outDir: generatedDir(appCwd, "do-bundles"),
|
|
199
199
|
rolldownOptions: config.rolldown?.options,
|
|
200
200
|
sourcemap: config.rolldown?.sourcemap,
|
|
201
201
|
minify: config.rolldown?.minify,
|
|
@@ -277,7 +277,7 @@ function createWorkspaceDevServer(options) {
|
|
|
277
277
|
const verbose = options.verbose ?? false;
|
|
278
278
|
const debug = options.debug ?? process.env.DEVFLARE_DEBUG === "true";
|
|
279
279
|
const host = manifest.host ?? "127.0.0.1";
|
|
280
|
-
const persistDir = resolve(manifestDir, manifest.persist
|
|
280
|
+
const persistDir = manifest.persist ? resolve(manifestDir, manifest.persist) : generatedDir(manifestDir, "workspace-data");
|
|
281
281
|
const r2PresignSecret = `${crypto.randomUUID()}${crypto.randomUUID()}`;
|
|
282
282
|
let miniflare = null;
|
|
283
283
|
let preparedApps = [];
|
package/dist/browser.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as defineConfig, t as ref } from "./_chunks/ref-CYJNAAe_.js";
|
|
2
|
-
import { t as workerName } from "./_chunks/workerName-
|
|
3
|
-
import { n as getDurableObjectOptions, t as durableObject } from "./_chunks/decorators-
|
|
4
|
-
import { F as BridgeClient, I as getClient, M as createEnvProxy, N as initEnv, P as setBindingHints } from "./_chunks/context-
|
|
5
|
-
import { i as vars, r as env } from "./_chunks/env-
|
|
2
|
+
import { t as workerName } from "./_chunks/workerName-DArKKFNW.js";
|
|
3
|
+
import { n as getDurableObjectOptions, t as durableObject } from "./_chunks/decorators-B5q1aEuS.js";
|
|
4
|
+
import { F as BridgeClient, I as getClient, M as createEnvProxy, N as initEnv, P as setBindingHints } from "./_chunks/context-DyDqdKZg.js";
|
|
5
|
+
import { i as vars, r as env } from "./_chunks/env-CYxzNi04.js";
|
|
6
6
|
//#region src/browser.ts
|
|
7
7
|
function createUnsupportedApiError(name) {
|
|
8
8
|
return /* @__PURE__ */ new Error(`${name} is not available in browser environments; import from devflare/test or devflare/runtime in a worker/Node context instead.`);
|
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-0vBCBbJk.js";
|
|
2
2
|
export { parseArgs, runCli };
|
package/dist/cloudflare/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as CloudflareAPIError, t as AuthenticationError } from "../_chunks/api-
|
|
2
|
-
import { S as DEVFLARE_PREVIEW_REGISTRY_DATABASE, _ as devflarePreviewScopeRecordSchema, a as listTrackedPreviewRecords, b as devflareRecordSourceSchema, c as reconcilePreviewRegistry, d as devflareAccountLayerRecordSchema, f as devflareAccountRecordSchema, g as devflarePreviewRecordSchema, h as devflareDeploymentStatusSchema, i as listTrackedDeploymentRecords, l as retirePreviewRegistry, m as devflareDeploymentRecordSchema, n as ensurePreviewRegistry, o as listTrackedPreviewScopeRecords, p as devflareDeploymentChannelSchema, r as getPreviewRegistryContext, s as listTrackedRegistryState, t as cleanupPreviewRegistry, u as createDevflareAccountRecordSchema, v as devflarePreviewScopeStatusSchema, y as devflarePreviewStatusSchema } from "../_chunks/preview-registry-
|
|
3
|
-
import { t as account } from "../_chunks/cloudflare-
|
|
1
|
+
import { n as CloudflareAPIError, t as AuthenticationError } from "../_chunks/api-CnbxqDGv.js";
|
|
2
|
+
import { S as DEVFLARE_PREVIEW_REGISTRY_DATABASE, _ as devflarePreviewScopeRecordSchema, a as listTrackedPreviewRecords, b as devflareRecordSourceSchema, c as reconcilePreviewRegistry, d as devflareAccountLayerRecordSchema, f as devflareAccountRecordSchema, g as devflarePreviewRecordSchema, h as devflareDeploymentStatusSchema, i as listTrackedDeploymentRecords, l as retirePreviewRegistry, m as devflareDeploymentRecordSchema, n as ensurePreviewRegistry, o as listTrackedPreviewScopeRecords, p as devflareDeploymentChannelSchema, r as getPreviewRegistryContext, s as listTrackedRegistryState, t as cleanupPreviewRegistry, u as createDevflareAccountRecordSchema, v as devflarePreviewScopeStatusSchema, y as devflarePreviewStatusSchema } from "../_chunks/preview-registry-BvjLLa3M.js";
|
|
3
|
+
import { t as account } from "../_chunks/cloudflare-D5HiBi_J.js";
|
|
4
4
|
export { AuthenticationError, CloudflareAPIError, DEVFLARE_PREVIEW_REGISTRY_DATABASE, account, cleanupPreviewRegistry, createDevflareAccountRecordSchema, devflareAccountLayerRecordSchema, devflareAccountRecordSchema, devflareDeploymentChannelSchema, devflareDeploymentRecordSchema, devflareDeploymentStatusSchema, devflarePreviewRecordSchema, devflarePreviewScopeRecordSchema, devflarePreviewScopeStatusSchema, devflarePreviewStatusSchema, devflareRecordSourceSchema, ensurePreviewRegistry, getPreviewRegistryContext, listTrackedDeploymentRecords, listTrackedPreviewRecords, listTrackedPreviewScopeRecords, listTrackedRegistryState, reconcilePreviewRegistry, retirePreviewRegistry };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../../../src/config/compiler/paths.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../../../src/config/compiler/paths.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAE7C;;GAEG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM,CAM9D;AA8BD,wBAAgB,2BAA2B,CAC1C,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,cAAc,GACpB,cAAc,CA0ChB;AAED,wBAAgB,yBAAyB,CACxC,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,cAAc,GACpB,cAAc,CA8BhB;AAED;;;;;;;GAOG;AACH,wBAAsB,mBAAmB,CACxC,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,cAAc,EACtB,QAAQ,SAAmB,GACzB,OAAO,CAAC,MAAM,CAAC,CAejB;AAED,wBAAsB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,CAWlF"}
|
package/dist/decorators/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as getDurableObjectOptions, t as durableObject } from "../_chunks/decorators-
|
|
1
|
+
import { n as getDurableObjectOptions, t as durableObject } from "../_chunks/decorators-B5q1aEuS.js";
|
|
2
2
|
export { durableObject, getDurableObjectOptions };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"miniflare-dev-config.d.ts","sourceRoot":"","sources":["../../src/dev-server/miniflare-dev-config.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAG9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAI/C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAA;
|
|
1
|
+
{"version":3,"file":"miniflare-dev-config.d.ts","sourceRoot":"","sources":["../../src/dev-server/miniflare-dev-config.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAG9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAI/C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAA;AAE9E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAgClE,OAAO,EAAE,KAAK,kBAAkB,EAAyB,MAAM,wBAAwB,CAAA;AAGvF,KAAK,wBAAwB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC,CAAA;AAElF,MAAM,WAAW,4BAA4B;IAC5C,MAAM,EAAE,cAAc,CAAA;IACtB,GAAG,EAAE,MAAM,CAAA;IACX,aAAa,EAAE,MAAM,CAAA;IACrB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,OAAO,EAAE,OAAO,CAAA;IAChB,UAAU,EAAE,OAAO,CAAA;IACnB,KAAK,EAAE,OAAO,CAAA;IACd,sBAAsB,EAAE,kBAAkB,CAAA;IAC1C,gBAAgB,EAAE,oBAAoB,GAAG,IAAI,CAAA;IAC7C,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAA;IACnC,2BAA2B,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1C,wBAAwB,EAAE,MAAM,CAAA;IAChC,eAAe,EAAE,MAAM,CAAA;IACvB,QAAQ,EAAE,cAAc,GAAG,IAAI,CAAA;IAC/B,wBAAwB,CAAC,EAAE,wBAAwB,GAAG,IAAI,CAAA;IAC1D;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B;;;;;;OAMG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC/C,MAAM,CAAC,EAAE,eAAe,CAAA;CACxB;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CACrC,YAAY,EAAE,cAAc,CAAC,QAAQ,CAAC,EACtC,aAAa,EAAE,MAAM,EACrB,aAAa,EAAE,MAAM,GACnB,MAAM,CAOR;AAED;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,4BAA4B,GAAG,GAAG,CAyRhF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-startup-helpers.d.ts","sourceRoot":"","sources":["../../src/dev-server/server-startup-helpers.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,KAAK,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,WAAW,CAAA;AAE3D,OAAO,EAAE,KAAK,WAAW,EAAqB,MAAM,iBAAiB,CAAA;AACrE,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,SAAS,EAAmB,MAAM,YAAY,CAAA;AACjF,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAA;AAE1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"server-startup-helpers.d.ts","sourceRoot":"","sources":["../../src/dev-server/server-startup-helpers.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,KAAK,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,WAAW,CAAA;AAE3D,OAAO,EAAE,KAAK,WAAW,EAAqB,MAAM,iBAAiB,CAAA;AACrE,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,SAAS,EAAmB,MAAM,YAAY,CAAA;AACjF,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAA;AAE1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAItD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAElE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAEhE,KAAK,kBAAkB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,8BAA8B,CAAC,CAAC,CAAA;AAEpF;;;GAGG;AACH,wBAAgB,yBAAyB,CACxC,MAAM,EAAE,eAAe,GAAG,SAAS,EACnC,UAAU,EAAE,OAAO,EACnB,UAAU,EAAE,OAAO,EACnB,sBAAsB,EAAE,kBAAkB,EAC1C,gBAAgB,EAAE,oBAAoB,GAAG,IAAI,GAC3C,IAAI,CAeN;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,CAC3C,MAAM,EAAE,eAAe,GAAG,SAAS,EACnC,WAAW,EAAE,kBAAkB,GAC7B,IAAI,CA8BN;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAEzD;AAED;;;;;GAKG;AACH,wBAAsB,4BAA4B,CACjD,GAAG,EAAE,MAAM,EACX,UAAU,EAAE,MAAM,GAAG,SAAS,GAC5B,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAaxB;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CAC5C,MAAM,EAAE,eAAe,GAAG,SAAS,EACnC,QAAQ,EAAE,GAAG,GACX,IAAI,CAyBN;AAED;;;;GAIG;AACH,wBAAsB,8BAA8B,CACnD,MAAM,EAAE,eAAe,GAAG,SAAS,EACnC,SAAS,EAAE,aAAa,EACxB,QAAQ,EAAE,GAAG,GACX,OAAO,CAAC,IAAI,CAAC,CA2Bf;AAED;;;;GAIG;AACH,wBAAsB,qBAAqB,CAC1C,MAAM,EAAE,cAAc,EACtB,OAAO,EAAE;IAAE,eAAe,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,eAAe,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,GAC9E,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC,CAa7B;AAED;;;;;;GAMG;AACH,wBAAsB,mBAAmB,CACxC,MAAM,EAAE,cAAc,EACtB,OAAO,EAAE;IACR,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,CAAC,EAAE,eAAe,CAAA;IACxB,SAAS,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;CACpD,GACC,OAAO,CAAC;IAAE,OAAO,EAAE,SAAS,GAAG,IAAI,CAAC;IAAC,MAAM,EAAE,cAAc,GAAG,IAAI,CAAA;CAAE,CAAC,CAqBvE;AAED;;;;;;;GAOG;AACH,wBAAsB,sBAAsB,CAAC,OAAO,EAAE;IACrD,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;IAC9B,aAAa,EAAE,MAAM,CAAA;IACrB,mBAAmB,EAAE,OAAO,CAAA;IAC5B,MAAM,CAAC,EAAE,eAAe,CAAA;CACxB,GAAG,OAAO,CAAC;IAAE,UAAU,EAAE,OAAO,CAAC;IAAC,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAAC,CAmB3E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../src/dev-server/workspace/server.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,KAAK,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,WAAW,CAAA;AAE3D,OAAO,EACN,KAAK,iBAAiB,EAGtB,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../src/dev-server/workspace/server.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,KAAK,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,WAAW,CAAA;AAE3D,OAAO,EACN,KAAK,iBAAiB,EAGtB,MAAM,wBAAwB,CAAA;AAiB/B,oDAAoD;AACpD,MAAM,WAAW,yBAAyB;IACzC,wCAAwC;IACxC,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,+EAA+E;IAC/E,WAAW,EAAE,MAAM,CAAA;IACnB,mEAAmE;IACnE,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,cAAc;IACd,MAAM,CAAC,EAAE,eAAe,CAAA;IACxB,uBAAuB;IACvB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,wCAAwC;IACxC,KAAK,CAAC,EAAE,OAAO,CAAA;CACf;AAED,qDAAqD;AACrD,MAAM,WAAW,kBAAkB;IAClC,yBAAyB;IACzB,OAAO,EAAE,MAAM,CAAA;IACf,gDAAgD;IAChD,GAAG,EAAE,MAAM,CAAA;IACX,iDAAiD;IACjD,IAAI,EAAE,OAAO,CAAA;CACb;AAED,uCAAuC;AACvC,MAAM,WAAW,kBAAkB;IAClC,gFAAgF;IAChF,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IACtB,wEAAwE;IACxE,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IACrB,yEAAyE;IACzE,YAAY,IAAI,aAAa,GAAG,IAAI,CAAA;IACpC,0CAA0C;IAC1C,aAAa,IAAI,kBAAkB,EAAE,CAAA;CACrC;AAED;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,yBAAyB,GAAG,kBAAkB,CAuM/F"}
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as defineConfig, t as ref } from "./_chunks/ref-CYJNAAe_.js";
|
|
2
2
|
import { n as defineWorkspace } from "./_chunks/workspace-Ds3xMjOE.js";
|
|
3
3
|
import { i as preview } from "./_chunks/preview-j9Kbx4-G.js";
|
|
4
|
-
import { a as ConfigResourceResolutionError, d as configSchema, n as ConfigValidationError, o as loadResolvedConfig, r as loadConfig, t as ConfigNotFoundError } from "./_chunks/loader-
|
|
5
|
-
import { n as compileConfig, s as stringifyConfig } from "./_chunks/compiler-
|
|
6
|
-
import { t as workerName } from "./_chunks/workerName-
|
|
7
|
-
import { n as getDurableObjectOptions, t as durableObject } from "./_chunks/decorators-
|
|
8
|
-
import { n as runCli, t as parseArgs } from "./_chunks/cli-
|
|
9
|
-
import { i as vars, r as env } from "./_chunks/env-
|
|
4
|
+
import { a as ConfigResourceResolutionError, d as configSchema, n as ConfigValidationError, o as loadResolvedConfig, r as loadConfig, t as ConfigNotFoundError } from "./_chunks/loader-qxiU7lyz.js";
|
|
5
|
+
import { n as compileConfig, s as stringifyConfig } from "./_chunks/compiler-DrqK6YDg.js";
|
|
6
|
+
import { t as workerName } from "./_chunks/workerName-DArKKFNW.js";
|
|
7
|
+
import { n as getDurableObjectOptions, t as durableObject } from "./_chunks/decorators-B5q1aEuS.js";
|
|
8
|
+
import { n as runCli, t as parseArgs } from "./_chunks/cli-0vBCBbJk.js";
|
|
9
|
+
import { i as vars, r as env } from "./_chunks/env-CYxzNi04.js";
|
|
10
10
|
export { ConfigNotFoundError, ConfigResourceResolutionError, ConfigValidationError, compileConfig, configSchema, defineConfig as default, defineConfig, defineWorkspace, durableObject, env, getDurableObjectOptions, loadConfig, loadResolvedConfig, parseArgs, preview, ref, runCli, stringifyConfig, vars, workerName };
|
package/dist/runtime/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as getDurableObjectOptions, t as durableObject } from "../_chunks/decorators-
|
|
2
|
-
import { A as createTailEvent, C as createDurableObjectWebSocketCloseEvent, D as createFetchEvent, E as createEmailEvent, O as createQueueEvent, S as createDurableObjectFetchEvent, T as createDurableObjectWebSocketMessageEvent, _ as runWithContext, a as getDurableObjectFetchEvent, b as createContextProxy, c as getDurableObjectWebSocketMessageEvent, d as getEventContextOrNull, f as getFetchEvent, g as hasContext, h as getTailEvent, i as getDurableObjectEvent, k as createScheduledEvent, l as getEmailEvent, m as getScheduledEvent, n as getContextOrNull, o as getDurableObjectWebSocketCloseEvent, p as getQueueEvent, r as getDurableObjectAlarmEvent, s as getDurableObjectWebSocketErrorEvent, t as getContext, u as getEventContext, v as runWithEventContext, w as createDurableObjectWebSocketErrorEvent, x as createDurableObjectAlarmEvent, y as ContextAccessError } from "../_chunks/context-
|
|
1
|
+
import { n as getDurableObjectOptions, t as durableObject } from "../_chunks/decorators-B5q1aEuS.js";
|
|
2
|
+
import { A as createTailEvent, C as createDurableObjectWebSocketCloseEvent, D as createFetchEvent, E as createEmailEvent, O as createQueueEvent, S as createDurableObjectFetchEvent, T as createDurableObjectWebSocketMessageEvent, _ as runWithContext, a as getDurableObjectFetchEvent, b as createContextProxy, c as getDurableObjectWebSocketMessageEvent, d as getEventContextOrNull, f as getFetchEvent, g as hasContext, h as getTailEvent, i as getDurableObjectEvent, k as createScheduledEvent, l as getEmailEvent, m as getScheduledEvent, n as getContextOrNull, o as getDurableObjectWebSocketCloseEvent, p as getQueueEvent, r as getDurableObjectAlarmEvent, s as getDurableObjectWebSocketErrorEvent, t as getContext, u as getEventContext, v as runWithEventContext, w as createDurableObjectWebSocketErrorEvent, x as createDurableObjectAlarmEvent, y as ContextAccessError } from "../_chunks/context-DyDqdKZg.js";
|
|
3
3
|
import { clearLocalSendEmailBindings, setLocalSendEmailBindings } from "../utils/send-email.js";
|
|
4
|
-
import { C as vars, S as locals, _ as resolveFetchHandler, a as matchFetchRoute, b as env, c as assertExplicitScheduledHandlerStyle, d as defineQueueHandler, f as defineScheduledHandler, g as markWorkerStyle, h as markResolveStyle, i as invokeRouteModules, l as createResolveFetch, m as invokeFetchModule, n as presignR2Put, o as assertExplicit2ArgStyle, p as invokeFetchHandler, r as createRouteResolve, s as assertExplicitQueueHandlerStyle, t as presignR2Get, u as defineFetchHandler, v as sequence, x as event, y as ctx } from "../_chunks/runtime-
|
|
4
|
+
import { C as vars, S as locals, _ as resolveFetchHandler, a as matchFetchRoute, b as env, c as assertExplicitScheduledHandlerStyle, d as defineQueueHandler, f as defineScheduledHandler, g as markWorkerStyle, h as markResolveStyle, i as invokeRouteModules, l as createResolveFetch, m as invokeFetchModule, n as presignR2Put, o as assertExplicit2ArgStyle, p as invokeFetchHandler, r as createRouteResolve, s as assertExplicitQueueHandlerStyle, t as presignR2Get, u as defineFetchHandler, v as sequence, x as event, y as ctx } from "../_chunks/runtime-B0Pn8QmS.js";
|
|
5
5
|
export { ContextAccessError, assertExplicit2ArgStyle, assertExplicitQueueHandlerStyle, assertExplicitScheduledHandlerStyle, clearLocalSendEmailBindings, createContextProxy, createDurableObjectAlarmEvent, createDurableObjectFetchEvent, createDurableObjectWebSocketCloseEvent, createDurableObjectWebSocketErrorEvent, createDurableObjectWebSocketMessageEvent, createEmailEvent, createFetchEvent, createQueueEvent, createResolveFetch, createRouteResolve, createScheduledEvent, createTailEvent, ctx, defineFetchHandler, defineQueueHandler, defineScheduledHandler, durableObject, env, event, getContext, getContextOrNull, getDurableObjectAlarmEvent, getDurableObjectEvent, getDurableObjectFetchEvent, getDurableObjectOptions, getDurableObjectWebSocketCloseEvent, getDurableObjectWebSocketErrorEvent, getDurableObjectWebSocketMessageEvent, getEmailEvent, getEventContext, getEventContextOrNull, getFetchEvent, getQueueEvent, getScheduledEvent, getTailEvent, hasContext, invokeFetchHandler, invokeFetchModule, invokeRouteModules, locals, markResolveStyle, markWorkerStyle, matchFetchRoute, presignR2Get, presignR2Put, resolveFetchHandler, runWithContext, runWithEventContext, sequence, setLocalSendEmailBindings, vars };
|
package/dist/sveltekit/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { r as loadConfig } from "../_chunks/loader-
|
|
1
|
+
import { r as loadConfig } from "../_chunks/loader-qxiU7lyz.js";
|
|
2
2
|
import { l as normalizeHyperdriveBinding } from "../_chunks/schema-normalization-CTdiY17P.js";
|
|
3
|
-
import { D as createFetchEvent, I as getClient, M as createEnvProxy, P as setBindingHints, v as runWithEventContext } from "../_chunks/context-
|
|
3
|
+
import { D as createFetchEvent, I as getClient, M as createEnvProxy, P as setBindingHints, v as runWithEventContext } from "../_chunks/context-DyDqdKZg.js";
|
|
4
4
|
import { createLocalSendEmailBinding } from "../utils/send-email.js";
|
|
5
|
-
import { i as extractBindingHints, n as createLocalWorkerLoaderBinding, t as createLocalHyperdrive } from "../_chunks/local-hyperdrive-
|
|
6
|
-
import { t as buildLocalSecretNodeBindings } from "../_chunks/local-secrets-
|
|
7
|
-
import { n as createLocalImagesBinding, r as createLocalMediaBinding } from "../_chunks/local-media-bindings-
|
|
5
|
+
import { i as extractBindingHints, n as createLocalWorkerLoaderBinding, t as createLocalHyperdrive } from "../_chunks/local-hyperdrive-HiKIIWiL.js";
|
|
6
|
+
import { t as buildLocalSecretNodeBindings } from "../_chunks/local-secrets-BiNPg4Jj.js";
|
|
7
|
+
import { n as createLocalImagesBinding, r as createLocalMediaBinding } from "../_chunks/local-media-bindings-nDoFyvYK.js";
|
|
8
8
|
//#region src/sveltekit/local-bindings.ts
|
|
9
9
|
function buildLocalHyperdriveBindings(config) {
|
|
10
10
|
const bindings = {};
|
package/dist/test/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { d as resolveConfigEnvVars } from "../_chunks/preview-j9Kbx4-G.js";
|
|
2
|
-
import { f as assertValidCronExpression, i as resolveConfigPath, r as loadConfig } from "../_chunks/loader-
|
|
2
|
+
import { f as assertValidCronExpression, i as resolveConfigPath, r as loadConfig } from "../_chunks/loader-qxiU7lyz.js";
|
|
3
3
|
import { _ as normalizeSecretsStoreBinding, f as normalizeMediaBinding, h as normalizeQueueProducer, i as normalizeArtifactsBinding, l as normalizeHyperdriveBinding, m as normalizePipelineBinding, o as normalizeDOBinding, p as normalizeMtlsCertificateBinding, s as normalizeDispatchNamespaceBinding, t as getLocalD1DatabaseIdentifier, u as normalizeImagesBinding, x as normalizeWorkflowBinding } from "../_chunks/schema-normalization-CTdiY17P.js";
|
|
4
4
|
import { t as applyLocalDevVarsToConfig } from "../_chunks/local-dev-vars-BFLS-HoI.js";
|
|
5
|
-
import { g as isAuthenticated, p as getApiToken } from "../_chunks/api-
|
|
6
|
-
import { d as getPrimaryAccount, n as getEffectiveAccountId } from "../_chunks/preferences-
|
|
7
|
-
import { A as createTailEvent, D as createFetchEvent, E as createEmailEvent, F as BridgeClient, M as createEnvProxy, O as createQueueEvent, P as setBindingHints, _ as runWithContext, k as createScheduledEvent, v as runWithEventContext, x as createDurableObjectAlarmEvent } from "../_chunks/context-
|
|
5
|
+
import { g as isAuthenticated, p as getApiToken } from "../_chunks/api-CnbxqDGv.js";
|
|
6
|
+
import { d as getPrimaryAccount, n as getEffectiveAccountId } from "../_chunks/preferences-DIYsXPQr.js";
|
|
7
|
+
import { A as createTailEvent, D as createFetchEvent, E as createEmailEvent, F as BridgeClient, M as createEnvProxy, O as createQueueEvent, P as setBindingHints, _ as runWithContext, k as createScheduledEvent, v as runWithEventContext, x as createDurableObjectAlarmEvent } from "../_chunks/context-DyDqdKZg.js";
|
|
8
8
|
import { createLocalSendEmailBinding, wrapEnvSendEmailBindings } from "../utils/send-email.js";
|
|
9
|
-
import { n as __setTestContext, r as env, t as __clearTestContext } from "../_chunks/env-
|
|
10
|
-
import { _ as resolveFetchHandler, a as matchFetchRoute, m as invokeFetchModule, r as createRouteResolve } from "../_chunks/runtime-
|
|
11
|
-
import { i as extractBindingHints, n as createLocalWorkerLoaderBinding, r as disposeLocalWorkerLoaderBindings, t as createLocalHyperdrive } from "../_chunks/local-hyperdrive-
|
|
12
|
-
import { E as buildTailConsumersConfig, T as buildStreamingTailConsumersConfig, a as hasServiceBindings, i as hasCrossWorkerDOs, m as buildHyperdrivesConfig, o as resolveDOBindings, r as clearBundleCache, s as resolveServiceBindings, t as discoverRoutes, u as buildAnalyticsEngineConfig } from "../_chunks/routes-
|
|
13
|
-
import { i as findFiles, t as DEFAULT_DO_PATTERN } from "../_chunks/glob-
|
|
14
|
-
import { a as isRemoteModeActive, i as getRemoteModeStatus } from "../_chunks/remote-config-
|
|
15
|
-
import { n as bundleWorkflowEntrypointScript, t as R2_PRESIGN_RUNTIME_JS } from "../_chunks/r2-presign-runtime-
|
|
16
|
-
import { a as resolveLocalSecretValuesForBindings, n as buildLocalSecretWrappedBindingConfig } from "../_chunks/local-secrets-
|
|
17
|
-
import { t as buildLocalBindingShimServiceConfig } from "../_chunks/local-media-bindings-
|
|
18
|
-
import { t as canProceedWithTest } from "../_chunks/usage-
|
|
9
|
+
import { n as __setTestContext, r as env, t as __clearTestContext } from "../_chunks/env-CYxzNi04.js";
|
|
10
|
+
import { _ as resolveFetchHandler, a as matchFetchRoute, m as invokeFetchModule, r as createRouteResolve } from "../_chunks/runtime-B0Pn8QmS.js";
|
|
11
|
+
import { i as extractBindingHints, n as createLocalWorkerLoaderBinding, r as disposeLocalWorkerLoaderBindings, t as createLocalHyperdrive } from "../_chunks/local-hyperdrive-HiKIIWiL.js";
|
|
12
|
+
import { E as buildTailConsumersConfig, T as buildStreamingTailConsumersConfig, a as hasServiceBindings, i as hasCrossWorkerDOs, m as buildHyperdrivesConfig, o as resolveDOBindings, r as clearBundleCache, s as resolveServiceBindings, t as discoverRoutes, u as buildAnalyticsEngineConfig } from "../_chunks/routes-B3TM3Rgu.js";
|
|
13
|
+
import { i as findFiles, t as DEFAULT_DO_PATTERN } from "../_chunks/glob-B5IUR-je.js";
|
|
14
|
+
import { a as isRemoteModeActive, i as getRemoteModeStatus } from "../_chunks/remote-config-BidXMh4p.js";
|
|
15
|
+
import { n as bundleWorkflowEntrypointScript, t as R2_PRESIGN_RUNTIME_JS } from "../_chunks/r2-presign-runtime-BztPOxQI.js";
|
|
16
|
+
import { a as resolveLocalSecretValuesForBindings, n as buildLocalSecretWrappedBindingConfig } from "../_chunks/local-secrets-BiNPg4Jj.js";
|
|
17
|
+
import { t as buildLocalBindingShimServiceConfig } from "../_chunks/local-media-bindings-nDoFyvYK.js";
|
|
18
|
+
import { t as canProceedWithTest } from "../_chunks/usage-ClDTnCXv.js";
|
|
19
19
|
import { existsSync } from "node:fs";
|
|
20
20
|
import { stat } from "node:fs/promises";
|
|
21
21
|
import { basename, dirname, isAbsolute, join, resolve } from "node:path";
|
package/dist/vite/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as devflarePlugin, c as getDevflareConfigs, i as writeGeneratedViteConfig, n as resolveEffectiveViteProject, o as getPluginContext, r as resolveViteUserConfig, s as getCloudflareConfig, t as hasInlineViteConfig } from "../_chunks/vite-
|
|
1
|
+
import { a as devflarePlugin, c as getDevflareConfigs, i as writeGeneratedViteConfig, n as resolveEffectiveViteProject, o as getPluginContext, r as resolveViteUserConfig, s as getCloudflareConfig, t as hasInlineViteConfig } from "../_chunks/vite-SAm8Lrk4.js";
|
|
2
2
|
export { devflarePlugin as default, devflarePlugin, getCloudflareConfig, getDevflareConfigs, getPluginContext, hasInlineViteConfig, resolveEffectiveViteProject, resolveViteUserConfig, writeGeneratedViteConfig };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-context.d.ts","sourceRoot":"","sources":["../../src/vite/plugin-context.ts"],"names":[],"mappings":"AAaA,OAAO,EACN,KAAK,cAAc,EAOnB,MAAM,oBAAoB,CAAA;AAG3B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"plugin-context.d.ts","sourceRoot":"","sources":["../../src/vite/plugin-context.ts"],"names":[],"mappings":"AAaA,OAAO,EACN,KAAK,cAAc,EAOnB,MAAM,oBAAoB,CAAA;AAG3B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAKtD,OAAO,EACN,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EAGtB,MAAM,0BAA0B,CAAA;AAGjC,MAAM,WAAW,0BAA0B;IAC1C,cAAc,EAAE,cAAc,CAAA;IAC9B,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACzC,qBAAqB,EAAE,qBAAqB,GAAG,IAAI,CAAA;IACnD,sBAAsB,EAAE,qBAAqB,EAAE,CAAA;IAC/C,2BAA2B,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAChD,cAAc,EAAE,iBAAiB,GAAG,IAAI,CAAA;CACxC;AAgBD;;;;;;;;;;GAUG;AACH,wBAAsB,uBAAuB,CAC5C,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,cAAc,EAC9B,WAAW,CAAC,EAAE,MAAM,EACpB,IAAI,GAAE,OAAO,GAAG,OAAiB,EACjC,SAAS,GAAE,MAAoB,GAC7B,OAAO,CAAC,0BAA0B,CAAC,CA2FrC;AAED,wBAAsB,wBAAwB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAanF;AAED,wBAAsB,4BAA4B,CACjD,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,cAAc,GAC5B,OAAO,CAAC,IAAI,CAAC,CAKf;AAED,wBAAsB,uBAAuB,CAC5C,WAAW,EAAE,MAAM,EACnB,UAAU,CAAC,EAAE,MAAM,GACjB,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAMxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../src/vite/plugin.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,MAAM,EAAiC,MAAM,MAAM,CAAA;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../src/vite/plugin.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,MAAM,EAAiC,MAAM,MAAM,CAAA;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAUxD,OAAO,EACN,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EAKtB,MAAM,0BAA0B,CAAA;AAOjC,YAAY,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,CAAA;AAIxD,MAAM,WAAW,qBAAqB;IACrC;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,EAAE,CAAA;CAC1B;AAED,MAAM,WAAW,qBAAqB;IACrC;;OAEG;IACH,cAAc,EAAE,cAAc,GAAG,IAAI,CAAA;IAErC;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IAEhD;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;;OAGG;IACH,qBAAqB,EAAE,qBAAqB,GAAG,IAAI,CAAA;IACnD,sBAAsB,EAAE,qBAAqB,EAAE,CAAA;IAC/C,2BAA2B,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAEhD;;OAEG;IACH,cAAc,EAAE,iBAAiB,GAAG,IAAI,CAAA;CACxC;AAqED;;;GAGG;AACH,wBAAgB,gBAAgB,IAAI,qBAAqB,CAExD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,cAAc,CAAC,OAAO,GAAE,qBAA0B,GAAG,MAAM,CAgI1E;AAED;;;GAGG;AACH,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;eAGhE,cAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-workflow-entrypoints.d.ts","sourceRoot":"","sources":["../../src/workflows/local-workflow-entrypoints.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAG9C,OAAO,EAAE,KAAK,cAAc,EAA4B,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"local-workflow-entrypoints.d.ts","sourceRoot":"","sources":["../../src/workflows/local-workflow-entrypoints.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAG9C,OAAO,EAAE,KAAK,cAAc,EAA4B,MAAM,WAAW,CAAA;AAUzE,MAAM,WAAW,qCAAqC;IACrD,MAAM,CAAC,EAAE,eAAe,CAAA;CACxB;AAyGD,wBAAsB,8BAA8B,CACnD,MAAM,EAAE,cAAc,EACtB,SAAS,EAAE,MAAM,EACjB,OAAO,GAAE,qCAA0C,GACjD,OAAO,CAAC,MAAM,CAAC,CAuBjB"}
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|