create-prisma-php-app 1.6.44 → 1.6.45

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 +4 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -440,6 +440,10 @@ async function main() {
440
440
  websocket: useWebsocket,
441
441
  };
442
442
  answer = await getAnswer(predefinedAnswers);
443
+ if (answer === null) {
444
+ console.log(chalk.red("Installation cancelled."));
445
+ return;
446
+ }
443
447
  updateAnswer = {
444
448
  projectName,
445
449
  tailwindcss: (_a = answer === null || answer === void 0 ? void 0 : answer.tailwindcss) !== null && _a !== void 0 ? _a : false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prisma-php-app",
3
- "version": "1.6.44",
3
+ "version": "1.6.45",
4
4
  "description": "Prisma-PHP: A Revolutionary Library Bridging PHP with Prisma ORM",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",