devflare 1.0.0-next.40 → 1.0.0-next.41
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/{build-3T6O4uIg.js → build-C0pZGUL7.js} +1 -1
- package/dist/_chunks/{build-artifacts-8TqBSQkG.js → build-artifacts-CGdnp2BT.js} +1 -1
- package/dist/_chunks/{cli-BTF1X4SG.js → cli-DPeh2U50.js} +5 -5
- package/dist/_chunks/{deploy-DMTr6JeR.js → deploy-C2siy20T.js} +2 -2
- package/dist/_chunks/{doctor-DIG8DoFU.js → doctor-C0g8X36G.js} +1 -1
- package/dist/_chunks/{init-3moXTgpb.js → init-DnkJOmpW.js} +1 -1
- package/dist/_chunks/{package-metadata-DAuCkyvK.js → package-metadata-DjHBLB-z.js} +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as cyanBold, f as logLine, o as dim, r as createCliTheme } from "./ui-BUoZApvE.js";
|
|
2
|
-
import { t as prepareBuildArtifacts } from "./build-artifacts-
|
|
2
|
+
import { t as prepareBuildArtifacts } from "./build-artifacts-CGdnp2BT.js";
|
|
3
3
|
//#region src/cli/commands/build.ts
|
|
4
4
|
async function runBuildCommand(parsed, logger, options) {
|
|
5
5
|
const theme = createCliTheme(parsed.options);
|
|
@@ -2,7 +2,7 @@ import { d as resolveConfigEnvVars } from "./preview-BhqDmq8I.js";
|
|
|
2
2
|
import { r as loadConfig, u as resolveConfigForEnvironment } from "./loader-DLXO60RO.js";
|
|
3
3
|
import { c as writeWranglerConfig, i as isolateViteBuildOutputPaths$1, o as rebaseWranglerConfigPaths, t as compileBuildConfig } from "./compiler-uoyAQ8zW.js";
|
|
4
4
|
import { f as logLine } from "./ui-BUoZApvE.js";
|
|
5
|
-
import { n as getPackageVersion } from "./package-metadata-
|
|
5
|
+
import { n as getPackageVersion } from "./package-metadata-DjHBLB-z.js";
|
|
6
6
|
import { t as resolvePackageSpecifier } from "./resolve-package-Y84HB3Nt.js";
|
|
7
7
|
import { i as writeGeneratedViteConfig, l as prepareComposedWorkerEntrypoint, n as resolveEffectiveViteProject } from "./vite-CsI0E-uV.js";
|
|
8
8
|
import { t as bundleWorkerEntry } from "./worker-bundler-dTTnYU3n.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-BUoZApvE.js";
|
|
2
|
-
import { n as getPackageVersion } from "./package-metadata-
|
|
2
|
+
import { n as getPackageVersion } from "./package-metadata-DjHBLB-z.js";
|
|
3
3
|
import { readFile, readdir, stat } from "node:fs/promises";
|
|
4
4
|
import { dirname, join } from "pathe";
|
|
5
5
|
import { createConsola } from "consola";
|
|
@@ -1058,7 +1058,7 @@ async function runCli(argv, options = {}) {
|
|
|
1058
1058
|
}
|
|
1059
1059
|
}
|
|
1060
1060
|
async function runInit(parsed, logger, options) {
|
|
1061
|
-
const { runInitCommand } = await import("./init-
|
|
1061
|
+
const { runInitCommand } = await import("./init-DnkJOmpW.js");
|
|
1062
1062
|
return runInitCommand(parsed, logger, options);
|
|
1063
1063
|
}
|
|
1064
1064
|
async function runDev(parsed, logger, options) {
|
|
@@ -1066,11 +1066,11 @@ async function runDev(parsed, logger, options) {
|
|
|
1066
1066
|
return runDevCommand(parsed, logger, options);
|
|
1067
1067
|
}
|
|
1068
1068
|
async function runBuild(parsed, logger, options) {
|
|
1069
|
-
const { runBuildCommand } = await import("./build-
|
|
1069
|
+
const { runBuildCommand } = await import("./build-C0pZGUL7.js");
|
|
1070
1070
|
return runBuildCommand(parsed, logger, options);
|
|
1071
1071
|
}
|
|
1072
1072
|
async function runDeploy(parsed, logger, options) {
|
|
1073
|
-
const { runDeployCommand } = await import("./deploy-
|
|
1073
|
+
const { runDeployCommand } = await import("./deploy-C2siy20T.js");
|
|
1074
1074
|
return runDeployCommand(parsed, logger, {
|
|
1075
1075
|
...options,
|
|
1076
1076
|
requireExplicitDeployTarget: true
|
|
@@ -1081,7 +1081,7 @@ async function runTypes(parsed, logger, options) {
|
|
|
1081
1081
|
return runTypesCommand(parsed, logger, options);
|
|
1082
1082
|
}
|
|
1083
1083
|
async function runDoctor(parsed, logger, options) {
|
|
1084
|
-
const { runDoctorCommand } = await import("./doctor-
|
|
1084
|
+
const { runDoctorCommand } = await import("./doctor-C0g8X36G.js");
|
|
1085
1085
|
return runDoctorCommand(parsed, logger, options);
|
|
1086
1086
|
}
|
|
1087
1087
|
async function runConfig(parsed, logger, options) {
|
|
@@ -4,10 +4,10 @@ import { a as readWranglerConfig, c as writeWranglerConfig, n as compileConfig,
|
|
|
4
4
|
import { d as getPrimaryAccount, n as getEffectiveAccountId } from "./preferences-BKp_7XJx.js";
|
|
5
5
|
import { D as listWorkerVersions, E as listWorkerDeployments, O as listWorkers, T as getWorkersSubdomain, c as reconcilePreviewRegistry, w as getWorkerVersionDetail, x as formatWorkersDevUrl } from "./preview-registry-ClAbLTHH.js";
|
|
6
6
|
import { _ as yellowBold, d as green, f as logLine, g as yellow, o as dim, r as createCliTheme } from "./ui-BUoZApvE.js";
|
|
7
|
-
import { n as getPackageVersion } from "./package-metadata-
|
|
7
|
+
import { n as getPackageVersion } from "./package-metadata-DjHBLB-z.js";
|
|
8
8
|
import { t as resolvePackageSpecifier } from "./resolve-package-Y84HB3Nt.js";
|
|
9
9
|
import { t as asOptionalString } from "./command-utils-BsfkmTqh.js";
|
|
10
|
-
import { a as createBuildManifest, i as compareManifests, n as applyDeploymentStrategy, o as formatDriftWarning, r as describeDeploymentStrategy, s as readBuildManifest, t as prepareBuildArtifacts } from "./build-artifacts-
|
|
10
|
+
import { a as createBuildManifest, i as compareManifests, n as applyDeploymentStrategy, o as formatDriftWarning, r as describeDeploymentStrategy, s as readBuildManifest, t as prepareBuildArtifacts } from "./build-artifacts-CGdnp2BT.js";
|
|
11
11
|
import { t as getDependencies } from "./dependencies-C2oxFjU_.js";
|
|
12
12
|
import { n as preparePreviewScopedResourcesForDeploy } from "./preview-resources-DdXj8LMM.js";
|
|
13
13
|
import { mkdir, open, readFile, rm, writeFile } from "node:fs/promises";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as loadConfig } from "./loader-DLXO60RO.js";
|
|
2
2
|
import { d as green, f as logLine, g as yellow, m as red, n as bold, o as dim, r as createCliTheme } from "./ui-BUoZApvE.js";
|
|
3
|
-
import { n as getPackageVersion } from "./package-metadata-
|
|
3
|
+
import { n as getPackageVersion } from "./package-metadata-DjHBLB-z.js";
|
|
4
4
|
import { t as detectViteProject } from "./vite-utils-OVLMV605.js";
|
|
5
5
|
import { t as getDependencies } from "./dependencies-C2oxFjU_.js";
|
|
6
6
|
import { n as getGeneratedArtifactPaths } from "./generated-artifacts-dMJY4KAt.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as cyanBold, d as green, f as logLine, o as dim, r as createCliTheme } from "./ui-BUoZApvE.js";
|
|
2
|
-
import { t as getInitDependencyVersions } from "./package-metadata-
|
|
2
|
+
import { t as getInitDependencyVersions } from "./package-metadata-DjHBLB-z.js";
|
|
3
3
|
import { t as getDependencies } from "./dependencies-C2oxFjU_.js";
|
|
4
4
|
import { join, resolve } from "pathe";
|
|
5
5
|
//#region src/cli/commands/init.ts
|
|
@@ -30,7 +30,7 @@ async function getInitDependencyVersions() {
|
|
|
30
30
|
const devDependencies = metadata.devDependencies ?? {};
|
|
31
31
|
return {
|
|
32
32
|
devflare: `^${metadata.version ?? "0.0.0"}`,
|
|
33
|
-
typescript: devDependencies.typescript ?? "^5.7.0",
|
|
33
|
+
typescript: dependencies.typescript ?? devDependencies.typescript ?? "^5.7.0",
|
|
34
34
|
wrangler: dependencies.wrangler ?? devDependencies.wrangler ?? "^4.85.0",
|
|
35
35
|
workersTypes: devDependencies["@cloudflare/workers-types"] ?? "^4.20250109.0"
|
|
36
36
|
};
|
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-DPeh2U50.js";
|
|
2
2
|
export { parseArgs, runCli };
|
package/dist/index.js
CHANGED
|
@@ -4,6 +4,6 @@ import { a as ConfigResourceResolutionError, d as configSchema, n as ConfigValid
|
|
|
4
4
|
import { n as compileConfig, s as stringifyConfig } from "./_chunks/compiler-uoyAQ8zW.js";
|
|
5
5
|
import { t as workerName } from "./_chunks/workerName-CFJsLZA-.js";
|
|
6
6
|
import { n as getDurableObjectOptions, t as durableObject } from "./_chunks/decorators-QmV57ixr.js";
|
|
7
|
-
import { n as runCli, t as parseArgs } from "./_chunks/cli-
|
|
7
|
+
import { n as runCli, t as parseArgs } from "./_chunks/cli-DPeh2U50.js";
|
|
8
8
|
import { i as vars, r as env } from "./_chunks/env-S0_nMVz1.js";
|
|
9
9
|
export { ConfigNotFoundError, ConfigResourceResolutionError, ConfigValidationError, compileConfig, configSchema, defineConfig as default, defineConfig, durableObject, env, getDurableObjectOptions, loadConfig, loadResolvedConfig, parseArgs, preview, ref, runCli, stringifyConfig, vars, workerName };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "devflare",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.41",
|
|
4
4
|
"description": "Devflare is a developer-first toolkit for Cloudflare Workers that sits on top of Miniflare and Wrangler-compatible config",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -112,6 +112,7 @@
|
|
|
112
112
|
"puppeteer-core": "^24.5.0",
|
|
113
113
|
"rolldown": "^1.0.0-rc.12",
|
|
114
114
|
"smol-toml": "^1.6.1",
|
|
115
|
+
"typescript": "^5.7.2",
|
|
115
116
|
"wrangler": "^4.85.0",
|
|
116
117
|
"ws": "^8.19.0",
|
|
117
118
|
"zod": "^3.25.0"
|
|
@@ -122,7 +123,6 @@
|
|
|
122
123
|
"@types/bun": "^1.1.14",
|
|
123
124
|
"@types/picomatch": "^4.0.2",
|
|
124
125
|
"@types/ws": "^8.18.1",
|
|
125
|
-
"typescript": "^5.7.2",
|
|
126
126
|
"vite": "^6.0.0"
|
|
127
127
|
},
|
|
128
128
|
"peerDependencies": {
|