v0.5.4 - Fix lockstep versioning and update all packages

This commit is contained in:
Mario Zechner 2025-08-09 19:37:12 +02:00
parent 3a9c3a2ed6
commit f579a3f112
7 changed files with 23 additions and 17 deletions

View file

@ -286,8 +286,10 @@ export async function main(args: string[]): Promise<void> {
}
// Run as CLI if invoked directly
// Run main function when executed directly
main(process.argv.slice(2)).catch((err) => {
console.error(err);
process.exit(1);
});
// Only run if this is the main module (not imported)
if (import.meta.url === `file://${process.argv[1]}`) {
main(process.argv.slice(2)).catch((err) => {
console.error(err);
process.exit(1);
});
}