create-cloudflare 2.21.3 → 2.21.4

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
@@ -3902,7 +3902,7 @@ var init_args = __esm({
3902
3902
  var version;
3903
3903
  var init_package = __esm({
3904
3904
  "package.json"() {
3905
- version = "2.21.3";
3905
+ version = "2.21.4";
3906
3906
  }
3907
3907
  });
3908
3908
 
@@ -24803,7 +24803,7 @@ var init_frameworks = __esm({
24803
24803
  var version2;
24804
24804
  var init_package3 = __esm({
24805
24805
  "../wrangler/package.json"() {
24806
- version2 = "3.57.1";
24806
+ version2 = "3.58.0";
24807
24807
  }
24808
24808
  });
24809
24809
 
@@ -24928,6 +24928,7 @@ var init_git = __esm({
24928
24928
  }
24929
24929
  const insideGitRepo = await isInsideGitRepo(ctx.project.path);
24930
24930
  if (insideGitRepo) {
24931
+ ctx.args.git = true;
24931
24932
  return;
24932
24933
  }
24933
24934
  ctx.args.git = await processArgument(ctx.args, "git", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-cloudflare",
3
- "version": "2.21.3",
3
+ "version": "2.21.4",
4
4
  "description": "A CLI for creating and deploying new applications to Cloudflare.",
5
5
  "keywords": [
6
6
  "cloudflare",
@@ -29,7 +29,7 @@
29
29
  "@babel/parser": "^7.21.3",
30
30
  "@babel/types": "^7.21.4",
31
31
  "@clack/prompts": "^0.6.3",
32
- "@cloudflare/workers-types": "^4.20240512.0",
32
+ "@cloudflare/workers-types": "^4.20240524.0",
33
33
  "@iarna/toml": "^3.0.0",
34
34
  "@types/command-exists": "^1.2.0",
35
35
  "@types/cross-spawn": "^6.0.2",
@@ -64,10 +64,10 @@
64
64
  "which-pm-runs": "^1.1.0",
65
65
  "wrap-ansi": "^9.0.0",
66
66
  "yargs": "^17.7.1",
67
- "@cloudflare/eslint-config-worker": "1.1.0",
68
- "wrangler": "3.57.1",
69
67
  "@cloudflare/cli": "1.1.1",
70
- "@cloudflare/workers-tsconfig": "0.0.0"
68
+ "@cloudflare/eslint-config-worker": "1.1.0",
69
+ "@cloudflare/workers-tsconfig": "0.0.0",
70
+ "wrangler": "3.58.0"
71
71
  },
72
72
  "engines": {
73
73
  "node": ">=18.14.1"
@@ -82,6 +82,10 @@
82
82
  "check:type": "tsc",
83
83
  "lint": "eslint",
84
84
  "test:e2e": "vitest run --config ./vitest-e2e.config.ts",
85
+ "test:e2e:npm": "pnpm run build && cross-env TEST_PM=npm vitest run --config ./vitest-e2e.config.ts",
86
+ "test:e2e:pnpm": "pnpm run build && cross-env TEST_PM=pnpm vitest run --config ./vitest-e2e.config.ts",
87
+ "test:e2e:bun": "pnpm run build && cross-env TEST_PM=bun vitest run --config ./vitest-e2e.config.ts",
88
+ "test:e2e:yarn": "pnpm run build && cross-env TEST_PM=yarn vitest run --config ./vitest-e2e.config.ts",
85
89
  "test:unit": "vitest run --config ./vitest.config.ts",
86
90
  "test:unit:watch": "vitest --config ./vitest.config.ts",
87
91
  "watch": "node -r esbuild-register scripts/build.ts --watch",
@@ -1,6 +1,6 @@
1
1
  #:schema node_modules/wrangler/config-schema.json
2
2
  name = "<TBD>"
3
- main = "src/index.ts"
3
+ main = "src/index.js"
4
4
  compatibility_date = "<TBD>"
5
5
 
6
6
  # Automatically place your workloads in an optimal location to minimize latency.