create-prisma-php-app 1.6.53 → 1.6.54

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.
@@ -77,7 +77,14 @@ const main = async () => {
77
77
  ]);
78
78
  }
79
79
  catch (error) {
80
- console.error("Error in script execution:", error);
80
+ if (error instanceof Error) {
81
+ if (error.message.includes("no such file or directory")) {
82
+ console.error(chalk.red("The configuration file 'prisma-php.json' was not found in the current directory."));
83
+ }
84
+ }
85
+ else {
86
+ console.error("Error in script execution:", error);
87
+ }
81
88
  }
82
89
  }
83
90
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prisma-php-app",
3
- "version": "1.6.53",
3
+ "version": "1.6.54",
4
4
  "description": "Prisma-PHP: A Revolutionary Library Bridging PHP with Prisma ORM",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",