cli-z-develop 0.0.8 → 0.0.9
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/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -20,7 +20,7 @@ import child_process from 'child_process';
|
|
|
20
20
|
import lintStaged from 'lint-staged';
|
|
21
21
|
|
|
22
22
|
var name = "cli-z-develop";
|
|
23
|
-
var version = "0.0.
|
|
23
|
+
var version = "0.0.9";
|
|
24
24
|
var description = "前端本地开发命令行工具";
|
|
25
25
|
var main = "dist/index.js";
|
|
26
26
|
var bin = {
|
|
@@ -1295,6 +1295,8 @@ function initGlobal() {
|
|
|
1295
1295
|
process.exit(0);
|
|
1296
1296
|
}
|
|
1297
1297
|
}
|
|
1298
|
+
// 创建配置文件夹
|
|
1299
|
+
shelljs.mkdir("-p", getConfigDir());
|
|
1298
1300
|
const { jobType, account, password } = yield inquirer.prompt([
|
|
1299
1301
|
{
|
|
1300
1302
|
type: "list",
|
|
@@ -1371,8 +1373,6 @@ function initGlobal() {
|
|
|
1371
1373
|
});
|
|
1372
1374
|
// 设置版本相关信息
|
|
1373
1375
|
setMainConfig("latestCheckVersionTimestamp", Date.now());
|
|
1374
|
-
// 创建配置文件夹
|
|
1375
|
-
shelljs.mkdir("-p", getConfigDir());
|
|
1376
1376
|
// 创建配置文件并写入配置
|
|
1377
1377
|
writeConfigFile();
|
|
1378
1378
|
s1.succeed("配置信息初始化完成");
|