create-cloudflare 2.74.9 → 2.74.10

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
@@ -108409,6 +108409,14 @@ var validateD1Binding = /* @__PURE__ */ __name((diagnostics, field, value) => {
108409
108409
  );
108410
108410
  isValid = false;
108411
108411
  }
108412
+ if (!isOptionalProperty(value, "jurisdiction", "string")) {
108413
+ diagnostics.errors.push(
108414
+ `"${field}" bindings should, optionally, have a string "jurisdiction" field but got ${JSON.stringify(
108415
+ value
108416
+ )}.`
108417
+ );
108418
+ isValid = false;
108419
+ }
108412
108420
  if (!isOptionalProperty(value, "migrations_dir", "string")) {
108413
108421
  diagnostics.errors.push(
108414
108422
  `"${field}" bindings should, optionally, have a string "migrations_dir" field but got ${JSON.stringify(
@@ -108438,6 +108446,7 @@ var validateD1Binding = /* @__PURE__ */ __name((diagnostics, field, value) => {
108438
108446
  "database_id",
108439
108447
  "database_internal_env",
108440
108448
  "database_name",
108449
+ "jurisdiction",
108441
108450
  "migrations_dir",
108442
108451
  "migrations_pattern",
108443
108452
  "migrations_table",
@@ -111682,7 +111691,7 @@ function mapWorkerMetadataBindings(bindings) {
111682
111691
  }, {});
111683
111692
  }
111684
111693
  __name(mapWorkerMetadataBindings, "mapWorkerMetadataBindings");
111685
- var DEFAULT_COMPAT_DATE = "2026-11-04";
111694
+ var DEFAULT_COMPAT_DATE = "2026-11-09";
111686
111695
  function constructWranglerConfig(config50) {
111687
111696
  const mappedBindings = mapWorkerMetadataBindings(config50.bindings);
111688
111697
  const durableObjectClassNames = config50.bindings.filter(
@@ -113383,10 +113392,10 @@ async function performApiFetchBase(complianceConfig, resource, init = {}, userAg
113383
113392
  logger.debugWithSanitization?.("QUERY STRING:", queryString);
113384
113393
  logHeaders(headers, logger);
113385
113394
  logger.debugWithSanitization?.("INIT:", JSON.stringify({ ...init }, null, 2));
113386
- if (init.body instanceof import_undici.FormData) {
113395
+ if (logger.debugWithSanitization !== void 0 && init.body instanceof import_undici.FormData && (logger.loggerLevel === void 0 || logger.loggerLevel === "debug")) {
113387
113396
  logger.debugWithSanitization?.(
113388
113397
  "BODY:",
113389
- await new import_undici.Response(init.body).text(),
113398
+ getSanitizeLogs() ? "<multipart body>" : await new import_undici.Response(init.body).text(),
113390
113399
  null,
113391
113400
  2
113392
113401
  );
@@ -120305,7 +120314,7 @@ var Yargs = YargsFactory(esm_default2);
120305
120314
  var yargs_default = Yargs;
120306
120315
 
120307
120316
  // package.json
120308
- var version2 = "2.74.9";
120317
+ var version2 = "2.74.10";
120309
120318
 
120310
120319
  // src/metrics.ts
120311
120320
  var import_node_async_hooks = require("node:async_hooks");
@@ -123017,25 +123026,25 @@ var import_semver3 = __toESM(require_semver2());
123017
123026
  var package_default = {
123018
123027
  name: "frameworks_clis_info",
123019
123028
  dependencies: {
123020
- "@angular/create": "22.2.5",
123021
- "@tanstack/cli": "0.72.0",
123022
- "create-analog": "2.9.3",
123029
+ "@angular/create": "22.2.6",
123030
+ "@tanstack/cli": "0.72.16",
123031
+ "create-analog": "2.9.6",
123023
123032
  "create-astro": "5.3.1",
123024
123033
  "create-docusaurus": "3.10.2",
123025
123034
  "create-hono": "0.19.5",
123026
- "create-next-app": "16.4.3",
123035
+ "create-next-app": "16.4.5",
123027
123036
  "create-qwik": "1.20.3",
123028
123037
  "create-react-router": "8.5.1",
123029
123038
  "create-rwsdk": "3.1.3",
123030
123039
  "create-solid": "0.12.0",
123031
- "create-vike": "0.0.690",
123040
+ "create-vike": "0.0.692",
123032
123041
  "create-vinext-app": "1.1.0",
123033
- "create-vite": "9.3.3",
123042
+ "create-vite": "9.3.4",
123034
123043
  "create-vue": "3.24.0",
123035
123044
  "create-waku": "0.12.5-1.0.0-alpha.10-0",
123036
123045
  gatsby: "5.16.1",
123037
- nuxi: "4.0.1",
123038
- sv: "1.1.1"
123046
+ nuxi: "4.0.3",
123047
+ sv: "1.3.0"
123039
123048
  },
123040
123049
  info: [
123041
123050
  "This package.json is only used to keep track of the frameworks cli dependencies",
@@ -125427,7 +125436,7 @@ var config40 = {
125427
125436
  if (usesTypescript(ctx)) {
125428
125437
  scripts = {
125429
125438
  ...scripts,
125430
- "cf-typegen": `wrangler types ${typesPath3}`
125439
+ "cf-typegen": `wrangler types --include-main-module=false ${typesPath3}`
125431
125440
  };
125432
125441
  }
125433
125442
  return { scripts };
@@ -125470,6 +125479,7 @@ var config42 = {
125470
125479
  platform: "workers",
125471
125480
  languages: ["ts"],
125472
125481
  frameworkCli: "@tanstack/cli",
125482
+ frameworkCliNodeVersion: "^20.17.0 || >=22.9.0",
125473
125483
  displayName: "TanStack Start",
125474
125484
  generate: generate25,
125475
125485
  transformPackageJson: async () => ({
@@ -125801,7 +125811,7 @@ If the application uses Durable Objects or Workflows, refer to the relevant best
125801
125811
  var import_node_assert7 = __toESM(require("node:assert"));
125802
125812
 
125803
125813
  // ../wrangler/package.json
125804
- var version3 = "4.158.0";
125814
+ var version3 = "4.159.0";
125805
125815
 
125806
125816
  // src/git.ts
125807
125817
  var offerGit = async (ctx) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-cloudflare",
3
- "version": "2.74.9",
3
+ "version": "2.74.10",
4
4
  "description": "A CLI for creating and deploying new applications to Cloudflare.",
5
5
  "keywords": [
6
6
  "cloudflare",
@@ -32,7 +32,7 @@
32
32
  "@babel/types": "^7.21.4",
33
33
  "@clack/prompts": "^1.2.0",
34
34
  "@cloudflare/vite-plugin": "npm:@cloudflare/vite-plugin@1.63.2",
35
- "@cloudflare/workers-types": "^5.20261104.1",
35
+ "@cloudflare/workers-types": "^5.20261109.1",
36
36
  "@types/command-exists": "^1.2.0",
37
37
  "@types/cross-spawn": "^6.0.2",
38
38
  "@types/deepmerge": "^2.2.0",
@@ -71,12 +71,12 @@
71
71
  "which-pm-runs": "^1.1.0",
72
72
  "wrap-ansi": "^9.0.0",
73
73
  "yargs": "^17.7.2",
74
- "@cloudflare/cli-shared-helpers": "0.3.4",
74
+ "@cloudflare/cli-shared-helpers": "0.3.5",
75
75
  "@cloudflare/mock-npm-registry": "0.0.0",
76
76
  "@cloudflare/shared-ast-primitives": "1.1.0",
77
77
  "@cloudflare/workers-tsconfig": "0.0.0",
78
- "@cloudflare/workers-utils": "0.52.0",
79
- "wrangler": "4.158.0"
78
+ "@cloudflare/workers-utils": "0.52.1",
79
+ "wrangler": "4.159.0"
80
80
  },
81
81
  "engines": {
82
82
  "node": ">=22.0.0"
@@ -119,7 +119,7 @@ const config: TemplateConfig = {
119
119
  if (usesTypescript(ctx)) {
120
120
  scripts = {
121
121
  ...scripts,
122
- "cf-typegen": `wrangler types ${typesPath}`,
122
+ "cf-typegen": `wrangler types --include-main-module=false ${typesPath}`,
123
123
  };
124
124
  }
125
125
 
@@ -30,6 +30,7 @@ const config: TemplateConfig = {
30
30
  platform: "workers",
31
31
  languages: ["ts"],
32
32
  frameworkCli: "@tanstack/cli",
33
+ frameworkCliNodeVersion: "^20.17.0 || >=22.9.0",
33
34
  displayName: "TanStack Start",
34
35
  generate,
35
36
  transformPackageJson: async () => ({