create-prisma-php-app 2.3.36 → 2.3.37

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.
@@ -69,11 +69,11 @@ const { __dirname } = getFileMeta();
69
69
  );
70
70
  });
71
71
 
72
- // 3) Run `npx ppo generate` and wait for it to finish
72
+ // 3) Run `npm run ppo generate` and wait for it to finish
73
73
  if (prismaPhpConfigJson.prisma) {
74
74
  try {
75
- console.log("🚀 Running `npx ppo generate`...");
76
- const { stdout, stderr } = await exec("npx ppo generate");
75
+ console.log("🚀 Running `npm run ppo generate`...");
76
+ const { stdout, stderr } = await exec("npm run ppo");
77
77
  if (stderr) console.error(stderr);
78
78
  console.log(`stdout:\n${stdout}`);
79
79
  } catch (error: any) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prisma-php-app",
3
- "version": "2.3.36",
3
+ "version": "2.3.37",
4
4
  "description": "Prisma-PHP: A Revolutionary Library Bridging PHP with Prisma ORM",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",