create-prisma-php-app 1.11.524 → 1.11.525
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 +7 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -839,10 +839,13 @@ async function main() {
|
|
|
839
839
|
// execSync(`D:\\xampp\\php\\php.exe composer install`, { stdio: "inherit" });
|
|
840
840
|
// execSync(`D:\\xampp\\php\\php.exe php composer install`, { stdio: "inherit" });
|
|
841
841
|
// Use the full path to the PHP executable and the Composer.phar
|
|
842
|
-
execSync(
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
);
|
|
842
|
+
// execSync(
|
|
843
|
+
// `D:\\xampp\\php\\php.exe C:\\ProgramData\\ComposerSetup\\bin\\composer.phar install`,
|
|
844
|
+
// { stdio: "inherit" }
|
|
845
|
+
// );
|
|
846
|
+
execSync(`php C:\\ProgramData\\ComposerSetup\\bin\\composer.phar install`, {
|
|
847
|
+
stdio: "inherit",
|
|
848
|
+
});
|
|
846
849
|
console.log(
|
|
847
850
|
`${chalk.green("Success!")} Prisma PHP project successfully created in ${
|
|
848
851
|
answer.projectName
|