create-cloudflare 0.0.0-e16d0272 → 0.0.0-e4ef867c
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
|
@@ -59412,7 +59412,7 @@ var Yargs = YargsFactory(esm_default);
|
|
|
59412
59412
|
var yargs_default = Yargs;
|
|
59413
59413
|
|
|
59414
59414
|
// package.json
|
|
59415
|
-
var version = "0.0.0-
|
|
59415
|
+
var version = "0.0.0-e4ef867c";
|
|
59416
59416
|
|
|
59417
59417
|
// src/common.ts
|
|
59418
59418
|
var import_fs6 = require("fs");
|
|
@@ -59514,6 +59514,9 @@ var runCommand = async (command2, opts = {}) => {
|
|
|
59514
59514
|
}
|
|
59515
59515
|
}
|
|
59516
59516
|
});
|
|
59517
|
+
cmd.on("error", (code) => {
|
|
59518
|
+
reject(code);
|
|
59519
|
+
});
|
|
59517
59520
|
});
|
|
59518
59521
|
}
|
|
59519
59522
|
});
|
|
@@ -59624,10 +59627,14 @@ var installWrangler = async () => {
|
|
|
59624
59627
|
};
|
|
59625
59628
|
var isLoggedIn = async () => {
|
|
59626
59629
|
const { npx: npx6 } = detectPackageManager();
|
|
59627
|
-
|
|
59628
|
-
|
|
59629
|
-
|
|
59630
|
-
|
|
59630
|
+
try {
|
|
59631
|
+
const output = await runCommand(`${npx6} wrangler whoami`, {
|
|
59632
|
+
silent: true
|
|
59633
|
+
});
|
|
59634
|
+
return /You are logged in/.test(output);
|
|
59635
|
+
} catch (error) {
|
|
59636
|
+
return false;
|
|
59637
|
+
}
|
|
59631
59638
|
};
|
|
59632
59639
|
var wranglerLogin = async () => {
|
|
59633
59640
|
const { npx: npx6 } = detectPackageManager();
|
|
@@ -59846,6 +59853,7 @@ var chooseAccount = async (ctx) => {
|
|
|
59846
59853
|
};
|
|
59847
59854
|
var printSummary = async (ctx) => {
|
|
59848
59855
|
const nextSteps = [
|
|
59856
|
+
[`Navigate to the new directory:`, `cd ${ctx.project.name}`],
|
|
59849
59857
|
[
|
|
59850
59858
|
`Run the development server`,
|
|
59851
59859
|
`${npm} run ${ctx.framework?.config.devCommand ?? "start"}`
|
|
@@ -60485,7 +60493,7 @@ var config11 = {
|
|
|
60485
60493
|
displayName: "Solid",
|
|
60486
60494
|
packageScripts: {
|
|
60487
60495
|
"pages:dev": `wrangler pages dev ${compatDateFlag()} --proxy 3000 -- ${npm9} run dev`,
|
|
60488
|
-
"pages:deploy": `${npm9} run build
|
|
60496
|
+
"pages:deploy": `${npm9} run build && wrangler pages deploy ./dist/public`
|
|
60489
60497
|
}
|
|
60490
60498
|
};
|
|
60491
60499
|
var solid_default = config11;
|
package/package.json
CHANGED