create-cloudflare 2.45.1 → 2.45.2
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.45.
|
|
74563
|
+
var version = "2.45.2";
|
|
74564
74564
|
|
|
74565
74565
|
// src/metrics.ts
|
|
74566
74566
|
var import_node_async_hooks = require("node:async_hooks");
|
|
@@ -77408,7 +77408,7 @@ var configure13 = async (ctx) => {
|
|
|
77408
77408
|
startText: "Installing the Cloudflare Vite plugin",
|
|
77409
77409
|
doneText: `${brandColor(`installed`)} ${dim("@cloudflare/vite-plugin")}`
|
|
77410
77410
|
});
|
|
77411
|
-
|
|
77411
|
+
transformViteConfig(ctx);
|
|
77412
77412
|
if (usesTypescript(ctx)) {
|
|
77413
77413
|
updateTsconfigJson();
|
|
77414
77414
|
}
|
|
@@ -78063,7 +78063,7 @@ var c3_default50 = config47;
|
|
|
78063
78063
|
var import_node_assert = __toESM(require("node:assert"));
|
|
78064
78064
|
|
|
78065
78065
|
// ../wrangler/package.json
|
|
78066
|
-
var version2 = "4.13.
|
|
78066
|
+
var version2 = "4.13.1";
|
|
78067
78067
|
|
|
78068
78068
|
// src/git.ts
|
|
78069
78069
|
var offerGit = async (ctx) => {
|
|
@@ -78439,10 +78439,10 @@ var createContext = async (args, prevArgs) => {
|
|
|
78439
78439
|
deriveCorrelatedArgs(args);
|
|
78440
78440
|
const experimental = args.experimental;
|
|
78441
78441
|
const frameworkMap = getFrameworkMap({ experimental });
|
|
78442
|
-
const helloWorldTemplateMap =
|
|
78442
|
+
const helloWorldTemplateMap = getHelloWorldTemplateMap({
|
|
78443
78443
|
experimental
|
|
78444
78444
|
});
|
|
78445
|
-
const otherTemplateMap =
|
|
78445
|
+
const otherTemplateMap = getOtherTemplateMap({ experimental });
|
|
78446
78446
|
let linesPrinted = 0;
|
|
78447
78447
|
const goBack = async (from) => {
|
|
78448
78448
|
const currentArgs = { ...args };
|
|
@@ -78691,7 +78691,7 @@ async function copyTemplateFiles(ctx) {
|
|
|
78691
78691
|
}
|
|
78692
78692
|
srcdir = (0, import_path13.join)(getTemplatePath(ctx), variantInfo.path);
|
|
78693
78693
|
}
|
|
78694
|
-
const copyDestDir =
|
|
78694
|
+
const copyDestDir = getCopyFilesDestinationDir(ctx);
|
|
78695
78695
|
const destdir = (0, import_path13.join)(ctx.project.path, ...copyDestDir ? [copyDestDir] : []);
|
|
78696
78696
|
const s = spinner();
|
|
78697
78697
|
s.start(`Copying template files`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-cloudflare",
|
|
3
|
-
"version": "2.45.
|
|
3
|
+
"version": "2.45.2",
|
|
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.20250424.0",
|
|
34
34
|
"@iarna/toml": "^3.0.0",
|
|
35
35
|
"@types/command-exists": "^1.2.0",
|
|
36
36
|
"@types/cross-spawn": "^6.0.2",
|
|
@@ -70,12 +70,12 @@
|
|
|
70
70
|
"wrap-ansi": "^9.0.0",
|
|
71
71
|
"xdg-app-paths": "^8.3.0",
|
|
72
72
|
"yargs": "^17.7.2",
|
|
73
|
+
"@cloudflare/cli": "1.1.1",
|
|
73
74
|
"@cloudflare/eslint-config-worker": "1.1.0",
|
|
74
75
|
"@cloudflare/mock-npm-registry": "0.0.0",
|
|
75
|
-
"@cloudflare/vite-plugin": "1.0.
|
|
76
|
-
"@cloudflare/cli": "1.1.1",
|
|
76
|
+
"@cloudflare/vite-plugin": "1.0.11",
|
|
77
77
|
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
78
|
-
"wrangler": "4.13.
|
|
78
|
+
"wrangler": "4.13.1"
|
|
79
79
|
},
|
|
80
80
|
"engines": {
|
|
81
81
|
"node": ">=18.14.1"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"extends": "./tsconfig.node.json",
|
|
3
3
|
"compilerOptions": {
|
|
4
4
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.worker.tsbuildinfo",
|
|
5
|
-
"types": ["@cloudflare/workers-types/2023-07-01", "
|
|
5
|
+
"types": ["@cloudflare/workers-types/2023-07-01", "vite/client"]
|
|
6
6
|
},
|
|
7
|
-
"include": ["worker"]
|
|
7
|
+
"include": ["./worker-configuration.d.ts", "./worker"]
|
|
8
8
|
}
|