create-done-coding 0.11.19 → 0.11.21

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/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-0729467f.js";
2
+ import { G as s, S as d, e as p, a as c, b as l, h as u, d as b } from "./index-20b1695c.js";
3
3
  import "@done-coding/cli-utils";
4
4
  import "node:child_process";
5
5
  import "node:fs";
@@ -7,10 +7,11 @@ import "node:path";
7
7
  import "@done-coding/cli-template";
8
8
  import "@done-coding/cli-git";
9
9
  export {
10
+ s as GitRemoteRepoAliasNameEnum,
10
11
  d as SubcommandEnum,
11
- s as commandCliInfo,
12
- p as crateAsSubcommand,
13
- c as createCommandCliInfo,
14
- b as createHandler,
15
- l as handler
12
+ p as commandCliInfo,
13
+ c as crateAsSubcommand,
14
+ l as createCommandCliInfo,
15
+ u as createHandler,
16
+ b as handler
16
17
  };
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.21",
4
4
  "description": "项目创建命令行工具",
5
5
  "module": "es/index.mjs",
6
6
  "type": "module",
@@ -49,10 +49,10 @@
49
49
  "node": ">=18.0.0"
50
50
  },
51
51
  "dependencies": {
52
- "@done-coding/cli-git": "0.6.9",
53
- "@done-coding/cli-inject": "0.5.17",
54
- "@done-coding/cli-template": "0.8.4",
55
- "@done-coding/cli-utils": "0.7.7"
52
+ "@done-coding/cli-git": "0.6.11",
53
+ "@done-coding/cli-inject": "0.5.19",
54
+ "@done-coding/cli-template": "0.8.6",
55
+ "@done-coding/cli-utils": "0.8.0"
56
56
  },
57
- "gitHead": "95ae24a11e3c835b473c7ba492fae83afed1adb5"
57
+ "gitHead": "e68f726aa899f75c4d294b11620f343c953a74c3"
58
58
  }
package/types/index.d.ts CHANGED
@@ -45,6 +45,14 @@ export declare interface CreateTemplateChoiceItem {
45
45
  instances?: string[];
46
46
  }
47
47
 
48
+ /** 远程仓库别名枚举 */
49
+ export declare enum GitRemoteRepoAliasNameEnum {
50
+ /** 默认 */
51
+ ORIGIN = "origin",
52
+ /** 模板仓库 */
53
+ UPSTREAM = "upstream"
54
+ }
55
+
48
56
  export declare const handler: (command: SubcommandEnum, argv: CliHandlerArgv<any>) => Promise<undefined>;
49
57
 
50
58
  export declare enum SubcommandEnum {