create-cloudflare 2.47.2 → 2.47.3

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.47.2";
74563
+ var version = "2.47.3";
74564
74564
 
74565
74565
  // src/metrics.ts
74566
74566
  var import_node_async_hooks = require("node:async_hooks");
@@ -78029,7 +78029,7 @@ var c3_default50 = config47;
78029
78029
  var import_node_assert = __toESM(require("node:assert"));
78030
78030
 
78031
78031
  // ../wrangler/package.json
78032
- var version2 = "4.16.0";
78032
+ var version2 = "4.17.0";
78033
78033
 
78034
78034
  // src/git.ts
78035
78035
  var offerGit = async (ctx) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-cloudflare",
3
- "version": "2.47.2",
3
+ "version": "2.47.3",
4
4
  "description": "A CLI for creating and deploying new applications to Cloudflare.",
5
5
  "keywords": [
6
6
  "cloudflare",
@@ -30,7 +30,7 @@
30
30
  "@babel/parser": "^7.21.3",
31
31
  "@babel/types": "^7.21.4",
32
32
  "@clack/prompts": "^0.6.3",
33
- "@cloudflare/workers-types": "^4.20250508.0",
33
+ "@cloudflare/workers-types": "^4.20250523.0",
34
34
  "@iarna/toml": "^3.0.0",
35
35
  "@types/command-exists": "^1.2.0",
36
36
  "@types/cross-spawn": "^6.0.2",
@@ -73,9 +73,9 @@
73
73
  "@cloudflare/cli": "1.1.1",
74
74
  "@cloudflare/eslint-config-worker": "1.1.0",
75
75
  "@cloudflare/mock-npm-registry": "0.0.0",
76
- "@cloudflare/vite-plugin": "1.2.3",
76
+ "@cloudflare/vite-plugin": "1.3.0",
77
77
  "@cloudflare/workers-tsconfig": "0.0.0",
78
- "wrangler": "4.16.0"
78
+ "wrangler": "4.17.0"
79
79
  },
80
80
  "engines": {
81
81
  "node": ">=18.14.1"
@@ -7,5 +7,6 @@
7
7
  </head>
8
8
  <body>
9
9
  <h1 id="heading">Hello, World!</h1>
10
+ <p>This page comes from a static asset stored at `public/index.html` as configured in `wrangler.jsonc`.</p>
10
11
  </body>
11
12
  </html>
@@ -2,6 +2,7 @@
2
2
  "name": "<TBD>",
3
3
  "compatibility_date": "<TBD>",
4
4
  "assets": {
5
+ // The path to the directory containing the `index.html` file to be served at `/`
5
6
  "directory": "./public"
6
7
  },
7
8
  "observability": {
@@ -4,6 +4,7 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>Hello, World!</title>
7
+ <p>This page comes from a static asset stored at `public/index.html` as configured in `wrangler.jsonc`.</p>
7
8
  </head>
8
9
  <body>
9
10
  <h1 id="heading"></h1>
@@ -3,7 +3,7 @@
3
3
  "main": "src/index.js",
4
4
  "compatibility_date": "<TBD>",
5
5
  "assets": {
6
- "binding": "ASSETS",
6
+ // The path to the directory containing the `index.html` file to be served at `/`
7
7
  "directory": "./public"
8
8
  },
9
9
  "durable_objects": {
@@ -7,6 +7,7 @@
7
7
  </head>
8
8
  <body>
9
9
  <h1 id="heading"></h1>
10
+ <p>This page comes from a static asset stored at `public/index.html` as configured in `wrangler.jsonc`.</p>
10
11
  <script>
11
12
  fetch('/message')
12
13
  .then((resp) => resp.text())
@@ -6,7 +6,7 @@
6
6
  "python_workers"
7
7
  ],
8
8
  "assets": {
9
- "binding": "ASSETS",
9
+ // The path to the directory containing the `index.html` file to be served at `/`
10
10
  "directory": "./public"
11
11
  },
12
12
  "migrations": [
@@ -7,6 +7,7 @@
7
7
  </head>
8
8
  <body>
9
9
  <h1 id="heading"></h1>
10
+ <p>This page comes from a static asset stored at `public/index.html` as configured in `wrangler.jsonc`.</p>
10
11
  <script>
11
12
  fetch('/message')
12
13
  .then((resp) => resp.text())
@@ -11,7 +11,7 @@
11
11
  }
12
12
  ],
13
13
  "assets": {
14
- "binding": "ASSETS",
14
+ // The path to the directory containing the `index.html` file to be served at `/`
15
15
  "directory": "./public"
16
16
  },
17
17
  "durable_objects": {
@@ -7,6 +7,7 @@
7
7
  </head>
8
8
  <body>
9
9
  <h1 id="heading"></h1>
10
+ <p>This page comes from a static asset stored at `public/index.html` as configured in `wrangler.jsonc`.</p>
10
11
  <button id="button" type="button">Fetch a random UUID</button>
11
12
  <output id="random" for="button"></output>
12
13
  <script>
@@ -7,7 +7,7 @@
7
7
  "global_fetch_strictly_public"
8
8
  ],
9
9
  "assets": {
10
- "binding": "ASSETS",
10
+ // The path to the directory containing the `index.html` file to be served at `/`
11
11
  "directory": "./public"
12
12
  },
13
13
  "observability": {
@@ -7,6 +7,7 @@
7
7
  </head>
8
8
  <body>
9
9
  <h1 id="heading"></h1>
10
+ <p>This page comes from a static asset stored at `public/index.html` as configured in `wrangler.jsonc`.</p>
10
11
  <button id="button" type="button">Fetch a random UUID</button>
11
12
  <output id="random" for="button"></output>
12
13
  <script>
@@ -6,7 +6,7 @@
6
6
  "python_workers"
7
7
  ],
8
8
  "assets": {
9
- "binding": "ASSETS",
9
+ // The path to the directory containing the `index.html` file to be served at `/`
10
10
  "directory": "./public"
11
11
  },
12
12
  "observability": {
@@ -7,6 +7,7 @@
7
7
  </head>
8
8
  <body>
9
9
  <h1 id="heading"></h1>
10
+ <p>This page comes from a static asset stored at `public/index.html` as configured in `wrangler.jsonc`.</p>
10
11
  <button id="button" type="button">Fetch a random UUID</button>
11
12
  <output id="random" for="button"></output>
12
13
  <script>
@@ -3,11 +3,10 @@
3
3
  "main": "src/index.ts",
4
4
  "compatibility_date": "<TBD>",
5
5
  "compatibility_flags": [
6
- "nodejs_compat",
7
6
  "global_fetch_strictly_public"
8
7
  ],
9
8
  "assets": {
10
- "binding": "ASSETS",
9
+ // The path to the directory containing the `index.html` file to be served at `/`
11
10
  "directory": "./public"
12
11
  },
13
12
  "observability": {