create-cloudflare 0.0.0-a74477f6 → 0.0.0-c43fc4e8
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 +3 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -59419,7 +59419,7 @@ var Yargs = YargsFactory(esm_default);
|
|
|
59419
59419
|
var yargs_default = Yargs;
|
|
59420
59420
|
|
|
59421
59421
|
// package.json
|
|
59422
|
-
var version = "0.0.0-
|
|
59422
|
+
var version = "0.0.0-c43fc4e8";
|
|
59423
59423
|
|
|
59424
59424
|
// src/common.ts
|
|
59425
59425
|
var import_fs6 = require("fs");
|
|
@@ -60863,8 +60863,8 @@ async function updateFiles(ctx) {
|
|
|
60863
60863
|
|
|
60864
60864
|
// src/cli.ts
|
|
60865
60865
|
var main = async (argv) => {
|
|
60866
|
-
printBanner();
|
|
60867
60866
|
const args = await parseArgs(argv);
|
|
60867
|
+
printBanner();
|
|
60868
60868
|
const validatedArgs = {
|
|
60869
60869
|
...args,
|
|
60870
60870
|
projectName: await validateName(args.projectName, {
|
|
@@ -60891,7 +60891,7 @@ var parseArgs = async (argv) => {
|
|
|
60891
60891
|
}).option("existing-script", {
|
|
60892
60892
|
type: "string",
|
|
60893
60893
|
hidden: templateMap["pre-existing"].hidden
|
|
60894
|
-
}).option("wrangler-defaults", { type: "boolean", hidden: true }).help().argv;
|
|
60894
|
+
}).option("wrangler-defaults", { type: "boolean", hidden: true }).version(version).help().argv;
|
|
60895
60895
|
return {
|
|
60896
60896
|
projectName: args._[0],
|
|
60897
60897
|
...args
|