prisma-client-php 0.0.34 → 0.0.35

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 +4 -0
  2. package/package.json +1 -1
package/dist/init.js CHANGED
@@ -146,8 +146,10 @@ async function installComposerDependencies(isPrismaPHP) {
146
146
  let composerDependencies = [composerPkg("calicastle/cuid")];
147
147
  if (isPrismaPHP) {
148
148
  const configPath = path.join(currentDir, "prisma-php.json");
149
+ console.log("🚀 ~ configPath:", configPath);
149
150
  if (fs.existsSync(configPath)) {
150
151
  const localSettings = readJsonFile(configPath);
152
+ console.log("🚀 ~ localSettings:", localSettings);
151
153
  let excludeFiles = [];
152
154
  localSettings.excludeFiles?.map((file) => {
153
155
  const filePath = path.join(currentDir, file);
@@ -214,6 +216,8 @@ function composerPkg(name) {
214
216
  }
215
217
  async function main() {
216
218
  const isPrismaPHP = process.argv.includes("--prisma-php");
219
+ console.log("🚀 ~ main ~ process:", process.argv);
220
+ console.log("🚀 ~ main ~ isPrismaPHP:", isPrismaPHP);
217
221
  installNpmDependencies(isPrismaPHP);
218
222
  installComposerDependencies(isPrismaPHP);
219
223
  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.34",
4
+ "version": "0.0.35",
5
5
  "main": "index.js",
6
6
  "type": "module",
7
7
  "scripts": {