create-done-coding 0.11.19-alpha.0 → 0.11.19
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 +1 -1
- package/es/{index-e840639c.js → index-0729467f.js} +5 -2
- package/es/index.mjs +1 -1
- package/package.json +2 -2
package/es/cli.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import { getConfigPath as Mo, batchCompileHandler as ko, MODULE_DEFAULT_CONFIG_R
|
|
|
7
7
|
import { getTargetRepoUrl as Go } from "@done-coding/cli-git";
|
|
8
8
|
const Kn = "自定义模版路径", Wn = "某个git平台用户仓库", se = {
|
|
9
9
|
name: "create-done-coding",
|
|
10
|
-
version: "0.11.19
|
|
10
|
+
version: "0.11.19",
|
|
11
11
|
description: "项目创建命令行工具",
|
|
12
12
|
bin: "es/cli.mjs",
|
|
13
13
|
cliConfig: {
|
|
@@ -4180,7 +4180,10 @@ const Bp = async (e) => {
|
|
|
4180
4180
|
message: "请输入克隆到本地后的分支名",
|
|
4181
4181
|
initial: "master"
|
|
4182
4182
|
});
|
|
4183
|
-
q(`git branch -m ${h}
|
|
4183
|
+
q(`git branch -m ${h}`, {
|
|
4184
|
+
cwd: s,
|
|
4185
|
+
stdio: "inherit"
|
|
4186
|
+
});
|
|
4184
4187
|
}
|
|
4185
4188
|
}
|
|
4186
4189
|
const c = Ho, p = Mo({
|
package/es/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { S as d, e as s, a as p, b as c, h as b, d as l } from "./index-
|
|
2
|
+
import { S as d, e as s, a as p, b as c, h as b, d as l } from "./index-0729467f.js";
|
|
3
3
|
import "@done-coding/cli-utils";
|
|
4
4
|
import "node:child_process";
|
|
5
5
|
import "node:fs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-done-coding",
|
|
3
|
-
"version": "0.11.19
|
|
3
|
+
"version": "0.11.19",
|
|
4
4
|
"description": "项目创建命令行工具",
|
|
5
5
|
"module": "es/index.mjs",
|
|
6
6
|
"type": "module",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"@done-coding/cli-template": "0.8.4",
|
|
55
55
|
"@done-coding/cli-utils": "0.7.7"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "95ae24a11e3c835b473c7ba492fae83afed1adb5"
|
|
58
58
|
}
|