create-prisma-php-app 1.20.513 → 1.20.515
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 +10 -10
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -421,16 +421,16 @@ async function createDirectoryStructure(baseDir, answer) {
|
|
|
421
421
|
},
|
|
422
422
|
];
|
|
423
423
|
if (answer.backendOnly && answer.swaggerDocs) {
|
|
424
|
-
directoriesToCopy.push(
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
);
|
|
424
|
+
directoriesToCopy.push({
|
|
425
|
+
srcDir: "/swagger-docs-layout.php",
|
|
426
|
+
destDir: "/src/app/layout.php",
|
|
427
|
+
});
|
|
428
|
+
}
|
|
429
|
+
if (answer.swaggerDocs) {
|
|
430
|
+
directoriesToCopy.push({
|
|
431
|
+
srcDir: "/swagger-docs-index.php",
|
|
432
|
+
destDir: "/src/app/swagger-docs/index.php",
|
|
433
|
+
});
|
|
434
434
|
}
|
|
435
435
|
if (answer.prisma) {
|
|
436
436
|
directoriesToCopy.push({
|