create-prisma-php-app 1.11.600 → 1.11.601

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/index.js +3 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -462,6 +462,9 @@ async function getAnswer(predefinedAnswers = {}) {
462
462
  }
463
463
  const questions = questionsArray;
464
464
  console.log("🚀 ~ questions:", questions);
465
+ if (questions.length === 0 && predefinedAnswers.projectName) {
466
+ return predefinedAnswers;
467
+ }
465
468
  const onCancel = () => {
466
469
  console.log(chalk.red("Operation cancelled by the user."));
467
470
  process.exit(0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prisma-php-app",
3
- "version": "1.11.600",
3
+ "version": "1.11.601",
4
4
  "description": "Prisma-PHP: A Revolutionary Library Bridging PHP with Prisma ORM",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",