create-prisma-php-app 1.11.540 → 1.11.541

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 +1 -21
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -690,26 +690,6 @@ async function main() {
690
690
  if (!fs.existsSync(publicDirPath)) {
691
691
  fs.mkdirSync(publicDirPath);
692
692
  }
693
- // if (!answer.prisma) {
694
- // const prismaPath = path.join(projectPath, "prisma");
695
- // const prismClassPath = path.join(projectPath, "src", "Lib", "Prisma");
696
- // // Check if the prisma directory exists
697
- // if (fs.existsSync(prismaPath)) {
698
- // // Use fs.rmSync with recursive option set to true to delete the directory and its contents
699
- // fs.rmSync(prismaPath, { recursive: true, force: true }); // force option is not necessary but can be used to ensure deletion
700
- // console.log("Prisma directory was deleted successfully.");
701
- // } else {
702
- // console.log("Prisma directory does not exist.");
703
- // }
704
- // // Check if the prisma class directory exists
705
- // if (fs.existsSync(prismClassPath)) {
706
- // // Use fs.rmSync with recursive option set to true to delete the directory and its contents
707
- // fs.rmSync(prismClassPath, { recursive: true, force: true }); // force option is not necessary but can be used to ensure deletion
708
- // console.log("Prisma class directory was deleted successfully.");
709
- // } else {
710
- // console.log("Prisma class directory does not exist.");
711
- // }
712
- // }
713
693
  if (
714
694
  updateAnswer === null || updateAnswer === void 0
715
695
  ? void 0
@@ -788,7 +768,7 @@ async function main() {
788
768
  { flag: "w" }
789
769
  );
790
770
  execSync(
791
- `D:\\xampp\\php\\php.exe C:\\ProgramData\\ComposerSetup\\bin\\composer.phar install`,
771
+ `C:\\xampp\\php\\php.exe C:\\ProgramData\\ComposerSetup\\bin\\composer.phar install`,
792
772
  {
793
773
  stdio: "inherit",
794
774
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prisma-php-app",
3
- "version": "1.11.540",
3
+ "version": "1.11.541",
4
4
  "description": "Prisma-PHP: A Revolutionary Library Bridging PHP with Prisma ORM",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",