create-done-coding 0.11.3 → 0.11.4-alpha.0
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/es/cli.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import { getConfigPath as fo, batchCompileHandler as po, MODULE_DEFAULT_CONFIG_R
|
|
|
7
7
|
import { getTargetRepoUrl as mo } from "@done-coding/cli-git";
|
|
8
8
|
const yt = {
|
|
9
9
|
name: "create-done-coding",
|
|
10
|
-
version: "0.11.
|
|
10
|
+
version: "0.11.4-alpha.0",
|
|
11
11
|
description: "项目创建命令行工具",
|
|
12
12
|
cliConfig: {
|
|
13
13
|
namespaceDir: ".done-coding",
|
|
@@ -3756,17 +3756,17 @@ const Of = 3e4, An = Math.random(), eo = {
|
|
|
3756
3756
|
`git clone${f ? ` -b ${f}` : ""} ${a} ${o} --depth=1`,
|
|
3757
3757
|
{ stdio: "inherit" }
|
|
3758
3758
|
);
|
|
3759
|
-
const c = ho
|
|
3760
|
-
if (fo({
|
|
3759
|
+
const c = ho, p = fo({
|
|
3761
3760
|
rootDir: s,
|
|
3762
3761
|
configPath: c
|
|
3763
|
-
})
|
|
3762
|
+
});
|
|
3763
|
+
if (p && (await po({
|
|
3764
3764
|
rootDir: s,
|
|
3765
3765
|
configPath: c,
|
|
3766
3766
|
extraEnvData: {
|
|
3767
3767
|
$projectName: o
|
|
3768
3768
|
}
|
|
3769
|
-
}), Se(
|
|
3769
|
+
}), Se(p, { force: !0 }), R.stage("模板项目配置注入成功, 模版项目配置文件已删除")), R.stage("项目初始化完成"), l) {
|
|
3770
3770
|
const m = pe.resolve(s), d = pe.resolve(m, ".git");
|
|
3771
3771
|
if (!ct(d))
|
|
3772
3772
|
throw new Error("git目录不存在");
|
package/es/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-done-coding",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.4-alpha.0",
|
|
4
4
|
"description": "项目创建命令行工具",
|
|
5
5
|
"module": "es/index.mjs",
|
|
6
6
|
"type": "module",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"@done-coding/cli-template": "^0.7.6",
|
|
54
54
|
"@done-coding/cli-utils": "^0.3.5"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "ed6b68c9c65922a3826b85de1b16fb2afaf21b5e"
|
|
57
57
|
}
|