This commit is contained in:
2026-02-26 16:17:30 +01:00
commit 96e58bbf62
19 changed files with 5835 additions and 0 deletions

14
exam/common.js Normal file
View File

@@ -0,0 +1,14 @@
import fs from 'fs';
import { execSync } from 'child_process';
export function installDeps() {
// check if node_modules exists
if (fs.existsSync('./node_modules')) {
return;
}
// install dependencies
console.log('Installing dependencies...');
execSync('npm install', { stdio: 'inherit' });
console.log('Dependencies installed');
}