create-cloudflare 2.37.1 → 2.37.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 +13 -9
- package/package.json +8 -5
- package/templates/hello-world/js/package.json +1 -1
- package/templates/hello-world/js/test/index.spec.js +1 -1
- package/templates/hello-world/ts/package.json +1 -1
- package/templates-experimental/hello-world-with-assets/js/package.json +1 -1
- package/templates-experimental/hello-world-with-assets/ts/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -73294,7 +73294,7 @@ var Yargs = YargsFactory(esm_default);
|
|
|
73294
73294
|
var yargs_default = Yargs;
|
|
73295
73295
|
|
|
73296
73296
|
// package.json
|
|
73297
|
-
var version = "2.37.
|
|
73297
|
+
var version = "2.37.3";
|
|
73298
73298
|
|
|
73299
73299
|
// src/metrics.ts
|
|
73300
73300
|
var import_node_async_hooks = require("node:async_hooks");
|
|
@@ -75362,17 +75362,17 @@ var package_default = {
|
|
|
75362
75362
|
dependencies: {
|
|
75363
75363
|
"create-astro": "4.11.0",
|
|
75364
75364
|
"create-analog": "1.8.1",
|
|
75365
|
-
"@angular/create": "19.
|
|
75365
|
+
"@angular/create": "19.1.2",
|
|
75366
75366
|
"create-docusaurus": "3.7.0",
|
|
75367
75367
|
"create-hono": "0.14.3",
|
|
75368
|
-
"create-next-app": "15.1.
|
|
75368
|
+
"create-next-app": "15.1.5",
|
|
75369
75369
|
"create-qwik": "1.12.0",
|
|
75370
75370
|
"create-vite": "6.1.1",
|
|
75371
75371
|
"create-remix": "2.15.2",
|
|
75372
75372
|
"create-solid": "0.5.14",
|
|
75373
75373
|
"create-vue": "3.13.0",
|
|
75374
75374
|
gatsby: "5.14.1",
|
|
75375
|
-
sv: "0.6.
|
|
75375
|
+
sv: "0.6.13",
|
|
75376
75376
|
nuxi: "3.20.0"
|
|
75377
75377
|
}
|
|
75378
75378
|
};
|
|
@@ -75868,13 +75868,17 @@ async function getWorkerdCompatibilityDate() {
|
|
|
75868
75868
|
const match = latestWorkerdVersion.match(/\d+\.(\d{4})(\d{2})(\d{2})\.\d+/);
|
|
75869
75869
|
if (match) {
|
|
75870
75870
|
const [, year, month, date] = match;
|
|
75871
|
-
|
|
75872
|
-
|
|
75873
|
-
|
|
75871
|
+
let compatDate = /* @__PURE__ */ new Date(`${year}-${month}-${date}`);
|
|
75872
|
+
if (compatDate.getTime() > Date.now()) {
|
|
75873
|
+
compatDate = new Date(Date.now());
|
|
75874
|
+
}
|
|
75875
|
+
const compatDateString = compatDate.toISOString().slice(0, 10);
|
|
75876
|
+
s.stop(`${brandColor("compatibility date")} ${dim(compatDateString)}`);
|
|
75877
|
+
return compatDateString;
|
|
75874
75878
|
}
|
|
75875
75879
|
} catch {
|
|
75876
75880
|
}
|
|
75877
|
-
const fallbackDate = "
|
|
75881
|
+
const fallbackDate = "2024-11-11";
|
|
75878
75882
|
s.stop(
|
|
75879
75883
|
`${brandColor("compatibility date")} ${dim(
|
|
75880
75884
|
` Could not find workerd date, falling back to ${fallbackDate}`
|
|
@@ -77718,7 +77722,7 @@ var config26 = {
|
|
|
77718
77722
|
var c3_default36 = config26;
|
|
77719
77723
|
|
|
77720
77724
|
// ../wrangler/package.json
|
|
77721
|
-
var version2 = "3.
|
|
77725
|
+
var version2 = "3.105.1";
|
|
77722
77726
|
|
|
77723
77727
|
// src/git.ts
|
|
77724
77728
|
var offerGit = async (ctx) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-cloudflare",
|
|
3
|
-
"version": "2.37.
|
|
3
|
+
"version": "2.37.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.
|
|
33
|
+
"@cloudflare/workers-types": "^4.20250121.0",
|
|
34
34
|
"@iarna/toml": "^3.0.0",
|
|
35
35
|
"@types/command-exists": "^1.2.0",
|
|
36
36
|
"@types/cross-spawn": "^6.0.2",
|
|
@@ -60,16 +60,19 @@
|
|
|
60
60
|
"open": "^8.4.0",
|
|
61
61
|
"recast": "^0.22.0",
|
|
62
62
|
"semver": "^7.5.1",
|
|
63
|
+
"typescript": "~5.6.3",
|
|
63
64
|
"undici": "^5.28.4",
|
|
65
|
+
"vite": "^5.0.12",
|
|
64
66
|
"vite-tsconfig-paths": "^4.0.8",
|
|
67
|
+
"vitest": "~2.1.8",
|
|
65
68
|
"which-pm-runs": "^1.1.0",
|
|
66
69
|
"wrap-ansi": "^9.0.0",
|
|
67
70
|
"xdg-app-paths": "^8.3.0",
|
|
68
71
|
"yargs": "^17.7.2",
|
|
69
72
|
"@cloudflare/cli": "1.1.1",
|
|
70
|
-
"wrangler": "3.103.0",
|
|
71
73
|
"@cloudflare/eslint-config-worker": "1.1.0",
|
|
72
|
-
"@cloudflare/workers-tsconfig": "0.0.0"
|
|
74
|
+
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
75
|
+
"wrangler": "3.105.1"
|
|
73
76
|
},
|
|
74
77
|
"engines": {
|
|
75
78
|
"node": ">=18.14.1"
|
|
@@ -93,7 +96,7 @@
|
|
|
93
96
|
"test:e2e:yarn": "pnpm run build && cross-env TEST_PM=yarn vitest run --config ./vitest-e2e.config.mts",
|
|
94
97
|
"test:unit": "vitest run --config ./vitest.config.mts",
|
|
95
98
|
"test:unit:watch": "vitest --config ./vitest.config.mts",
|
|
96
|
-
"
|
|
99
|
+
"dev": "node -r esbuild-register scripts/build.ts --watch",
|
|
97
100
|
"test:ci": "vitest run --config ./vitest.config.mts"
|
|
98
101
|
}
|
|
99
102
|
}
|
|
@@ -14,7 +14,7 @@ describe('Hello World worker', () => {
|
|
|
14
14
|
});
|
|
15
15
|
|
|
16
16
|
it('responds with Hello World! (integration style)', async () => {
|
|
17
|
-
const response = await SELF.fetch(
|
|
17
|
+
const response = await SELF.fetch('http://example.com');
|
|
18
18
|
expect(await response.text()).toMatchInlineSnapshot(`"Hello World!"`);
|
|
19
19
|
});
|
|
20
20
|
});
|