This commit is contained in:
2026-02-19 02:14:33 +01:00
commit 4f1c803b81
18 changed files with 5778 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');
}