create-prisma-php-app 1.18.505 → 1.18.507

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 +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -426,7 +426,7 @@ async function createDirectoryStructure(baseDir, answer) {
426
426
  modifyLayoutPHP(baseDir, answer);
427
427
  modifyPostcssConfig(baseDir);
428
428
  } else {
429
- modifyLayoutPHP(baseDir, answer);
429
+ if (!answer.backendOnly) modifyLayoutPHP(baseDir, answer);
430
430
  }
431
431
  const prismaPHPEnvContent = `# Prisma PHP Auth Secret Key For development only - Change this in production
432
432
  AUTH_SECRET=uxsjXVPHN038DEYls2Kw0QUgBcXKUyrjv416nIFWPY4=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prisma-php-app",
3
- "version": "1.18.505",
3
+ "version": "1.18.507",
4
4
  "description": "Prisma-PHP: A Revolutionary Library Bridging PHP with Prisma ORM",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",