@gx-design-vue/create-gx-cli 0.0.4 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gx-design-vue/create-gx-cli",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "license": "MIT",
5
5
  "description": "a cli to bootstrap gx project",
6
6
  "main": "src/index.js",
package/src/cli.js CHANGED
@@ -11,7 +11,7 @@ const FRAMEWORKS = [
11
11
  color: red
12
12
  },
13
13
  {
14
- name: 'design-pro',
14
+ name: 'gx-design-thin',
15
15
  color: blue
16
16
  },
17
17
  {
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())