create-quantum-app
v2.0.0-beta.0
Published
sample create-app-cli
Downloads
2
Readme
create-app
sample create-app-cli
目录结构
- command: 处理 命令
- compile: 编译逻辑,生成最后的文件夹
- enums: 枚举值
- questions: 问题模块
- type: 类型
- utils: 工具类
- index: 触发逻辑
Feature
question
- 判断是否要更新
- 如果输入的命令不带参数
- input you projectName
- choose your packageManage // pnpm yarn npm
- choose your infrastructure mode // monorepo polyrepo
- choose your framework // vue2 vue3 nuxt2 nuxt3
- choose your template
- input your git registry //
- input your npmMirror token //
- 如果输入的命令带参数
- input your git registry //
- input your npmMirror token //
- 判断模版是否存在,不存在跳出