Skip to content

Commit

Permalink
don't show micronaut version in cli logo
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed May 14, 2024
1 parent e81e968 commit ba855fe
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions cli/logo.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
import chalk from 'chalk';
import constants from '../generators/constants.cjs';
import { readFileSync } from 'fs';

const {
versions: { micronaut: MICRONAUT_VERSION },
} = constants;

export function getLogo() {
const { version } = JSON.parse(readFileSync(new URL('../package.json', import.meta.url)));

Expand All @@ -19,7 +14,7 @@ ${chalk.blue(' ╚═╝ ╚═╝')}${chalk.green(' ╚═╝ ╚═╝
${chalk.white.bold(' https://www.jhipster.tech')}
${chalk.blue.bold(' https://micronaut.io\n')}
${chalk.white(` Welcome to MHipster v${chalk.white.bold(version)} :: Running Micronaut v${chalk.white.bold(MICRONAUT_VERSION)}`)}
${chalk.white(` Welcome to MHipster v${chalk.white.bold(version)}`)}
${chalk.white(' This blueprint generates your backend as a Micronaut Java project.')}
${chalk.green(' _______________________________________________________________________________________________________________\n')}
${chalk.white(` ${chalk.yellow('::')} This project is a ${chalk.blue.bold('Micronaut')} blueprint for ${chalk.green.bold('JHipster')}`)}
Expand Down

0 comments on commit ba855fe

Please sign in to comment.