create-prisma-php-app 1.18.510 → 1.18.511

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/index.js CHANGED
@@ -514,12 +514,7 @@ async function getAnswer(predefinedAnswers = {}) {
514
514
  inactive: "No",
515
515
  });
516
516
  }
517
- // Execute the questionsArray first to determine the backendOnly option const questions: PromptObject<string>[] =
518
- questionsArray;
519
- console.log("🚀 ~ questions:", questionsArray);
520
- if (questionsArray.length === 0 && predefinedAnswers.projectName) {
521
- return predefinedAnswers;
522
- }
517
+ // Execute the questionsArray first to determine the backendOnly option
523
518
  const onCancel = () => {
524
519
  console.log(chalk.red("Operation cancelled by the user."));
525
520
  process.exit(0);
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
  import chalk from "chalk";
3
3
  import { spawn } from "child_process";
4
4
  import fs from "fs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prisma-php-app",
3
- "version": "1.18.510",
3
+ "version": "1.18.511",
4
4
  "description": "Prisma-PHP: A Revolutionary Library Bridging PHP with Prisma ORM",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",