@gx-design-vue/create-gx-cli 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/cli.js +1 -1
- package/src/main.js +5 -0
package/package.json
CHANGED
package/src/cli.js
CHANGED
package/src/main.js
CHANGED
@@ -16,6 +16,10 @@ const gitRepositoryList = [
|
|
16
16
|
{
|
17
17
|
name: 'gx-design-pro',
|
18
18
|
git: 'https://gitee.com/gx12358/vue-antd-admin.git#v2'
|
19
|
+
},
|
20
|
+
{
|
21
|
+
name: 'gx-design-thin',
|
22
|
+
git: 'https://gitee.com/gx12358/gx-admin-thin.git'
|
19
23
|
}
|
20
24
|
]
|
21
25
|
|
@@ -92,6 +96,7 @@ export async function createProject(options) {
|
|
92
96
|
// 下载git代码
|
93
97
|
download(`direct:${downloadGit.git}`, root, { clone: true }, async function(err) {
|
94
98
|
if (err) {
|
99
|
+
console.log(err)
|
95
100
|
spinner.error({ text: '下载失败' })
|
96
101
|
} else {
|
97
102
|
await editPackageJson(root, options.projectName || getProjectName())
|