prisma-client-php 0.0.35 → 0.0.37

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.
Files changed (2) hide show
  1. package/dist/init.js +3 -2
  2. package/package.json +1 -1
package/dist/init.js CHANGED
@@ -133,8 +133,11 @@ function initPrisma() {
133
133
  }
134
134
  }
135
135
  async function installComposerDependencies(isPrismaPHP) {
136
+ console.log("🚀 ~ isPrismaPHP:", isPrismaPHP);
136
137
  const currentDir = process.cwd();
138
+ console.log("🚀 ~ currentDir:", currentDir);
137
139
  const composerJsonPath = path.join(currentDir, "composer.json");
140
+ console.log("🚀 ~ composerJsonPath:", composerJsonPath);
138
141
  let composerJson;
139
142
  if (fs.existsSync(composerJsonPath)) {
140
143
  const composerJsonContent = fs.readFileSync(composerJsonPath, "utf8");
@@ -216,8 +219,6 @@ function composerPkg(name) {
216
219
  }
217
220
  async function main() {
218
221
  const isPrismaPHP = process.argv.includes("--prisma-php");
219
- console.log("🚀 ~ main ~ process:", process.argv);
220
- console.log("🚀 ~ main ~ isPrismaPHP:", isPrismaPHP);
221
222
  installNpmDependencies(isPrismaPHP);
222
223
  installComposerDependencies(isPrismaPHP);
223
224
  initPrisma();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "prisma-client-php",
3
3
  "description": "Prisma Client PHP is an auto-generated query builder that enables type-safe database access in PHP.",
4
- "version": "0.0.35",
4
+ "version": "0.0.37",
5
5
  "main": "index.js",
6
6
  "type": "module",
7
7
  "scripts": {