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.
Files changed (2) hide show
  1. package/dist/cli-create.js +16 -8
  2. package/package.json +1 -1
@@ -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 shouldDeploy = isNonInteractive ? false : await (async () => {
670
- const result = await p5.confirm({
671
- message: "Deploy to Vercel and connect to Whop?",
672
- initialValue: true
673
- });
674
- return !isCancelled(result) && result;
675
- })();
676
- if (shouldDeploy) {
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({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-whop-kit",
3
- "version": "0.9.3",
3
+ "version": "0.9.5",
4
4
  "description": "Scaffold and manage Whop-powered apps with whop-kit",
5
5
  "type": "module",
6
6
  "license": "MIT",