mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 22:04:56 +00:00
update: tools,setup,packages (1 files)
This commit is contained in:
@@ -169,7 +169,9 @@ if (packageName) {
|
||||
const { execSync } = require('child_process');
|
||||
console.log('\nGenerating Prisma Client...');
|
||||
try {
|
||||
execSync('npx prisma generate', { stdio: 'inherit' });
|
||||
// Try bunx first (faster), fall back to npx
|
||||
const command = process.env.BUN_INSTALL ? 'bunx prisma generate' : 'npx prisma generate';
|
||||
execSync(command, { stdio: 'inherit' });
|
||||
console.log('✓ Prisma Client generated successfully');
|
||||
} catch (error) {
|
||||
console.error('⚠️ Failed to generate Prisma Client:', error.message);
|
||||
|
||||
Reference in New Issue
Block a user