#!/usr/bin/env node
// Thin wrapper that runs the package updater
import { fileURLToPath } from 'url';
import path from 'path';
import { createRequire } from 'module';

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

// directly import the updater script
const require = createRequire(import.meta.url);
await import(path.join(__dirname, '..', 'scripts', 'update.js'));
