@cloudflare/vite-plugin 2.0.0-beta.v.7 → 2.0.0-beta.v.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs
CHANGED
|
@@ -19209,7 +19209,7 @@ function createFatalError(message, isJson, options) {
|
|
|
19209
19209
|
__name$3(createFatalError, "createFatalError");
|
|
19210
19210
|
|
|
19211
19211
|
//#endregion
|
|
19212
|
-
//#region ../workers-utils/dist/chunk-
|
|
19212
|
+
//#region ../workers-utils/dist/chunk-AAQI36FL.mjs
|
|
19213
19213
|
createRequire(import.meta.url || (typeof __filename === "string" ? __filename : "/"));
|
|
19214
19214
|
function hasKnownExportType(entry) {
|
|
19215
19215
|
const type = entry?.type;
|
|
@@ -19320,7 +19320,7 @@ function validateDurableObjectContainerApplications(config$3, containers = getDu
|
|
|
19320
19320
|
const maybeBoundDO = config$3.durable_objects.bindings.find((durableObject) => durableObject.class_name === container.class_name);
|
|
19321
19321
|
const useSQLite = allDOs.get(container.class_name);
|
|
19322
19322
|
if (useSQLite === void 0 && maybeBoundDO === void 0) throw new UserError(`The container class_name ${container.class_name} does not match any durable object class_name defined in your ${configFileName2}. Note that the durable object must be defined in the same script as the container.`, { telemetryMessage: "no DO defined that matches container class_name" });
|
|
19323
|
-
if (maybeBoundDO?.script_name !== void 0) throw new UserError(`The container ${container.name} is referencing the durable object ${container.class_name}, which appears to be defined on the ${maybeBoundDO.script_name} Worker instead (via the 'script_name' field). You cannot configure a container on a Durable Object that is defined in another Worker.`, { telemetryMessage: "container class_name refers to an external durable object" });
|
|
19323
|
+
if (maybeBoundDO?.script_name !== void 0 && maybeBoundDO.script_name !== config$3.name) throw new UserError(`The container ${container.name} is referencing the durable object ${container.class_name}, which appears to be defined on the ${maybeBoundDO.script_name} Worker instead (via the 'script_name' field). You cannot configure a container on a Durable Object that is defined in another Worker.`, { telemetryMessage: "container class_name refers to an external durable object" });
|
|
19324
19324
|
if (useSQLite === false) throw new UserError(`The container ${container.name} references Durable Object class ${container.class_name}, which uses the legacy KV storage backend. Durable Object-managed Containers require SQLite-backed Durable Objects.`, { telemetryMessage: "durable object container class uses legacy storage" });
|
|
19325
19325
|
}
|
|
19326
19326
|
}
|
|
@@ -89077,7 +89077,7 @@ __name(createWorkerUploadForm, "createWorkerUploadForm");
|
|
|
89077
89077
|
//#endregion
|
|
89078
89078
|
//#region ../remote-bindings/dist/index.mjs
|
|
89079
89079
|
var import_undici = require_undici();
|
|
89080
|
-
var version$1 = "0.0.
|
|
89080
|
+
var version$1 = "0.0.56";
|
|
89081
89081
|
var NoDefaultValueProvided = class extends UserError {
|
|
89082
89082
|
constructor() {
|
|
89083
89083
|
super("This command cannot be run in a non-interactive context", { telemetryMessage: "remote bindings prompt default missing" });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudflare/vite-plugin",
|
|
3
|
-
"version": "2.0.0-beta.v.
|
|
3
|
+
"version": "2.0.0-beta.v.8",
|
|
4
4
|
"description": "Cloudflare plugin for Vite",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cloudflare",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"unenv": "2.0.0-rc.24",
|
|
44
44
|
"ws": "8.21.0",
|
|
45
45
|
"@cloudflare/build-output-utils": "0.9.6",
|
|
46
|
-
"@cloudflare/
|
|
47
|
-
"@cloudflare/runtime-types": "0.1.18",
|
|
46
|
+
"@cloudflare/runtime-types": "0.1.19",
|
|
48
47
|
"@cloudflare/unenv-preset": "2.16.2",
|
|
49
|
-
"miniflare": "5.20261023.
|
|
48
|
+
"miniflare": "5.20261023.3-beta",
|
|
49
|
+
"@cloudflare/config": "0.29.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@cloudflare/workers-types": "^5.20261023.1",
|
|
@@ -70,14 +70,14 @@
|
|
|
70
70
|
"vite": "8.3.4",
|
|
71
71
|
"vite-legacy": "npm:vite@7.1.12",
|
|
72
72
|
"vitest": "5.0.4",
|
|
73
|
-
"@cloudflare/cli-shared-helpers": "0.
|
|
73
|
+
"@cloudflare/cli-shared-helpers": "0.3.0",
|
|
74
|
+
"@cloudflare/containers-shared": "0.23.5",
|
|
75
|
+
"@cloudflare/remote-bindings": "0.0.56",
|
|
74
76
|
"@cloudflare/mock-npm-registry": "0.0.0",
|
|
75
|
-
"@cloudflare/containers-shared": "0.23.4",
|
|
76
|
-
"@cloudflare/remote-bindings": "0.0.55",
|
|
77
|
-
"@cloudflare/workers-auth": "0.15.2",
|
|
78
77
|
"@cloudflare/workers-shared": "0.20.2",
|
|
79
|
-
"@cloudflare/workers-
|
|
80
|
-
"@cloudflare/workers-tsconfig": "0.0.0"
|
|
78
|
+
"@cloudflare/workers-auth": "0.15.3",
|
|
79
|
+
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
80
|
+
"@cloudflare/workers-utils": "0.50.1"
|
|
81
81
|
},
|
|
82
82
|
"peerDependencies": {
|
|
83
83
|
"vite": "^7.0.0 || ^8.0.0"
|