From abbdeccef6e59112fac8d918416ff925ad4f29f5 Mon Sep 17 00:00:00 2001 From: "L. Sousa" Date: Thu, 23 Oct 2025 15:35:14 +0100 Subject: [PATCH] fix(cli): include package name in startup message instead of using 'java-bridge' --- src/cli.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli.ts b/src/cli.ts index 06403bf..0a59c2c 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -1,7 +1,7 @@ import yargs from 'yargs'; import { performance } from 'perf_hooks'; import path from 'path'; -import { version } from '../package.json'; +import { name, version } from '../package.json'; import type { Ora } from 'ora'; import { javaBridgeVersion } from './util/versions'; import { Worker } from 'worker_threads'; @@ -64,7 +64,7 @@ const handler: YargsHandler = async (args) => { const ora = await importOra(); console.log( - `Starting ${chalk.cyanBright('java-bridge')} ${chalk.greenBright( + `Starting ${chalk.cyanBright(name)} ${chalk.greenBright( 'v' + version )} Java definition generator` );