create-done-coding 0.11.2 → 0.11.3
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.3",
|
|
11
11
|
description: "项目创建命令行工具",
|
|
12
12
|
cliConfig: {
|
|
13
13
|
namespaceDir: ".done-coding",
|
|
@@ -3587,7 +3587,7 @@ const Of = 3e4, An = Math.random(), eo = {
|
|
|
3587
3587
|
}
|
|
3588
3588
|
}), Nf = {
|
|
3589
3589
|
name: "@done-coding/cli-git",
|
|
3590
|
-
version: "0.5.
|
|
3590
|
+
version: "0.5.3",
|
|
3591
3591
|
description: "git跨平台操作命令行工具",
|
|
3592
3592
|
cliConfig: {
|
|
3593
3593
|
namespaceDir: ".done-coding",
|
|
@@ -3716,7 +3716,12 @@ const Of = 3e4, An = Math.random(), eo = {
|
|
|
3716
3716
|
projectName: e
|
|
3717
3717
|
});
|
|
3718
3718
|
}, If = async (e) => {
|
|
3719
|
-
const { projectName: t, justCloneFromDoneCoding: n = !0 } = e
|
|
3719
|
+
const { projectName: t, justCloneFromDoneCoding: n = !0 } = e;
|
|
3720
|
+
if (n) {
|
|
3721
|
+
R.info("仅仅(从done-coding系列项目列表中)克隆远程仓库"), await Bf(t);
|
|
3722
|
+
return;
|
|
3723
|
+
}
|
|
3724
|
+
const o = ((t ?? (await C(_o)).projectName) || "").trim();
|
|
3720
3725
|
if (!o)
|
|
3721
3726
|
return R.error("项目名称不能为空"), process.exit(1);
|
|
3722
3727
|
if (o.includes(" ") || o.includes("\\") || o.includes("/"))
|
|
@@ -3729,10 +3734,6 @@ const Of = 3e4, An = Math.random(), eo = {
|
|
|
3729
3734
|
else
|
|
3730
3735
|
return R.error(`项目${o}已存在`), process.exit(1);
|
|
3731
3736
|
}
|
|
3732
|
-
if (n) {
|
|
3733
|
-
R.info("仅仅(从done-coding系列项目列表中)克隆远程仓库"), await Bf(o);
|
|
3734
|
-
return;
|
|
3735
|
-
}
|
|
3736
3737
|
const { template: i } = await C(await Eo());
|
|
3737
3738
|
let a = "", f = "";
|
|
3738
3739
|
if (i === jn) {
|
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.3",
|
|
4
4
|
"description": "项目创建命令行工具",
|
|
5
5
|
"module": "es/index.mjs",
|
|
6
6
|
"type": "module",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"node": ">=18.0.0"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@done-coding/cli-git": "^0.5.
|
|
52
|
-
"@done-coding/cli-inject": "^0.5.
|
|
53
|
-
"@done-coding/cli-template": "^0.7.
|
|
54
|
-
"@done-coding/cli-utils": "^0.3.
|
|
51
|
+
"@done-coding/cli-git": "^0.5.3",
|
|
52
|
+
"@done-coding/cli-inject": "^0.5.5",
|
|
53
|
+
"@done-coding/cli-template": "^0.7.6",
|
|
54
|
+
"@done-coding/cli-utils": "^0.3.5"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "eccf973ebc52fc3b06d26391d371e8d2d1629a61"
|
|
57
57
|
}
|