create-prisma-php-app 1.18.512 → 1.18.513

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 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -356,7 +356,8 @@ async function createDirectoryStructure(baseDir, answer) {
356
356
  await executeCopy(baseDir, directoriesToCopy, answer);
357
357
  await updatePackageJson(baseDir, answer);
358
358
  await updateComposerJson(baseDir, answer);
359
- await updateIndexJsForWebSocket(baseDir, answer);
359
+ if (!answer.backendOnly)
360
+ await updateIndexJsForWebSocket(baseDir, answer);
360
361
  if (answer.tailwindcss) {
361
362
  createOrUpdateTailwindConfig(baseDir);
362
363
  modifyLayoutPHP(baseDir, answer);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prisma-php-app",
3
- "version": "1.18.512",
3
+ "version": "1.18.513",
4
4
  "description": "Prisma-PHP: A Revolutionary Library Bridging PHP with Prisma ORM",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",