From e650ada43ed4128b62711a9bf52f33f160389277 Mon Sep 17 00:00:00 2001 From: Mikl Wolfe Date: Sun, 5 Jan 2025 21:25:19 -0700 Subject: [PATCH] feat(src): add title --- src/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index cc3bf99..02b9e90 100644 --- a/src/index.ts +++ b/src/index.ts @@ -31,6 +31,7 @@ import type { Ora } from 'ora'; import shellEscape from 'shell-escape'; const MESSAGES = { + title: 'DepSweep 🧹', noPackageJson: 'No package.json found.', monorepoDetected: '\nMonorepo detected. Using root package.json.', monorepoWorkspaceDetected: '\nMonorepo workspace package detected.', @@ -984,7 +985,9 @@ async function main(): Promise { const projectDirectory = path.dirname(packageJsonPath); const context = await getPackageContext(packageJsonPath); - console.log(chalk.bold('\ndepsweep Deps Analysis')); + console.log(chalk.cyan(MESSAGES.title)); + + console.log(chalk.bold('\nDependency Analysis')); console.log( `Package.json found at: ${chalk.green( path.relative(process.cwd(), packageJsonPath),