Skip to content

Commit

Permalink
feat(src): add title
Browse files Browse the repository at this point in the history
  • Loading branch information
chiefmikey committed Jan 6, 2025
1 parent c1751a3 commit e650ada
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
Expand Down Expand Up @@ -984,7 +985,9 @@ async function main(): Promise<void> {
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),
Expand Down

0 comments on commit e650ada

Please sign in to comment.