7 lines
305 B
TypeScript
7 lines
305 B
TypeScript
import { fileURLToPath } from 'node:url';
|
|
import { dirname, join } from 'node:path';
|
|
const __filename = fileURLToPath(import.meta.url);
|
|
const __dirname = dirname(__filename);
|
|
const REPO_ROOT = join(__dirname, '..', '..', '..');
|
|
console.log('Script at:', __filename);
|
|
console.log('REPO_ROOT:', REPO_ROOT);
|