create-prisma-php-app 1.6.40 → 1.6.42

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 +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -168,9 +168,9 @@ function copyRecursiveSync(src, dest) {
168
168
  const isDirectory = exists && stats && stats.isDirectory();
169
169
  console.log("🚀 ~ copyRecursiveSync ~ isDirectory:", isDirectory);
170
170
  if (isDirectory) {
171
- if (fs.existsSync(dest)) {
172
- fs.rmSync(dest, { recursive: true, force: true }); // Remove the directory if it exists
173
- }
171
+ // if (fs.existsSync(dest)) {
172
+ // fs.rmSync(dest, { recursive: true, force: true }); // Remove the directory if it exists
173
+ // }
174
174
  fs.mkdirSync(dest, { recursive: true }); // Recreate the directory
175
175
  fs.readdirSync(src).forEach((childItemName) => {
176
176
  copyRecursiveSync(path.join(src, childItemName), path.join(dest, childItemName));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prisma-php-app",
3
- "version": "1.6.40",
3
+ "version": "1.6.42",
4
4
  "description": "Prisma-PHP: A Revolutionary Library Bridging PHP with Prisma ORM",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",