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