小更新

master
yutent 2022-10-11 15:39:24 +08:00
parent ae960a2ff0
commit 8f9327f23c
4 changed files with 13 additions and 3 deletions

View File

@ -20,6 +20,8 @@ import {
writeStore
} from './lib/demo-js.js'
const { version } = JSON.parse(fs.cat('./package.json'))
let args = process.argv.slice(2)
function printHelp() {
@ -63,6 +65,11 @@ switch (args[0]) {
}
break
case '-v':
case '--version':
console.log('v' + version)
break
default:
printHelp()
break

View File

@ -16,7 +16,7 @@ export function writePackageJson(file) {
build: 'vue-live build'
},
dependencies: {
'@bytedo/vue-live': '^0.0.4'
'@bytedo/vue-live': '^0.0.5'
}
}),
file

View File

@ -61,7 +61,7 @@ import { reactive } from 'vue'
const store = reactive({
foo: 'bar',
version: '0.0.2'
version: '0.0.5'
})
export default function (app) {

View File

@ -1,11 +1,14 @@
{
"name": "@bytedo/vue-live-cli",
"type": "module",
"version": "0.0.2",
"version": "0.0.3",
"bin": {
"vue-live-cli": "index.js"
},
"dependencies": {
"iofs": "^1.5.2"
},
"engines": {
"node": ">=16.14.0"
}
}