create-prisma-php-app 1.6.27 → 1.6.28

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 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -463,8 +463,10 @@ async function main() {
463
463
  dependencies.push("npm-run-all");
464
464
  }
465
465
  await installDependencies(projectPath, dependencies, true);
466
- execSync(`npx prisma init`, { stdio: "inherit" });
467
- execSync(`npx tsc --init`, { stdio: "inherit" });
466
+ if (!projectName) {
467
+ execSync(`npx prisma init`, { stdio: "inherit" });
468
+ execSync(`npx tsc --init`, { stdio: "inherit" });
469
+ }
468
470
  if (answer.tailwindcss) {
469
471
  execSync(`npx tailwindcss init -p`, { stdio: "inherit" });
470
472
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prisma-php-app",
3
- "version": "1.6.27",
3
+ "version": "1.6.28",
4
4
  "description": "Prisma-PHP: A Revolutionary Library Bridging PHP with Prisma ORM",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",