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.
- package/dist/index.js +6 -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
|
-
|
|
836
|
+
console.log("currentDir", process.cwd());
|
|
837
|
+
// execSync(`composer install`, { stdio: "inherit" });
|
|
836
838
|
// execSync(`php composer install`, { stdio: "inherit" });
|
|
837
|
-
|
|
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
|