create-prisma-php-app 4.0.0-alpha.23 → 4.0.0-alpha.24
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 +0 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -140,7 +140,6 @@ const npmPinnedVersions = {
|
|
|
140
140
|
"@types/prompts": "^2.4.9",
|
|
141
141
|
"browser-sync": "^3.0.4",
|
|
142
142
|
chalk: "^5.5.0",
|
|
143
|
-
"chokidar-cli": "^3.0.0",
|
|
144
143
|
cssnano: "^7.1.0",
|
|
145
144
|
"http-proxy-middleware": "^3.0.5",
|
|
146
145
|
"npm-run-all": "^4.1.5",
|
|
@@ -345,9 +344,6 @@ async function main() {
|
|
|
345
344
|
if (answer.mcp) {
|
|
346
345
|
composerDependencies.push("php-mcp/server");
|
|
347
346
|
}
|
|
348
|
-
if (answer.websocket || answer.mcp) {
|
|
349
|
-
npmDependencies.push(npmPkg("chokidar-cli"));
|
|
350
|
-
}
|
|
351
347
|
if (answer.prisma) {
|
|
352
348
|
execSync("npm install -g prisma-client-php", { stdio: "inherit" });
|
|
353
349
|
}
|
|
@@ -542,11 +538,6 @@ async function main() {
|
|
|
542
538
|
updateUninstallComposerDependencies.push("php-mcp/server");
|
|
543
539
|
}
|
|
544
540
|
}
|
|
545
|
-
// Uninstall chokidar-cli only if NEITHER feature needs it
|
|
546
|
-
const needsChokidar = !!(updateAnswer.websocket || updateAnswer.mcp);
|
|
547
|
-
if (!needsChokidar && isNpmPackageInstalled("chokidar-cli")) {
|
|
548
|
-
updateUninstallNpmDependencies.push("chokidar-cli");
|
|
549
|
-
}
|
|
550
541
|
if (!updateAnswer.prisma) {
|
|
551
542
|
const prismaPackages = [
|
|
552
543
|
"prisma",
|