create-prisma-php-app 2.0.0-alpha.8 → 2.0.0-alpha.9
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 +10 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -174,7 +174,11 @@ async function main() {
|
|
|
174
174
|
dependencies.push(pkg("chokidar-cli"));
|
|
175
175
|
}
|
|
176
176
|
if (answer.prisma) {
|
|
177
|
-
dependencies.push(
|
|
177
|
+
dependencies.push(
|
|
178
|
+
pkg("prisma"),
|
|
179
|
+
pkg("@prisma/client"),
|
|
180
|
+
pkg("@prisma/internals")
|
|
181
|
+
);
|
|
178
182
|
execSync("npm install -g prisma-client-php", { stdio: "inherit" });
|
|
179
183
|
}
|
|
180
184
|
await installDependencies(projectPath, dependencies, true);
|
|
@@ -309,7 +313,11 @@ async function main() {
|
|
|
309
313
|
updateUninstallDependencies.push("chokidar-cli");
|
|
310
314
|
}
|
|
311
315
|
if (!updateAnswer.prisma) {
|
|
312
|
-
updateUninstallDependencies.push(
|
|
316
|
+
updateUninstallDependencies.push(
|
|
317
|
+
"prisma",
|
|
318
|
+
"@prisma/client",
|
|
319
|
+
"@prisma/internals"
|
|
320
|
+
);
|
|
313
321
|
}
|
|
314
322
|
if (!updateAnswer.docker) {
|
|
315
323
|
const dockerFiles = [
|