done-coding-create 0.11.14 → 0.11.18
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-4a647b16.js → index-d1258ba5.js} +847 -819
- package/es/index.mjs +1 -1
- package/package.json +7 -7
- package/types/index.d.ts +9 -1
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-d1258ba5.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": "done-coding-create",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.18",
|
|
4
4
|
"description": "项目创建命令行工具",
|
|
5
5
|
"module": "es/index.mjs",
|
|
6
6
|
"type": "module",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
],
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|
|
22
|
-
"url": "https://gitee.com/
|
|
22
|
+
"url": "https://gitee.com/done-coding/done-coding-cli.git",
|
|
23
23
|
"directory": "packages/create"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
"node": ">=18.0.0"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@done-coding/cli-git": "
|
|
45
|
-
"@done-coding/cli-inject": "
|
|
46
|
-
"@done-coding/cli-template": "
|
|
47
|
-
"@done-coding/cli-utils": "
|
|
44
|
+
"@done-coding/cli-git": "0.6.9",
|
|
45
|
+
"@done-coding/cli-inject": "0.5.17",
|
|
46
|
+
"@done-coding/cli-template": "0.8.4",
|
|
47
|
+
"@done-coding/cli-utils": "0.7.7"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "85266dee9219d30f35adba2a02dcaf2e2ff4ed52",
|
|
50
50
|
"scripts": {}
|
|
51
51
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -23,6 +23,14 @@ export declare interface CreateOptions {
|
|
|
23
23
|
justCloneFromDoneCoding?: boolean;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
/** 创建模板-分支信息 */
|
|
27
|
+
export declare interface CreateTemplateBranchInfo {
|
|
28
|
+
/** 分支名 */
|
|
29
|
+
name: string;
|
|
30
|
+
/** 描述 */
|
|
31
|
+
description: string;
|
|
32
|
+
}
|
|
33
|
+
|
|
26
34
|
/** 模版选项 */
|
|
27
35
|
export declare interface CreateTemplateChoiceItem {
|
|
28
36
|
/** 模板名 */
|
|
@@ -32,7 +40,7 @@ export declare interface CreateTemplateChoiceItem {
|
|
|
32
40
|
/** 描述 */
|
|
33
41
|
description?: string;
|
|
34
42
|
/** 目标分支 */
|
|
35
|
-
branch?: string;
|
|
43
|
+
branch?: string | CreateTemplateBranchInfo[];
|
|
36
44
|
/** 应用实例 */
|
|
37
45
|
instances?: string[];
|
|
38
46
|
}
|