devflare 1.0.0-next.39 → 1.0.0-next.40
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-BtWcv3X9.js +462 -0
- package/dist/_chunks/account-resources-CsmVowJp.js +159 -0
- package/dist/_chunks/ai-CBEuLdoP.js +322 -0
- package/dist/_chunks/api-TzdliH-6.js +568 -0
- package/dist/_chunks/build-3T6O4uIg.js +24 -0
- package/dist/_chunks/build-artifacts-8TqBSQkG.js +483 -0
- package/dist/_chunks/cli-BTF1X4SG.js +1128 -0
- package/dist/_chunks/cloudflare-BaloqI3H.js +157 -0
- package/dist/_chunks/colors-DiK6wPJ5.js +13 -0
- package/dist/_chunks/command-utils-BsfkmTqh.js +45 -0
- package/dist/_chunks/compiler-uoyAQ8zW.js +424 -0
- package/dist/_chunks/config-D5u-bEkn.js +78 -0
- package/dist/_chunks/config-path-DCPto4XB.js +42 -0
- package/dist/_chunks/context-CX50Y2Kb.js +2250 -0
- package/dist/_chunks/decorators-QmV57ixr.js +19 -0
- package/dist/_chunks/dependencies-C2oxFjU_.js +57 -0
- package/dist/_chunks/deploy-DMTr6JeR.js +915 -0
- package/dist/_chunks/dev-CvRHmRFZ.js +3456 -0
- package/dist/_chunks/doctor-DIG8DoFU.js +219 -0
- package/dist/_chunks/durable-object-DMtH0XYX.js +234 -0
- package/dist/_chunks/env-S0_nMVz1.js +125 -0
- package/dist/_chunks/family-DXC5SdFK.js +143 -0
- package/dist/_chunks/generated-artifacts-dMJY4KAt.js +32 -0
- package/dist/_chunks/glob-CmQOvunB.js +56 -0
- package/dist/_chunks/init-3moXTgpb.js +165 -0
- package/dist/_chunks/loader-DLXO60RO.js +1153 -0
- package/dist/_chunks/local-dev-vars-CTSa-wvF.js +81 -0
- package/dist/_chunks/local-hyperdrive-CJ90j46O.js +119 -0
- package/dist/_chunks/local-media-bindings-DsAW4AMF.js +335 -0
- package/dist/_chunks/local-secrets-DMmEOygL.js +123 -0
- package/dist/_chunks/local-workflow-entrypoints-Wip3o1u8.js +90 -0
- package/dist/_chunks/login-BmnDzDlH.js +51 -0
- package/dist/_chunks/package-metadata-DAuCkyvK.js +39 -0
- package/dist/_chunks/preferences-BKp_7XJx.js +241 -0
- package/dist/_chunks/preview-BhqDmq8I.js +456 -0
- package/dist/_chunks/preview-registry-ClAbLTHH.js +1186 -0
- package/dist/_chunks/preview-resources-DdXj8LMM.js +358 -0
- package/dist/_chunks/previews-Dlr13x5M.js +1134 -0
- package/dist/_chunks/productions-D3AnOHac.js +411 -0
- package/dist/_chunks/ref-CYJNAAe_.js +178 -0
- package/dist/_chunks/remote-CZnP-HLJ.js +79 -0
- package/dist/_chunks/remote-config-D39BY9ji.js +132 -0
- package/dist/_chunks/resolve-package-Y84HB3Nt.js +133 -0
- package/dist/_chunks/rolldown-runtime-CvQ6eiug.js +14 -0
- package/dist/_chunks/routes-C3FqES2W.js +796 -0
- package/dist/_chunks/runtime-FvXvfuZ2.js +550 -0
- package/dist/_chunks/schema-normalization-DWVleVxo.js +477 -0
- package/dist/_chunks/secrets-70eN0Q6C.js +95 -0
- package/dist/_chunks/token-kguIDmej.js +333 -0
- package/dist/_chunks/tokens-iVcgNXi-.js +221 -0
- package/dist/_chunks/types-OrLbzv4I.js +476 -0
- package/dist/_chunks/ui-BUoZApvE.js +103 -0
- package/dist/_chunks/usage-BBTGzjon.js +272 -0
- package/dist/_chunks/vite-CsI0E-uV.js +1235 -0
- package/dist/_chunks/vite-utils-OVLMV605.js +183 -0
- package/dist/_chunks/worker-CS1jgNFE.js +410 -0
- package/dist/_chunks/worker-bundler-dTTnYU3n.js +458 -0
- package/dist/_chunks/worker-entrypoint-CQW77lG8.js +247 -0
- package/dist/_chunks/workerName-CFJsLZA-.js +23 -0
- package/dist/bridge/index.d.ts +6 -6
- package/dist/bridge/miniflare.d.ts +2 -2
- package/dist/bridge/proxy.d.ts +1 -1
- package/dist/bridge/v2/body-streams.d.ts +1 -1
- package/dist/bridge/v2/codec.d.ts +4 -4
- package/dist/bridge/v2/index.d.ts +10 -10
- package/dist/bridge/v2/serialization.d.ts +1 -1
- package/dist/bridge/v2/value-codec.d.ts +1 -1
- package/dist/bridge/v2/value-serialization.d.ts.map +1 -1
- package/dist/bridge/v2/ws-relay.d.ts +3 -3
- package/dist/browser-shim/index.d.ts +2 -2
- package/dist/browser.d.ts +70 -70
- package/dist/browser.js +74 -2462
- package/dist/bundler/do-bundler.d.ts +1 -1
- package/dist/bundler/index.d.ts +3 -3
- package/dist/bundler/rolldown-shared.d.ts +1 -1
- package/dist/bundler/worker-bundler.d.ts +1 -1
- package/dist/cli/build-manifest.d.ts +1 -1
- package/dist/cli/command-utils.d.ts +1 -1
- package/dist/cli/commands/account.d.ts +1 -1
- package/dist/cli/commands/ai.d.ts +1 -1
- package/dist/cli/commands/build-artifacts.d.ts +5 -5
- package/dist/cli/commands/build.d.ts +1 -1
- package/dist/cli/commands/config.d.ts +1 -1
- package/dist/cli/commands/deploy/prepare.d.ts +2 -2
- package/dist/cli/commands/deploy/runtime.d.ts +1 -1
- package/dist/cli/commands/deploy/verification.d.ts +1 -1
- package/dist/cli/commands/deploy.d.ts +1 -1
- package/dist/cli/commands/dev.d.ts +1 -1
- package/dist/cli/commands/doctor.d.ts +1 -1
- package/dist/cli/commands/init.d.ts +1 -1
- package/dist/cli/commands/login.d.ts +1 -1
- package/dist/cli/commands/previews-support/cleanup.d.ts +1 -1
- package/dist/cli/commands/previews-support/family.d.ts +3 -3
- package/dist/cli/commands/previews-support/render.d.ts +3 -3
- package/dist/cli/commands/previews-support/theme.d.ts +2 -2
- package/dist/cli/commands/previews-support/types.d.ts +2 -2
- package/dist/cli/commands/previews.d.ts +1 -1
- package/dist/cli/commands/productions.d.ts +1 -1
- package/dist/cli/commands/remote.d.ts +1 -1
- package/dist/cli/commands/secrets.d.ts +1 -1
- package/dist/cli/commands/token.d.ts +1 -1
- package/dist/cli/commands/type-generation/discovery.d.ts +2 -2
- package/dist/cli/commands/type-generation/generator.d.ts +3 -3
- package/dist/cli/commands/type-generation/models.d.ts +1 -1
- package/dist/cli/commands/types.d.ts +1 -1
- package/dist/cli/commands/worker.d.ts +1 -1
- package/dist/cli/deploy-strategy.d.ts +1 -1
- package/dist/cli/deploy-target.d.ts +1 -1
- package/dist/cli/help-pages/pages/account.d.ts +1 -1
- package/dist/cli/help-pages/pages/core.d.ts +1 -1
- package/dist/cli/help-pages/pages/index.d.ts +1 -1
- package/dist/cli/help-pages/pages/misc.d.ts +1 -1
- package/dist/cli/help-pages/pages/previews.d.ts +1 -1
- package/dist/cli/help-pages/pages/productions.d.ts +1 -1
- package/dist/cli/help-pages/render.d.ts +2 -2
- package/dist/cli/help-pages/shared.d.ts +1 -1
- package/dist/cli/help.d.ts +2 -2
- package/dist/cli/index.js +2 -1383
- package/dist/cli/preview-bindings.d.ts +3 -3
- package/dist/cli/preview.d.ts +1 -1
- package/dist/cli/wrangler-auth.d.ts +1 -1
- package/dist/cloudflare/account-core.d.ts +2 -2
- package/dist/cloudflare/account-resources.d.ts +2 -2
- package/dist/cloudflare/account-status.d.ts +1 -1
- package/dist/cloudflare/account-workers.d.ts +2 -2
- package/dist/cloudflare/account.d.ts +7 -7
- package/dist/cloudflare/auth.d.ts +1 -1
- package/dist/cloudflare/index.d.ts +13 -13
- package/dist/cloudflare/index.js +4 -59
- package/dist/cloudflare/kv-namespace.d.ts +1 -1
- package/dist/cloudflare/preview-registry-cache.d.ts +1 -1
- package/dist/cloudflare/preview-registry-inference.d.ts +2 -2
- package/dist/cloudflare/preview-registry-records.d.ts +3 -3
- package/dist/cloudflare/preview-registry-shape.d.ts +2 -2
- package/dist/cloudflare/preview-registry-store.d.ts +3 -3
- package/dist/cloudflare/preview-registry-transport.d.ts +2 -2
- package/dist/cloudflare/preview-registry-types.d.ts +2 -2
- package/dist/cloudflare/preview-registry.d.ts +5 -5
- package/dist/cloudflare/tokens.d.ts +2 -2
- package/dist/cloudflare/usage.d.ts +2 -2
- package/dist/config/binding-resolution-helpers.d.ts +1 -1
- package/dist/config/compiler/bindings.d.ts +2 -2
- package/dist/config/compiler/core-helpers.d.ts +2 -2
- package/dist/config/compiler/do-workers.d.ts +2 -2
- package/dist/config/compiler/paths.d.ts +1 -1
- package/dist/config/compiler.d.ts +6 -6
- package/dist/config/define.d.ts +2 -2
- package/dist/config/deploy-resources.d.ts +5 -5
- package/dist/config/env-vars.d.ts +1 -1
- package/dist/config/framework-providers.d.ts +1 -1
- package/dist/config/index.d.ts +12 -12
- package/dist/config/loader.d.ts +2 -2
- package/dist/config/local-dev-vars.d.ts +1 -1
- package/dist/config/preview-resources.d.ts +4 -4
- package/dist/config/preview.d.ts +1 -1
- package/dist/config/ref.d.ts +2 -2
- package/dist/config/resolve-phased.d.ts +4 -4
- package/dist/config/resolve.d.ts +1 -1
- package/dist/config/resource-resolution.d.ts +6 -6
- package/dist/config/schema-env.d.ts +20 -20
- package/dist/config/schema-normalization.d.ts +1 -1
- package/dist/config/schema-types-bindings.d.ts +4 -4
- package/dist/config/schema-types-build.d.ts +1 -1
- package/dist/config/schema-types.d.ts +7 -7
- package/dist/config/schema.d.ts +46 -46
- package/dist/config/service-bindings-validation.d.ts +1 -1
- package/dist/config-entry.d.ts +6 -6
- package/dist/config-entry.js +3 -8
- package/dist/decorators/index.d.ts +2 -2
- package/dist/decorators/index.js +2 -9
- package/dist/dev-server/d1-migrations.d.ts +1 -1
- package/dist/dev-server/dev-server-state.d.ts +6 -6
- package/dist/dev-server/gateway-script.d.ts +1 -1
- package/dist/dev-server/index.d.ts +1 -1
- package/dist/dev-server/miniflare-bindings.d.ts +1 -1
- package/dist/dev-server/miniflare-dev-config.d.ts +5 -5
- package/dist/dev-server/miniflare-worker-config.d.ts +3 -3
- package/dist/dev-server/server-startup-helpers.d.ts +6 -6
- package/dist/dev-server/worker-surface-paths.d.ts +2 -2
- package/dist/index.d.ts +8 -8
- package/dist/index.js +9 -22
- package/dist/runtime/context-events.d.ts +1 -1
- package/dist/runtime/context.d.ts +3 -3
- package/dist/runtime/exports.d.ts +2 -2
- package/dist/runtime/index.d.ts +10 -10
- package/dist/runtime/index.js +5 -57
- package/dist/runtime/middleware.d.ts +1 -1
- package/dist/runtime/router/index.d.ts +3 -3
- package/dist/runtime/validation.d.ts +1 -1
- package/dist/secrets/local-secrets.d.ts +1 -1
- package/dist/shims/local-media-bindings.d.ts +1 -1
- package/dist/sveltekit/index.d.ts +1 -1
- package/dist/sveltekit/index.js +327 -9
- package/dist/sveltekit/local-bindings.d.ts +1 -1
- package/dist/sveltekit/platform.d.ts +1 -1
- package/dist/test/binding-hints.d.ts +2 -2
- package/dist/test/cf.d.ts +19 -19
- package/dist/test/index.d.ts +18 -18
- package/dist/test/index.js +4495 -46
- package/dist/test/offline-bindings.d.ts +3 -3
- package/dist/test/resolve-service-bindings.d.ts +1 -1
- package/dist/test/simple-context-bindings.d.ts +1 -1
- package/dist/test/simple-context-durable-objects.d.ts +1 -1
- package/dist/test/simple-context-env.d.ts +2 -2
- package/dist/test/simple-context-handlers.d.ts +2 -2
- package/dist/test/simple-context-lifecycle.d.ts +2 -2
- package/dist/test/simple-context-mfconfig.d.ts +1 -1
- package/dist/test/simple-context-multi-worker.d.ts +2 -2
- package/dist/test/simple-context-runtime.d.ts +1 -1
- package/dist/test/simple-context-startup.d.ts +1 -1
- package/dist/test/simple-context.d.ts +1 -1
- package/dist/test/utilities/env.d.ts +3 -3
- package/dist/test/utilities.d.ts +10 -10
- package/dist/test/worker.d.ts +1 -1
- package/dist/transform/index.d.ts +2 -2
- package/dist/utils/send-email.js +163 -19
- package/dist/vite/config-file.d.ts +2 -2
- package/dist/vite/index.d.ts +3 -3
- package/dist/vite/index.js +2 -31
- package/dist/vite/plugin-config-hook.d.ts +1 -1
- package/dist/vite/plugin-context.d.ts +3 -3
- package/dist/vite/plugin-durable-objects.d.ts +2 -2
- package/dist/vite/plugin-programmatic.d.ts +1 -1
- package/dist/vite/plugin-service-bindings.d.ts +2 -2
- package/dist/vite/plugin.d.ts +3 -3
- package/dist/worker-entry/composed-worker.d.ts +1 -1
- package/dist/worker-entry/routes.d.ts +2 -2
- package/dist/worker-entry/surface-paths.d.ts +1 -1
- package/dist/workflows/local-workflow-entrypoints.d.ts +1 -1
- package/package.json +5 -3
- package/dist/account-4tgh03a8.js +0 -484
- package/dist/ai-r3zqmxan.js +0 -261
- package/dist/api-6z01z734.js +0 -33
- package/dist/build-kw625v84.js +0 -51
- package/dist/config-ghk2bxj3.js +0 -102
- package/dist/deploy-9kee65n9.js +0 -1062
- package/dist/dev-x8zr249a.js +0 -3569
- package/dist/doctor-0ng5qrr1.js +0 -258
- package/dist/durable-object-0ybmg08a.js +0 -13
- package/dist/index-04wh9bxx.js +0 -514
- package/dist/index-0cc05hzv.js +0 -74
- package/dist/index-2yv7w548.js +0 -185
- package/dist/index-37x76zdn.js +0 -4
- package/dist/index-3cpzsr47.js +0 -125
- package/dist/index-3t6rypgc.js +0 -13
- package/dist/index-4mmpccrb.js +0 -309
- package/dist/index-5dkjffqz.js +0 -25
- package/dist/index-5hy7jmv3.js +0 -890
- package/dist/index-627srx16.js +0 -45
- package/dist/index-7m557715.js +0 -283
- package/dist/index-a8pnvg3r.js +0 -52
- package/dist/index-aabgympv.js +0 -39
- package/dist/index-atwc3csp.js +0 -256
- package/dist/index-cv4cvrxe.js +0 -2046
- package/dist/index-h7r11y4a.js +0 -539
- package/dist/index-hvtd936d.js +0 -1229
- package/dist/index-kcp7y951.js +0 -136
- package/dist/index-maw0jjnn.js +0 -147
- package/dist/index-mek9msfv.js +0 -705
- package/dist/index-n4xkaymm.js +0 -236
- package/dist/index-nkk59p3y.js +0 -579
- package/dist/index-phcrvs6d.js +0 -342
- package/dist/index-se4kw8tm.js +0 -460
- package/dist/index-x8s9rwfh.js +0 -2020
- package/dist/index-y7w3x9p1.js +0 -18
- package/dist/index-z9gy8w6b.js +0 -57
- package/dist/index-zdd0d9qa.js +0 -199
- package/dist/init-tb8jqgvr.js +0 -180
- package/dist/login-4h1sfsed.js +0 -75
- package/dist/previews-qr7c5j8h.js +0 -1336
- package/dist/productions-xpmd6bw8.js +0 -505
- package/dist/remote-kqcvhnfx.js +0 -192
- package/dist/secrets-6wbdsdek.js +0 -89
- package/dist/token-yp1qa70y.js +0 -419
- package/dist/types-15yv4cj3.js +0 -701
- package/dist/worker-1yg72jxg.js +0 -510
- package/dist/worker-entrypoint-y8s9kdcx.js +0 -15
package/dist/bundler/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { type DOBundlerOptions, type DOBundleResult, type DOBundler, createDOBundler, bundleDOs } from './do-bundler';
|
|
2
|
-
export { type WorkerBundlerOptions, bundleWorkerEntry } from './worker-bundler';
|
|
3
|
-
export { type AliasEntry, type AliasInput, mergeAliases, normalizeAliasEntries } from './rolldown-shared';
|
|
1
|
+
export { type DOBundlerOptions, type DOBundleResult, type DOBundler, createDOBundler, bundleDOs } from './do-bundler.js';
|
|
2
|
+
export { type WorkerBundlerOptions, bundleWorkerEntry } from './worker-bundler.js';
|
|
3
|
+
export { type AliasEntry, type AliasInput, mergeAliases, normalizeAliasEntries } from './rolldown-shared.js';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { InputOptions, OutputOptions } from 'rolldown';
|
|
2
|
-
import type { DevflareRolldownOptions } from '../config/schema';
|
|
2
|
+
import type { DevflareRolldownOptions } from '../config/schema.js';
|
|
3
3
|
/**
|
|
4
4
|
* Single alias entry. `find` may be a string or RegExp; `replacement` is the
|
|
5
5
|
* module id / absolute path the matched specifier resolves to.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { APIClientOptions } from '../cloudflare/api';
|
|
1
|
+
import type { APIClientOptions } from '../cloudflare/api.js';
|
|
2
2
|
export type NamedSelectionSource = 'option' | 'arg' | 'config' | 'none';
|
|
3
3
|
export declare function asOptionalString(value: string | boolean | undefined): string | undefined;
|
|
4
4
|
export declare function resolveNamedSelection(options: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ConsolaInstance } from 'consola';
|
|
2
|
-
import type { CliOptions, CliResult, ParsedArgs } from '../index';
|
|
2
|
+
import type { CliOptions, CliResult, ParsedArgs } from '../index.js';
|
|
3
3
|
export declare function runAccountCommand(parsed: ParsedArgs, logger: ConsolaInstance, options: CliOptions): Promise<CliResult>;
|
|
4
4
|
//# sourceMappingURL=account.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { ConsolaInstance } from 'consola';
|
|
2
|
-
import { type DevflareConfig } from '../../config';
|
|
3
|
-
import { type WranglerConfig } from '../../config/compiler';
|
|
4
|
-
import { type EffectiveViteProjectDetection } from '../../vite';
|
|
5
|
-
import type { FileSystem } from '../dependencies';
|
|
6
|
-
import type { CliOptions, ParsedArgs } from '../index';
|
|
2
|
+
import { type DevflareConfig } from '../../config/index.js';
|
|
3
|
+
import { type WranglerConfig } from '../../config/compiler.js';
|
|
4
|
+
import { type EffectiveViteProjectDetection } from '../../vite/index.js';
|
|
5
|
+
import type { FileSystem } from '../dependencies.js';
|
|
6
|
+
import type { CliOptions, ParsedArgs } from '../index.js';
|
|
7
7
|
export interface PreparedBuildArtifactsResult {
|
|
8
8
|
config: DevflareConfig;
|
|
9
9
|
wranglerConfig: WranglerConfig;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ConsolaInstance } from 'consola';
|
|
2
|
-
import type { CliOptions, CliResult, ParsedArgs } from '../index';
|
|
2
|
+
import type { CliOptions, CliResult, ParsedArgs } from '../index.js';
|
|
3
3
|
export declare function runBuildCommand(parsed: ParsedArgs, logger: ConsolaInstance, options: CliOptions): Promise<CliResult>;
|
|
4
4
|
//# sourceMappingURL=build.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ConsolaInstance } from 'consola';
|
|
2
|
-
import type { CliOptions, CliResult, ParsedArgs } from '../index';
|
|
2
|
+
import type { CliOptions, CliResult, ParsedArgs } from '../index.js';
|
|
3
3
|
export declare function runConfigCommand(parsed: ParsedArgs, logger: ConsolaInstance, options: CliOptions): Promise<CliResult>;
|
|
4
4
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ConsolaInstance } from 'consola';
|
|
2
|
-
import { type DeployResourceNames, type DevflareConfig, type PrepareConfigResourcesForDeployResult, type WranglerConfig } from '../../../config';
|
|
3
|
-
import { preparePreviewScopedResourcesForDeploy } from '../../../config/preview-resources';
|
|
2
|
+
import { type DeployResourceNames, type DevflareConfig, type PrepareConfigResourcesForDeployResult, type WranglerConfig } from '../../../config/index.js';
|
|
3
|
+
import { preparePreviewScopedResourcesForDeploy } from '../../../config/preview-resources.js';
|
|
4
4
|
export interface PreparedDeployConfigResult {
|
|
5
5
|
config: DevflareConfig;
|
|
6
6
|
deployConfigPath: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getDependencies } from '../../dependencies';
|
|
1
|
+
import { getDependencies } from '../../dependencies.js';
|
|
2
2
|
export declare function getCurrentGitBranch(cwd: string): Promise<string | null>;
|
|
3
3
|
export declare function resolveLocalWranglerExecutable(cwd: string, fs: Awaited<ReturnType<typeof getDependencies>>['fs']): Promise<string | null>;
|
|
4
4
|
//# sourceMappingURL=runtime.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ConsolaInstance } from 'consola';
|
|
2
|
-
import { type createCliTheme } from '../../ui';
|
|
2
|
+
import { type createCliTheme } from '../../ui.js';
|
|
3
3
|
export declare function shouldVerifyDeployControlPlane(): boolean;
|
|
4
4
|
export declare function shouldRequireFreshProductionDeployment(): boolean;
|
|
5
5
|
export declare function normalizeCloudflareAccountId(value: string | undefined): string | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ConsolaInstance } from 'consola';
|
|
2
|
-
import type { CliOptions, CliResult, ParsedArgs } from '../index';
|
|
2
|
+
import type { CliOptions, CliResult, ParsedArgs } from '../index.js';
|
|
3
3
|
export declare function runDeployCommand(parsed: ParsedArgs, logger: ConsolaInstance, options: CliOptions): Promise<CliResult>;
|
|
4
4
|
//# sourceMappingURL=deploy.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ConsolaInstance } from 'consola';
|
|
2
|
-
import type { CliOptions, CliResult, ParsedArgs } from '../index';
|
|
2
|
+
import type { CliOptions, CliResult, ParsedArgs } from '../index.js';
|
|
3
3
|
export declare function resolveDevRuntimePort(options: Record<string, string | boolean>, env?: NodeJS.ProcessEnv, configPort?: number): number;
|
|
4
4
|
/**
|
|
5
5
|
* Resolve the host the local Miniflare runtime instance binds to.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ConsolaInstance } from 'consola';
|
|
2
|
-
import type { CliOptions, CliResult, ParsedArgs } from '../index';
|
|
2
|
+
import type { CliOptions, CliResult, ParsedArgs } from '../index.js';
|
|
3
3
|
export declare function runDoctorCommand(parsed: ParsedArgs, logger: ConsolaInstance, options: CliOptions): Promise<CliResult>;
|
|
4
4
|
//# sourceMappingURL=doctor.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ConsolaInstance } from 'consola';
|
|
2
|
-
import type { CliOptions, CliResult, ParsedArgs } from '../index';
|
|
2
|
+
import type { CliOptions, CliResult, ParsedArgs } from '../index.js';
|
|
3
3
|
export declare function runInitCommand(parsed: ParsedArgs, logger: ConsolaInstance, options: CliOptions): Promise<CliResult>;
|
|
4
4
|
//# sourceMappingURL=init.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ConsolaInstance } from 'consola';
|
|
2
|
-
import type { CliOptions, CliResult, ParsedArgs } from '../index';
|
|
2
|
+
import type { CliOptions, CliResult, ParsedArgs } from '../index.js';
|
|
3
3
|
export declare function runLoginCommand(parsed: ParsedArgs, logger: ConsolaInstance, options: CliOptions): Promise<CliResult>;
|
|
4
4
|
//# sourceMappingURL=login.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ConsolaInstance } from 'consola';
|
|
2
|
-
import type { PreviewCleanupExecution, PreviewCleanupTarget, PreviewOutputTheme, PreviewScopeSelection } from './types';
|
|
2
|
+
import type { PreviewCleanupExecution, PreviewCleanupTarget, PreviewOutputTheme, PreviewScopeSelection } from './types.js';
|
|
3
3
|
export declare function buildPreviewCleanupTarget(scope: string, workerCandidatesByScope: Map<string, string[]>, environment: string | undefined): PreviewCleanupTarget;
|
|
4
4
|
export declare function buildPreviewCleanupTargets(workerCandidatesByScope: Map<string, string[]>, environment: string | undefined): PreviewCleanupTarget[];
|
|
5
5
|
export declare function getPreviewCleanupResourceCandidateCount(result: PreviewCleanupExecution['result']): number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { WorkerInfo } from '../../../cloudflare';
|
|
2
|
-
import { type DevflareConfig } from '../../../config';
|
|
3
|
-
import type { ConfiguredWorkerFamilyMember, PreviewScopeRow, StableWorkerRow } from './types';
|
|
1
|
+
import type { WorkerInfo } from '../../../cloudflare/index.js';
|
|
2
|
+
import { type DevflareConfig } from '../../../config/index.js';
|
|
3
|
+
import type { ConfiguredWorkerFamilyMember, PreviewScopeRow, StableWorkerRow } from './types.js';
|
|
4
4
|
export declare function collectConfiguredWorkerFamilies(config: DevflareConfig, environment: string | undefined): ConfiguredWorkerFamilyMember[];
|
|
5
5
|
export declare function getWorkerScopeSuffix(workerName: string, baseName: string): string | undefined;
|
|
6
6
|
export declare function buildStableWorkerRowsFromLiveWorkers(families: ConfiguredWorkerFamilyMember[], workers: WorkerInfo[], workersSubdomain: string | null | undefined): StableWorkerRow[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ConsolaInstance } from 'consola';
|
|
2
|
-
import type { WorkerInfo } from '../../../cloudflare';
|
|
3
|
-
import type { inspectBindingAssociations } from '../../preview-bindings';
|
|
4
|
-
import type { ConfiguredWorkerFamilyMember, PreviewOutputTheme } from './types';
|
|
2
|
+
import type { WorkerInfo } from '../../../cloudflare/index.js';
|
|
3
|
+
import type { inspectBindingAssociations } from '../../preview-bindings.js';
|
|
4
|
+
import type { ConfiguredWorkerFamilyMember, PreviewOutputTheme } from './types.js';
|
|
5
5
|
export declare function showWorkerFamilyOverviewFromLiveWorkers(families: ConfiguredWorkerFamilyMember[], workers: WorkerInfo[], workersSubdomain: string | null | undefined, logger: ConsolaInstance, theme: PreviewOutputTheme): void;
|
|
6
6
|
export declare function showWorkspaceWorkerFamilyOverviewFromLiveWorkers(familyGroups: ConfiguredWorkerFamilyMember[][], workers: WorkerInfo[], workersSubdomain: string | null | undefined, logger: ConsolaInstance, theme: PreviewOutputTheme): void;
|
|
7
7
|
export declare function showBindingAssociations(logger: ConsolaInstance, inspection: Awaited<ReturnType<typeof inspectBindingAssociations>>, theme: PreviewOutputTheme): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { bold, cyan, cyanBold, dim, formatTableLine, green, logLine, red, whiteDim, yellow, yellowBold } from '../../ui';
|
|
2
|
-
import type { PreviewOutputTheme, PreviewScopeRow, StableWorkerRow } from './types';
|
|
1
|
+
import { bold, cyan, cyanBold, dim, formatTableLine, green, logLine, red, whiteDim, yellow, yellowBold } from '../../ui.js';
|
|
2
|
+
import type { PreviewOutputTheme, PreviewScopeRow, StableWorkerRow } from './types.js';
|
|
3
3
|
export { bold, cyan, cyanBold, dim, formatTableLine, green, logLine, red, whiteDim, yellow, yellowBold };
|
|
4
4
|
export declare function shouldUseColor(options: Record<string, string | boolean>): boolean;
|
|
5
5
|
export declare function formatRecordDate(date: Date | undefined): string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { PreviewIdentifierSource } from '../../../config';
|
|
2
|
-
import type { cleanupPreviewScopedResources } from '../../../config/preview-resources';
|
|
1
|
+
import type { PreviewIdentifierSource } from '../../../config/index.js';
|
|
2
|
+
import type { cleanupPreviewScopedResources } from '../../../config/preview-resources.js';
|
|
3
3
|
export declare const PREVIEW_SUBCOMMANDS: readonly ['list', 'bindings', 'cleanup'];
|
|
4
4
|
export type PreviewSubcommand = (typeof PREVIEW_SUBCOMMANDS)[number];
|
|
5
5
|
export type WorkerNameSource = 'option' | 'arg' | 'config' | 'none';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ConsolaInstance } from 'consola';
|
|
2
|
-
import type { CliOptions, CliResult, ParsedArgs } from '../index';
|
|
2
|
+
import type { CliOptions, CliResult, ParsedArgs } from '../index.js';
|
|
3
3
|
export declare function runPreviewsCommand(parsed: ParsedArgs, logger: ConsolaInstance, options: CliOptions): Promise<CliResult>;
|
|
4
4
|
//# sourceMappingURL=previews.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ConsolaInstance } from 'consola';
|
|
2
|
-
import type { CliOptions, CliResult, ParsedArgs } from '../index';
|
|
2
|
+
import type { CliOptions, CliResult, ParsedArgs } from '../index.js';
|
|
3
3
|
export declare function runProductionsCommand(parsed: ParsedArgs, logger: ConsolaInstance, options: CliOptions): Promise<CliResult>;
|
|
4
4
|
//# sourceMappingURL=productions.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ConsolaInstance } from 'consola';
|
|
2
|
-
import type { CliOptions, CliResult, ParsedArgs } from '../index';
|
|
2
|
+
import type { CliOptions, CliResult, ParsedArgs } from '../index.js';
|
|
3
3
|
export declare function runRemoteCommand(parsed: ParsedArgs, _logger: ConsolaInstance, _options: CliOptions): CliResult;
|
|
4
4
|
//# sourceMappingURL=remote.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ConsolaInstance } from 'consola';
|
|
2
|
-
import type { CliOptions, CliResult, ParsedArgs } from '../index';
|
|
2
|
+
import type { CliOptions, CliResult, ParsedArgs } from '../index.js';
|
|
3
3
|
export declare function runSecretsCommand(parsed: ParsedArgs, logger: ConsolaInstance, options: CliOptions): CliResult;
|
|
4
4
|
//# sourceMappingURL=secrets.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ConsolaInstance } from 'consola';
|
|
2
|
-
import type { CliOptions, CliResult, ParsedArgs } from '../index';
|
|
2
|
+
import type { CliOptions, CliResult, ParsedArgs } from '../index.js';
|
|
3
3
|
export declare function runTokenCommand(parsed: ParsedArgs, logger: ConsolaInstance, _options: CliOptions): Promise<CliResult>;
|
|
4
4
|
//# sourceMappingURL=token.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type DiscoveredEntrypoint } from '../../../utils/entrypoint-discovery';
|
|
2
|
-
import type { DiscoveredDO, ReferencedConfig } from './models';
|
|
1
|
+
import { type DiscoveredEntrypoint } from '../../../utils/entrypoint-discovery.js';
|
|
2
|
+
import type { DiscoveredDO, ReferencedConfig } from './models.js';
|
|
3
3
|
export declare function discoverDurableObjects(cwd: string, pattern?: string): Promise<DiscoveredDO[]>;
|
|
4
4
|
export declare function generateImportPath(cwd: string, filePath: string): string;
|
|
5
5
|
export declare function resolveReferencedConfigs(configPath: string, cwd: string): Promise<ReferencedConfig[]>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { D1Binding, HyperdriveBinding, KVBinding } from '../../../config';
|
|
2
|
-
import type { DiscoveredEntrypoint } from '../../../utils/entrypoint-discovery';
|
|
3
|
-
import type { DiscoveredDO, ReferencedConfig } from './models';
|
|
1
|
+
import type { D1Binding, HyperdriveBinding, KVBinding } from '../../../config/index.js';
|
|
2
|
+
import type { DiscoveredEntrypoint } from '../../../utils/entrypoint-discovery.js';
|
|
3
|
+
import type { DiscoveredDO, ReferencedConfig } from './models.js';
|
|
4
4
|
interface TypeGenerationConfig {
|
|
5
5
|
rules?: Array<{
|
|
6
6
|
type?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ConsolaInstance } from 'consola';
|
|
2
|
-
import type { CliOptions, CliResult, ParsedArgs } from '../index';
|
|
2
|
+
import type { CliOptions, CliResult, ParsedArgs } from '../index.js';
|
|
3
3
|
export declare function runTypesCommand(parsed: ParsedArgs, logger: ConsolaInstance, options: CliOptions): Promise<CliResult>;
|
|
4
4
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ConsolaInstance } from 'consola';
|
|
2
|
-
import type { CliOptions, CliResult, ParsedArgs } from '../index';
|
|
2
|
+
import type { CliOptions, CliResult, ParsedArgs } from '../index.js';
|
|
3
3
|
export declare function runWorkerCommand(parsed: ParsedArgs, logger: ConsolaInstance, options: CliOptions): Promise<CliResult>;
|
|
4
4
|
//# sourceMappingURL=worker.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HelpPage } from '../types';
|
|
1
|
+
import type { HelpPage } from '../types.js';
|
|
2
2
|
export declare const CORE_HELP_PAGES: HelpPage[];
|
|
3
3
|
export declare const CORE_COMMANDS: readonly ["init", "dev", "build", "deploy", "types", "doctor", "config", "account", "login", "previews", "productions", "worker", "tokens", "secrets", "ai", "remote", "help", "version"];
|
|
4
4
|
//# sourceMappingURL=core.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type CliTheme, bold } from '../ui';
|
|
2
|
-
import type { HelpPage } from './types';
|
|
1
|
+
import { type CliTheme, bold } from '../ui.js';
|
|
2
|
+
import type { HelpPage } from './types.js';
|
|
3
3
|
export declare function createHelpPageMap(pages: HelpPage[]): Map<string, HelpPage>;
|
|
4
4
|
export declare function canonicalizeHelpPath(path: string[]): string[];
|
|
5
5
|
export declare function resolveHelpPage(path: string[], helpPageMap: Map<string, HelpPage>): HelpPage | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HelpEntry, HelpPage } from './types';
|
|
1
|
+
import type { HelpEntry, HelpPage } from './types.js';
|
|
2
2
|
export declare const COMMANDS: readonly ['init', 'dev', 'build', 'deploy', 'types', 'doctor', 'config', 'account', 'login', 'previews', 'productions', 'worker', 'tokens', 'secrets', 'ai', 'remote', 'help', 'version'];
|
|
3
3
|
export type Command = (typeof COMMANDS)[number];
|
|
4
4
|
export declare const COMMAND_ALIASES: Record<string, string>;
|
package/dist/cli/help.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { COMMANDS, type Command } from './help-pages/shared';
|
|
2
|
-
import type { RenderedHelp } from './help-pages/types';
|
|
1
|
+
import { COMMANDS, type Command } from './help-pages/shared.js';
|
|
2
|
+
import type { RenderedHelp } from './help-pages/types.js';
|
|
3
3
|
export { COMMANDS };
|
|
4
4
|
export type { Command };
|
|
5
5
|
export declare function renderHelp(path: string[], options?: Record<string, string | boolean>): RenderedHelp | undefined;
|