create-cloudflare 2.67.2 → 2.67.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 +28892 -27996
- package/package.json +7 -7
- package/templates/analog/c3.ts +2 -2
- package/templates/angular/pages/c3.ts +3 -3
- package/templates/angular/workers/c3.ts +3 -3
- package/templates/astro/pages/c3.ts +3 -3
- package/templates/astro/workers/c3.ts +3 -3
- package/templates/gatsby/pages/c3.ts +1 -1
- package/templates/gatsby/workers/c3.ts +1 -1
- package/templates/hono/pages/c3.ts +1 -1
- package/templates/hono/workers/c3.ts +1 -1
- package/templates/nuxt/pages/c3.ts +3 -3
- package/templates/nuxt/workers/c3.ts +3 -3
- package/templates/pre-existing/c3.ts +2 -2
- package/templates/qwik/pages/c3.ts +7 -4
- package/templates/qwik/workers/c3.ts +7 -4
- package/templates/react/pages/c3.ts +2 -2
- package/templates/react/workers/c3.ts +6 -3
- package/templates/react-router/c3.ts +1 -1
- package/templates/redwood/c3.ts +1 -1
- package/templates/solid/c3.ts +2 -2
- package/templates/svelte/pages/c3.ts +2 -2
- package/templates/svelte/workers/c3.ts +2 -2
- package/templates/tanstack-start/c3.ts +1 -1
- package/templates/vike/c3.ts +1 -1
- package/templates/vike/experimental-c3.ts +1 -1
- package/templates/vue/workers/c3.ts +6 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-cloudflare",
|
|
3
|
-
"version": "2.67.
|
|
3
|
+
"version": "2.67.4",
|
|
4
4
|
"description": "A CLI for creating and deploying new applications to Cloudflare.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cloudflare",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@babel/parser": "^7.21.3",
|
|
32
32
|
"@babel/types": "^7.21.4",
|
|
33
|
-
"@clack/prompts": "^
|
|
34
|
-
"@cloudflare/workers-types": "^4.
|
|
33
|
+
"@clack/prompts": "^1.2.0",
|
|
34
|
+
"@cloudflare/workers-types": "^4.20260426.1",
|
|
35
35
|
"@types/command-exists": "^1.2.0",
|
|
36
36
|
"@types/cross-spawn": "^6.0.2",
|
|
37
37
|
"@types/deepmerge": "^2.2.0",
|
|
@@ -72,13 +72,13 @@
|
|
|
72
72
|
"wrap-ansi": "^9.0.0",
|
|
73
73
|
"xdg-app-paths": "^8.3.0",
|
|
74
74
|
"yargs": "^17.7.2",
|
|
75
|
-
"@cloudflare/cli": "1.
|
|
75
|
+
"@cloudflare/cli-shared-helpers": "0.1.0",
|
|
76
76
|
"@cloudflare/codemod": "1.1.0",
|
|
77
77
|
"@cloudflare/mock-npm-registry": "0.0.0",
|
|
78
|
-
"@cloudflare/vite-plugin": "1.
|
|
78
|
+
"@cloudflare/vite-plugin": "1.34.0",
|
|
79
79
|
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
80
|
-
"@cloudflare/workers-utils": "0.
|
|
81
|
-
"wrangler": "4.
|
|
80
|
+
"@cloudflare/workers-utils": "0.18.0",
|
|
81
|
+
"wrangler": "4.86.0"
|
|
82
82
|
},
|
|
83
83
|
"engines": {
|
|
84
84
|
"node": ">=20.0.0"
|
package/templates/analog/c3.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { logRaw, updateStatus } from "@cloudflare/cli";
|
|
2
|
-
import { blue } from "@cloudflare/cli/colors";
|
|
1
|
+
import { logRaw, updateStatus } from "@cloudflare/cli-shared-helpers";
|
|
2
|
+
import { blue } from "@cloudflare/cli-shared-helpers/colors";
|
|
3
3
|
import { mergeObjectProperties, transformFile } from "@cloudflare/codemod";
|
|
4
4
|
import { runFrameworkGenerator } from "frameworks/index";
|
|
5
5
|
import { getWorkerdCompatibilityDate } from "helpers/compatDate";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolve } from "node:path";
|
|
2
|
-
import { logRaw } from "@cloudflare/cli";
|
|
3
|
-
import { brandColor, dim } from "@cloudflare/cli/colors";
|
|
4
|
-
import { spinner } from "@cloudflare/cli/interactive";
|
|
2
|
+
import { logRaw } from "@cloudflare/cli-shared-helpers";
|
|
3
|
+
import { brandColor, dim } from "@cloudflare/cli-shared-helpers/colors";
|
|
4
|
+
import { spinner } from "@cloudflare/cli-shared-helpers/interactive";
|
|
5
5
|
import { runFrameworkGenerator } from "frameworks/index";
|
|
6
6
|
import { readFile, readJSON, writeFile } from "helpers/files";
|
|
7
7
|
import { detectPackageManager } from "helpers/packageManagers";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolve } from "node:path";
|
|
2
|
-
import { logRaw } from "@cloudflare/cli";
|
|
3
|
-
import { brandColor, dim } from "@cloudflare/cli/colors";
|
|
4
|
-
import { spinner } from "@cloudflare/cli/interactive";
|
|
2
|
+
import { logRaw } from "@cloudflare/cli-shared-helpers";
|
|
3
|
+
import { brandColor, dim } from "@cloudflare/cli-shared-helpers/colors";
|
|
4
|
+
import { spinner } from "@cloudflare/cli-shared-helpers/interactive";
|
|
5
5
|
import { runFrameworkGenerator } from "frameworks/index";
|
|
6
6
|
import { readFile, readJSON, writeFile } from "helpers/files";
|
|
7
7
|
import { detectPackageManager } from "helpers/packageManagers";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { logRaw, updateStatus } from "@cloudflare/cli";
|
|
2
|
-
import { blue, brandColor, dim } from "@cloudflare/cli/colors";
|
|
3
|
-
import { runCommand } from "@cloudflare/cli/command";
|
|
1
|
+
import { logRaw, updateStatus } from "@cloudflare/cli-shared-helpers";
|
|
2
|
+
import { blue, brandColor, dim } from "@cloudflare/cli-shared-helpers/colors";
|
|
3
|
+
import { runCommand } from "@cloudflare/cli-shared-helpers/command";
|
|
4
4
|
import { transformFile } from "@cloudflare/codemod";
|
|
5
5
|
import { runFrameworkGenerator } from "frameworks/index";
|
|
6
6
|
import { usesTypescript } from "helpers/files";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { logRaw } from "@cloudflare/cli";
|
|
2
|
-
import { brandColor, dim } from "@cloudflare/cli/colors";
|
|
3
|
-
import { runCommand } from "@cloudflare/cli/command";
|
|
1
|
+
import { logRaw } from "@cloudflare/cli-shared-helpers";
|
|
2
|
+
import { brandColor, dim } from "@cloudflare/cli-shared-helpers/colors";
|
|
3
|
+
import { runCommand } from "@cloudflare/cli-shared-helpers/command";
|
|
4
4
|
import { runFrameworkGenerator } from "frameworks/index";
|
|
5
5
|
import { usesTypescript } from "helpers/files";
|
|
6
6
|
import { detectPackageManager } from "helpers/packageManagers";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { inputPrompt } from "@cloudflare/cli/interactive";
|
|
1
|
+
import { inputPrompt } from "@cloudflare/cli-shared-helpers/interactive";
|
|
2
2
|
import { runFrameworkGenerator } from "frameworks/index";
|
|
3
3
|
import { detectPackageManager } from "helpers/packageManagers";
|
|
4
4
|
import type { TemplateConfig } from "../../../src/templates";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { inputPrompt } from "@cloudflare/cli/interactive";
|
|
1
|
+
import { inputPrompt } from "@cloudflare/cli-shared-helpers/interactive";
|
|
2
2
|
import { runFrameworkGenerator } from "frameworks/index";
|
|
3
3
|
import { detectPackageManager } from "helpers/packageManagers";
|
|
4
4
|
import type { TemplateConfig } from "../../../src/templates";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { logRaw } from "@cloudflare/cli";
|
|
1
|
+
import { logRaw } from "@cloudflare/cli-shared-helpers";
|
|
2
2
|
import { runFrameworkGenerator } from "frameworks/index";
|
|
3
3
|
import { detectPackageManager } from "helpers/packageManagers";
|
|
4
4
|
import type { TemplateConfig } from "../../../src/templates";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { logRaw } from "@cloudflare/cli";
|
|
1
|
+
import { logRaw } from "@cloudflare/cli-shared-helpers";
|
|
2
2
|
import { runFrameworkGenerator } from "frameworks/index";
|
|
3
3
|
import { detectPackageManager } from "helpers/packageManagers";
|
|
4
4
|
import type { TemplateConfig } from "../../../src/templates";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { logRaw } from "@cloudflare/cli";
|
|
2
|
-
import { brandColor, dim } from "@cloudflare/cli/colors";
|
|
3
|
-
import { spinner } from "@cloudflare/cli/interactive";
|
|
1
|
+
import { logRaw } from "@cloudflare/cli-shared-helpers";
|
|
2
|
+
import { brandColor, dim } from "@cloudflare/cli-shared-helpers/colors";
|
|
3
|
+
import { spinner } from "@cloudflare/cli-shared-helpers/interactive";
|
|
4
4
|
import { mergeObjectProperties, transformFile } from "@cloudflare/codemod";
|
|
5
5
|
import { runFrameworkGenerator } from "frameworks/index";
|
|
6
6
|
import { writeFile } from "helpers/files";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { logRaw } from "@cloudflare/cli";
|
|
2
|
-
import { brandColor, dim } from "@cloudflare/cli/colors";
|
|
3
|
-
import { spinner } from "@cloudflare/cli/interactive";
|
|
1
|
+
import { logRaw } from "@cloudflare/cli-shared-helpers";
|
|
2
|
+
import { brandColor, dim } from "@cloudflare/cli-shared-helpers/colors";
|
|
3
|
+
import { spinner } from "@cloudflare/cli-shared-helpers/interactive";
|
|
4
4
|
import { mergeObjectProperties, transformFile } from "@cloudflare/codemod";
|
|
5
5
|
import { runFrameworkGenerator } from "frameworks/index";
|
|
6
6
|
import { writeFile } from "helpers/files";
|
|
@@ -2,8 +2,8 @@ import { existsSync } from "node:fs";
|
|
|
2
2
|
import { cp, mkdtemp } from "node:fs/promises";
|
|
3
3
|
import { tmpdir } from "node:os";
|
|
4
4
|
import { join } from "node:path";
|
|
5
|
-
import { brandColor, dim } from "@cloudflare/cli/colors";
|
|
6
|
-
import { runCommand } from "@cloudflare/cli/command";
|
|
5
|
+
import { brandColor, dim } from "@cloudflare/cli-shared-helpers/colors";
|
|
6
|
+
import { runCommand } from "@cloudflare/cli-shared-helpers/command";
|
|
7
7
|
import { processArgument } from "helpers/args";
|
|
8
8
|
import { detectPackageManager } from "helpers/packageManagers";
|
|
9
9
|
import { chooseAccount, wranglerLogin } from "../../src/wrangler/accounts";
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import { endSection } from "@cloudflare/cli";
|
|
2
|
-
import { brandColor } from "@cloudflare/cli/colors";
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { endSection } from "@cloudflare/cli-shared-helpers";
|
|
2
|
+
import { brandColor } from "@cloudflare/cli-shared-helpers/colors";
|
|
3
|
+
import {
|
|
4
|
+
quoteShellArgs,
|
|
5
|
+
runCommand,
|
|
6
|
+
} from "@cloudflare/cli-shared-helpers/command";
|
|
7
|
+
import { spinner } from "@cloudflare/cli-shared-helpers/interactive";
|
|
5
8
|
import { transformFile } from "@cloudflare/codemod";
|
|
6
9
|
import { runFrameworkGenerator } from "frameworks/index";
|
|
7
10
|
import { loadTemplateSnippets } from "helpers/codemod";
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import { endSection } from "@cloudflare/cli";
|
|
2
|
-
import { brandColor } from "@cloudflare/cli/colors";
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { endSection } from "@cloudflare/cli-shared-helpers";
|
|
2
|
+
import { brandColor } from "@cloudflare/cli-shared-helpers/colors";
|
|
3
|
+
import {
|
|
4
|
+
quoteShellArgs,
|
|
5
|
+
runCommand,
|
|
6
|
+
} from "@cloudflare/cli-shared-helpers/command";
|
|
7
|
+
import { spinner } from "@cloudflare/cli-shared-helpers/interactive";
|
|
5
8
|
import { transformFile } from "@cloudflare/codemod";
|
|
6
9
|
import { runFrameworkGenerator } from "frameworks/index";
|
|
7
10
|
import { loadTemplateSnippets } from "helpers/codemod";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { logRaw } from "@cloudflare/cli";
|
|
2
|
-
import { inputPrompt } from "@cloudflare/cli/interactive";
|
|
1
|
+
import { logRaw } from "@cloudflare/cli-shared-helpers";
|
|
2
|
+
import { inputPrompt } from "@cloudflare/cli-shared-helpers/interactive";
|
|
3
3
|
import { runFrameworkGenerator } from "frameworks/index";
|
|
4
4
|
import { detectPackageManager } from "helpers/packageManagers";
|
|
5
5
|
import type { TemplateConfig } from "../../../src/templates";
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import assert from "node:assert";
|
|
2
|
-
import { logRaw } from "@cloudflare/cli";
|
|
3
|
-
import { brandColor, dim } from "@cloudflare/cli/colors";
|
|
4
|
-
import {
|
|
2
|
+
import { logRaw } from "@cloudflare/cli-shared-helpers";
|
|
3
|
+
import { brandColor, dim } from "@cloudflare/cli-shared-helpers/colors";
|
|
4
|
+
import {
|
|
5
|
+
inputPrompt,
|
|
6
|
+
spinner,
|
|
7
|
+
} from "@cloudflare/cli-shared-helpers/interactive";
|
|
5
8
|
import { transformFile } from "@cloudflare/codemod";
|
|
6
9
|
import { runFrameworkGenerator } from "frameworks/index";
|
|
7
10
|
import { readJSON, usesTypescript, writeJSON } from "helpers/files";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { logRaw } from "@cloudflare/cli";
|
|
1
|
+
import { logRaw } from "@cloudflare/cli-shared-helpers";
|
|
2
2
|
import { runFrameworkGenerator } from "frameworks/index";
|
|
3
3
|
import { detectPackageManager } from "helpers/packageManagers";
|
|
4
4
|
import type { TemplateConfig } from "../../src/templates";
|
package/templates/redwood/c3.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { logRaw } from "@cloudflare/cli";
|
|
1
|
+
import { logRaw } from "@cloudflare/cli-shared-helpers";
|
|
2
2
|
import { runFrameworkGenerator } from "frameworks/index";
|
|
3
3
|
import { detectPackageManager } from "helpers/packageManagers";
|
|
4
4
|
import type { TemplateConfig } from "../../src/templates";
|
package/templates/solid/c3.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { logRaw, updateStatus } from "@cloudflare/cli";
|
|
2
|
-
import { blue } from "@cloudflare/cli/colors";
|
|
1
|
+
import { logRaw, updateStatus } from "@cloudflare/cli-shared-helpers";
|
|
2
|
+
import { blue } from "@cloudflare/cli-shared-helpers/colors";
|
|
3
3
|
import { mergeObjectProperties, transformFile } from "@cloudflare/codemod";
|
|
4
4
|
import { runFrameworkGenerator } from "frameworks/index";
|
|
5
5
|
import { usesTypescript } from "helpers/files";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { existsSync } from "node:fs";
|
|
2
|
-
import { logRaw, updateStatus } from "@cloudflare/cli";
|
|
3
|
-
import { blue, brandColor, dim } from "@cloudflare/cli/colors";
|
|
2
|
+
import { logRaw, updateStatus } from "@cloudflare/cli-shared-helpers";
|
|
3
|
+
import { blue, brandColor, dim } from "@cloudflare/cli-shared-helpers/colors";
|
|
4
4
|
import { transformFile } from "@cloudflare/codemod";
|
|
5
5
|
import { runFrameworkGenerator } from "frameworks/index";
|
|
6
6
|
import { usesTypescript } from "helpers/files";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { logRaw, updateStatus } from "@cloudflare/cli";
|
|
2
|
-
import { blue, brandColor, dim } from "@cloudflare/cli/colors";
|
|
1
|
+
import { logRaw, updateStatus } from "@cloudflare/cli-shared-helpers";
|
|
2
|
+
import { blue, brandColor, dim } from "@cloudflare/cli-shared-helpers/colors";
|
|
3
3
|
import { transformFile } from "@cloudflare/codemod";
|
|
4
4
|
import { runFrameworkGenerator } from "frameworks/index";
|
|
5
5
|
import { usesTypescript } from "helpers/files";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { logRaw } from "@cloudflare/cli";
|
|
1
|
+
import { logRaw } from "@cloudflare/cli-shared-helpers";
|
|
2
2
|
import { runFrameworkGenerator } from "frameworks/index";
|
|
3
3
|
import { detectPackageManager } from "helpers/packageManagers";
|
|
4
4
|
import type { TemplateConfig } from "../../src/templates";
|
package/templates/vike/c3.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import { logRaw } from "@cloudflare/cli";
|
|
2
|
-
import { brandColor, dim } from "@cloudflare/cli/colors";
|
|
3
|
-
import {
|
|
1
|
+
import { logRaw } from "@cloudflare/cli-shared-helpers";
|
|
2
|
+
import { brandColor, dim } from "@cloudflare/cli-shared-helpers/colors";
|
|
3
|
+
import {
|
|
4
|
+
inputPrompt,
|
|
5
|
+
spinner,
|
|
6
|
+
} from "@cloudflare/cli-shared-helpers/interactive";
|
|
4
7
|
import { runFrameworkGenerator } from "frameworks/index";
|
|
5
8
|
import { readJSON, usesTypescript, writeJSON } from "helpers/files";
|
|
6
9
|
import { detectPackageManager } from "helpers/packageManagers";
|