create-whop-kit 0.9.3 → 0.9.5
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-create.js +16 -8
- package/package.json +1 -1
package/dist/cli-create.js
CHANGED
|
@@ -666,14 +666,22 @@ var init_default = defineCommand({
|
|
|
666
666
|
let deployResult = null;
|
|
667
667
|
let deployAttempted = false;
|
|
668
668
|
if (!args["skip-deploy"] && !args["dry-run"]) {
|
|
669
|
-
const
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
669
|
+
const deployChoice = isNonInteractive ? "local" : await p5.select({
|
|
670
|
+
message: "What would you like to do next?",
|
|
671
|
+
options: [
|
|
672
|
+
{
|
|
673
|
+
value: "deploy",
|
|
674
|
+
label: "Push to GitHub and deploy to Vercel (recommended)",
|
|
675
|
+
hint: "Private repo, auto-deploy on every git push"
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
value: "local",
|
|
679
|
+
label: "Develop locally first",
|
|
680
|
+
hint: "Start on localhost:3000, deploy later with whop-kit deploy"
|
|
681
|
+
}
|
|
682
|
+
]
|
|
683
|
+
});
|
|
684
|
+
if (!isCancelled(deployChoice) && deployChoice === "deploy") {
|
|
677
685
|
deployAttempted = true;
|
|
678
686
|
const { runDeployPipeline } = await import("./deploy-RKFHMMX4.js");
|
|
679
687
|
deployResult = await runDeployPipeline({
|