create-prisma-php-app 1.20.504 → 1.20.505

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