prisma-client-php 0.0.31 → 0.0.33
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/init.js +4 -2
- package/package.json +1 -1
package/dist/init.js
CHANGED
|
@@ -176,7 +176,7 @@ async function installComposerDependencies(isPrismaPHP) {
|
|
|
176
176
|
// Prepare the composer require command
|
|
177
177
|
const composerRequireCommand = `C:\\xampp\\php\\php.exe C:\\ProgramData\\ComposerSetup\\bin\\composer.phar require ${composerDependencies.join(
|
|
178
178
|
" "
|
|
179
|
-
)}`;
|
|
179
|
+
)} --no-interaction`;
|
|
180
180
|
// Execute the composer require command
|
|
181
181
|
execSync(composerRequireCommand, {
|
|
182
182
|
stdio: "inherit",
|
|
@@ -210,7 +210,9 @@ const composerPinnedVersions = {
|
|
|
210
210
|
"brick/math": "^0.13.0",
|
|
211
211
|
};
|
|
212
212
|
function composerPkg(name) {
|
|
213
|
-
return composerPinnedVersions[name]
|
|
213
|
+
return composerPinnedVersions[name]
|
|
214
|
+
? `${name}:${composerPinnedVersions[name]}`
|
|
215
|
+
: name;
|
|
214
216
|
}
|
|
215
217
|
async function main() {
|
|
216
218
|
const isPrismaPHP = process.argv.includes("--prisma-php");
|
package/package.json
CHANGED