create-cloudflare 2.49.4 → 2.50.1
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/cli.js
CHANGED
|
@@ -74560,7 +74560,7 @@ var Yargs = YargsFactory(esm_default);
|
|
|
74560
74560
|
var yargs_default = Yargs;
|
|
74561
74561
|
|
|
74562
74562
|
// package.json
|
|
74563
|
-
var version = "2.
|
|
74563
|
+
var version = "2.50.1";
|
|
74564
74564
|
|
|
74565
74565
|
// src/metrics.ts
|
|
74566
74566
|
var import_node_async_hooks = require("node:async_hooks");
|
|
@@ -75340,15 +75340,15 @@ var package_default = {
|
|
|
75340
75340
|
"@angular/create": "19.2.12",
|
|
75341
75341
|
"create-docusaurus": "3.8.1",
|
|
75342
75342
|
"create-hono": "0.19.1",
|
|
75343
|
-
"create-next-app": "15.3.
|
|
75343
|
+
"create-next-app": "15.3.4",
|
|
75344
75344
|
"create-qwik": "1.14.1",
|
|
75345
75345
|
"create-vite": "6.5.0",
|
|
75346
75346
|
"create-remix": "2.16.8",
|
|
75347
75347
|
"create-react-router": "7.6.2",
|
|
75348
75348
|
"create-solid": "0.6.5",
|
|
75349
75349
|
"create-vue": "3.16.4",
|
|
75350
|
-
gatsby: "5.14.
|
|
75351
|
-
sv: "0.8.
|
|
75350
|
+
gatsby: "5.14.5",
|
|
75351
|
+
sv: "0.8.12",
|
|
75352
75352
|
nuxi: "3.25.1"
|
|
75353
75353
|
}
|
|
75354
75354
|
};
|
|
@@ -78064,7 +78064,7 @@ var c3_default51 = config47;
|
|
|
78064
78064
|
var import_node_assert = __toESM(require("node:assert"));
|
|
78065
78065
|
|
|
78066
78066
|
// ../wrangler/package.json
|
|
78067
|
-
var version2 = "4.
|
|
78067
|
+
var version2 = "4.21.0";
|
|
78068
78068
|
|
|
78069
78069
|
// src/git.ts
|
|
78070
78070
|
var offerGit = async (ctx) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-cloudflare",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.50.1",
|
|
4
4
|
"description": "A CLI for creating and deploying new applications to Cloudflare.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cloudflare",
|
|
@@ -70,12 +70,12 @@
|
|
|
70
70
|
"wrap-ansi": "^9.0.0",
|
|
71
71
|
"xdg-app-paths": "^8.3.0",
|
|
72
72
|
"yargs": "^17.7.2",
|
|
73
|
-
"@cloudflare/cli": "1.1.1",
|
|
74
73
|
"@cloudflare/eslint-config-worker": "1.1.0",
|
|
74
|
+
"@cloudflare/cli": "1.1.1",
|
|
75
75
|
"@cloudflare/mock-npm-registry": "0.0.0",
|
|
76
|
-
"@cloudflare/vite-plugin": "1.7.
|
|
76
|
+
"@cloudflare/vite-plugin": "1.7.4",
|
|
77
77
|
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
78
|
-
"wrangler": "4.
|
|
78
|
+
"wrangler": "4.21.0"
|
|
79
79
|
},
|
|
80
80
|
"engines": {
|
|
81
81
|
"node": ">=18.14.1"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from workers import DurableObject, Response
|
|
1
|
+
from workers import DurableObject, Response, handler
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
4
|
* Welcome to Cloudflare Workers! This is your first Durable Objects application.
|
|
@@ -48,6 +48,7 @@ class MyDurableObject(DurableObject):
|
|
|
48
48
|
* @param {ExecutionContext} ctx - The execution context of the Worker
|
|
49
49
|
* @returns {Promise<Response>} The response to be sent back to the client
|
|
50
50
|
"""
|
|
51
|
+
@handler
|
|
51
52
|
async def on_fetch(request, env, ctx):
|
|
52
53
|
# Create a `DurableObjectId` for an instance of the `MyDurableObject`
|
|
53
54
|
# class named "foo". Requests from all Workers to the instance named
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from workers import DurableObject, Response
|
|
1
|
+
from workers import DurableObject, Response, handler
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
4
|
* Welcome to Cloudflare Workers! This is your first Durable Objects application.
|
|
@@ -48,6 +48,7 @@ class MyDurableObject(DurableObject):
|
|
|
48
48
|
* @param {ExecutionContext} ctx - The execution context of the Worker
|
|
49
49
|
* @returns {Promise<Response>} The response to be sent back to the client
|
|
50
50
|
"""
|
|
51
|
+
@handler
|
|
51
52
|
async def on_fetch(request, env, ctx):
|
|
52
53
|
# Create a `DurableObjectId` for an instance of the `MyDurableObject`
|
|
53
54
|
# class named "foo". Requests from all Workers to the instance named
|