更新版本

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,7 +8,8 @@ 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', name: 'vue-live-demo-app',
type: 'module', type: 'module',
scripts: { scripts: {
@ -16,9 +17,12 @@ export function writePackageJson(file) {
build: 'vue-live build' build: 'vue-live build'
}, },
dependencies: { dependencies: {
'@bytedo/vue-live': '^0.0.5' '@bytedo/vue-live': '^0.0.6'
} }
}), },
' ',
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"
}, },