Skip to content

Commit

Permalink
chore: do not build project in postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
jayeshbhole-rp committed Aug 3, 2024
1 parent 36d9c0f commit dc39249
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions scripts/postinstall.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-console */
import { execSync } from 'child_process';
import { readFileSync, writeFileSync } from 'fs';
import { join } from 'path';

Expand All @@ -26,10 +25,10 @@ try {
}

// pnpm build
console.log('Building the project...');
execSync('pnpm build', { stdio: 'inherit' });
// console.log('Building the project...');
// execSync('pnpm build', { stdio: 'inherit' });

console.log('Successfully built the project');
// console.log('Successfully built the project');
} catch (error) {
console.error(`Error updating ${packageName}/package.json:`, error);
}

0 comments on commit dc39249

Please sign in to comment.