更新版本

master
yutent 2022-10-18 16:14:47 +08:00
parent 8f9327f23c
commit 9b97e8727e
3 changed files with 16 additions and 12 deletions

View File

@ -8,17 +8,21 @@ import fs from 'iofs'
export function writePackageJson(file) { export function writePackageJson(file) {
fs.echo( fs.echo(
JSON.stringify({ JSON.stringify(
name: 'vue-live-demo-app', {
type: 'module', name: 'vue-live-demo-app',
scripts: { type: 'module',
start: 'vue-live dev', scripts: {
build: 'vue-live build' start: 'vue-live dev',
build: 'vue-live build'
},
dependencies: {
'@bytedo/vue-live': '^0.0.6'
}
}, },
dependencies: { ' ',
'@bytedo/vue-live': '^0.0.5' 2
} ),
}),
file file
) )
} }

View File

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

View File

@ -1,7 +1,7 @@
{ {
"name": "@bytedo/vue-live-cli", "name": "@bytedo/vue-live-cli",
"type": "module", "type": "module",
"version": "0.0.3", "version": "0.0.6",
"bin": { "bin": {
"vue-live-cli": "index.js" "vue-live-cli": "index.js"
}, },