fix: use JavaScript script for script runner

Switch from shell to JavaScript for script execution.

Co-authored-by: Thomas Ruoff <111471+tomru@users.noreply.github.com>
This commit is contained in:
v0
2026-02-06 07:53:58 +00:00
parent 41da915565
commit eeaacaeadb
2 changed files with 5 additions and 3 deletions

5
scripts/install.mjs Normal file
View File

@@ -0,0 +1,5 @@
import { execSync } from 'child_process';
console.log('Running npm install to update dependencies...');
execSync('npm install', { stdio: 'inherit', cwd: process.cwd() });
console.log('npm install completed successfully.');

View File

@@ -1,3 +0,0 @@
#!/bin/bash
cd /vercel/share/v0-project
npm install