create-prisma-php-app 1.11.541 → 1.11.542

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 +2 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -421,11 +421,9 @@ AUTH_SECRET=uxsjXVPHN038DEYls2Kw0QUgBcXKUyrjv416nIFWPY4=
421
421
  # MAIL_FROM=john.doe@gmail.com
422
422
  # MAIL_FROM_NAME="John Doe"`;
423
423
  let envContent = prismaPHPEnvContent;
424
+ await createOrUpdateEnvFile(baseDir, envContent);
424
425
  if (answer.prisma) {
425
- envContent = `${prismaEnvContent}\n\n${prismaPHPEnvContent}`;
426
- await createOrUpdateEnvFile(baseDir, envContent);
427
- } else {
428
- await createOrUpdateEnvFile(baseDir, envContent);
426
+ // await createOrUpdateEnvFile(baseDir, prismaEnvContent);
429
427
  }
430
428
  // Add vendor to .gitignore
431
429
  await createUpdateGitignoreFile(baseDir, ["vendor", ".env", "node_modules"]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prisma-php-app",
3
- "version": "1.11.541",
3
+ "version": "1.11.542",
4
4
  "description": "Prisma-PHP: A Revolutionary Library Bridging PHP with Prisma ORM",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",