@gx-design-vue/create-gx-cli 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/cli.js +1 -2
package/package.json
CHANGED
package/src/cli.js
CHANGED
@@ -6,8 +6,7 @@ import prompts from 'prompts'
|
|
6
6
|
import { blue, green, red, reset, yellow } from 'kolorist'
|
7
7
|
import { createProject } from './main.js'
|
8
8
|
|
9
|
-
|
10
|
-
let packageJSON = fs.readFileSync(path.join(cwd, '../package.json'), 'utf-8')
|
9
|
+
let packageJSON = fs.readFileSync(path.join('../package.json'), 'utf-8')
|
11
10
|
packageJSON = JSON.parse(packageJSON)
|
12
11
|
const { version } = packageJSON
|
13
12
|
|