Skip to content

Commit

Permalink
chore(cpa): remove success message outline
Browse files Browse the repository at this point in the history
  • Loading branch information
denolfe committed Dec 29, 2024
1 parent 68a5f5c commit 7793e0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
3 changes: 2 additions & 1 deletion packages/create-payload-app/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,8 @@ export class Main {
}

info('Payload project successfully created!')
p.note(successMessage(projectDir, packageManager), chalk.bgGreen(chalk.black(' Next Steps ')))
p.log.step(chalk.bgGreen(chalk.black(' Next Steps ')))
p.log.message(successMessage(projectDir, packageManager))
p.outro(feedbackOutro())
} catch (err: unknown) {
error(err instanceof Error ? err.message : 'An error occurred')
Expand Down
7 changes: 1 addition & 6 deletions packages/create-payload-app/src/utils/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,7 @@ export function successMessage(projectDir: string, packageManager: PackageManage
${header('Launch Application:')}
- cd ./${relativePath}
- ${
packageManager === 'npm' ? 'npm run' : packageManager
} dev or follow directions in ${createTerminalLink(
'README.md',
`file://${path.resolve(projectDir, 'README.md')}`,
)}
- ${packageManager === 'npm' ? 'npm run' : packageManager} dev or follow directions in README.md
${header('Documentation:')}
Expand Down

0 comments on commit 7793e0a

Please sign in to comment.