Skip to content

Commit 3677493

Browse files
authored
chore!: add @vue/cli in --version output, to avoid confusion (#4681)
* feat!: add `Vue CLI` in `--version` output, to avoid confusion * chore: should use `@vue/cli` as the correct branding
1 parent c760910 commit 3677493

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/@vue/cli/bin/vue.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function checkNodeVersion (wanted, id) {
2121
}
2222
}
2323

24-
checkNodeVersion(requiredVersion, 'vue-cli')
24+
checkNodeVersion(requiredVersion, '@vue/cli')
2525

2626
if (semver.satisfies(process.version, '9.x')) {
2727
console.log(chalk.red(
@@ -50,7 +50,7 @@ const program = require('commander')
5050
const loadCommand = require('../lib/util/loadCommand')
5151

5252
program
53-
.version(require('../package').version)
53+
.version(`@vue/cli ${require('../package').version}`)
5454
.usage('<command> [options]')
5555

5656
program

0 commit comments

Comments
 (0)