create-prisma-php-app 1.6.46 → 1.6.47

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
@@ -357,6 +357,9 @@ async function getAnswer(predefinedAnswers = {}) {
357
357
  if (Object.keys(response).length === 0 && !predefinedAnswers.projectName) {
358
358
  return null;
359
359
  }
360
+ if (onCancel()) {
361
+ return null;
362
+ }
360
363
  return {
361
364
  projectName: response.projectName
362
365
  ? String(response.projectName).trim().replace(/ /g, "-")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prisma-php-app",
3
- "version": "1.6.46",
3
+ "version": "1.6.47",
4
4
  "description": "Prisma-PHP: A Revolutionary Library Bridging PHP with Prisma ORM",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",