create-prisma-php-app 1.20.501 → 1.20.503

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.
package/dist/index.js CHANGED
@@ -429,6 +429,12 @@ async function createDirectoryStructure(baseDir, answer) {
429
429
  destDir: "/src",
430
430
  },
431
431
  ];
432
+ if (answer.backendOnly && answer.swaggerDocs) {
433
+ directoriesToCopy.push({
434
+ srcDir: "/../swagger-docs-layout.php",
435
+ destDir: "/src/app/layout.php",
436
+ });
437
+ }
432
438
  if (answer.prisma) {
433
439
  directoriesToCopy.push({
434
440
  srcDir: "/prisma",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prisma-php-app",
3
- "version": "1.20.501",
3
+ "version": "1.20.503",
4
4
  "description": "Prisma-PHP: A Revolutionary Library Bridging PHP with Prisma ORM",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",