create-prisma-php-app 1.11.529 → 1.11.530
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 +3 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -239,14 +239,11 @@ function copyRecursiveSync(src, dest, answer) {
|
|
|
239
239
|
// Function to execute the recursive copy for entire directories
|
|
240
240
|
async function executeCopy(baseDir, directoriesToCopy, answer) {
|
|
241
241
|
directoriesToCopy.forEach(({ srcDir, destDir }) => {
|
|
242
|
-
if (
|
|
243
|
-
!answer.prisma &&
|
|
244
|
-
(srcDir === "/prisma-client-php" || srcDir === "\\prisma-client-php")
|
|
245
|
-
)
|
|
246
|
-
return;
|
|
242
|
+
if (!answer.prisma && srcDir.includes("prisma-client-php")) return;
|
|
247
243
|
if (
|
|
248
244
|
!answer.websocket &&
|
|
249
|
-
(srcDir
|
|
245
|
+
(srcDir.includes("src/Lib/Websocket") ||
|
|
246
|
+
srcDir.includes("src\\Lib\\Websocket"))
|
|
250
247
|
)
|
|
251
248
|
return;
|
|
252
249
|
const sourcePath = path.join(__dirname, srcDir);
|