create-prisma-php-app 1.11.520 → 1.11.522

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 +6 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -829,12 +829,16 @@ async function main() {
829
829
  JSON.stringify(prismaPhpConfig, null, 2),
830
830
  { flag: "w" }
831
831
  );
832
+ console.log("currentDir by process", process.cwd());
832
833
  console.log("currentDir", currentDir);
833
834
  console.log("projectPath", projectPath);
834
835
  process.chdir(projectPath);
835
- execSync(`composer install`, { stdio: "inherit" });
836
+ console.log("currentDir", process.cwd());
837
+ // execSync(`composer install`, { stdio: "inherit" });
836
838
  // execSync(`php composer install`, { stdio: "inherit" });
837
- // execSync(`D:\\xampp\\php\\php.exe php composer install`, { stdio: "inherit" });
839
+ execSync(`D:\\xampp\\php\\php.exe php composer install`, {
840
+ stdio: "inherit",
841
+ });
838
842
  console.log(
839
843
  `${chalk.green("Success!")} Prisma PHP project successfully created in ${
840
844
  answer.projectName
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prisma-php-app",
3
- "version": "1.11.520",
3
+ "version": "1.11.522",
4
4
  "description": "Prisma-PHP: A Revolutionary Library Bridging PHP with Prisma ORM",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",