diff --git a/package.json b/package.json index acd96b2d7ff212646900ccdd406ba29cd69467c8..86b12f3a35fe6944a97a29fa11daa86f9a8502ff 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@pzy915/front-template-cli", - "version": "0.0.2", + "version": "0.0.3", "description": "", "bin": { "ftc":"./dist/index.es.js" diff --git a/src/index.ts b/src/index.ts index 79636dc0c3c7818863c9ac4548f812476881896a..94c3243336a9e3f4787ad9571d7607faee5e1612 100644 --- a/src/index.ts +++ b/src/index.ts @@ -34,7 +34,7 @@ const repositoryList: Record = { 'vue3-vant': { downloadUrl: 'https://gitcode.net/pzy_666/front-project-template/-/archive/vue3-vant/front-project-template-vue3-vant.zip', - desc: 'vue3项目基础模板上整合进vant', + desc: 'vue3项目基础模板上整合进vant(适用移动端项目)', }, 'vitepress-doc': { downloadUrl: @@ -90,14 +90,15 @@ function main() { if (err) { newOra.fail(`项目创建失败:${err.message}`) console.log(err) - } - newOra.succeed(`项目创建成功 - -cd ${answer.projectName} -pnpm install -pnpm run dev + }else{ + newOra.succeed(`项目创建成功 -`) + cd ${answer.projectName} + pnpm install + pnpm run dev + + `) + } }) }) }