fixed version
parent
0f26eef35f
commit
1ec117c030
4
index.js
4
index.js
|
@ -32,7 +32,7 @@ const CURRENT_DIR = process.cwd()
|
|||
const root = dirname(
|
||||
import.meta.url.slice(process.platform === 'win32' ? 10 : 7)
|
||||
)
|
||||
const { version } = JSON.parse(fs.cat(join(root, './package.json')))
|
||||
const VERSION = '1.0.1'
|
||||
|
||||
const DEFAULT_NAME = 'vue-live-app'
|
||||
|
||||
|
@ -80,7 +80,7 @@ function printHelp() {
|
|||
switch (args[0]) {
|
||||
case '-v':
|
||||
case '--version':
|
||||
console.log('v' + version)
|
||||
console.log('v' + VERSION)
|
||||
break
|
||||
|
||||
case '-h':
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "create-vue-live",
|
||||
"type": "module",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"bin": {
|
||||
"create-vue-live": "index.js"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue