create-done-coding 0.11.26 → 0.11.27-alpha.1
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/README.md +2 -2
- package/es/cli.mjs +1 -1
- package/es/{index-021ee1d9.js → index-52a37dc7.js} +3 -3
- package/es/index.mjs +2 -2
- package/package.json +6 -6
- package/types/index.d.ts +2 -2
package/README.md
CHANGED
|
@@ -217,7 +217,7 @@ node es/cli.mjs --help
|
|
|
217
217
|
|
|
218
218
|
## 许可证
|
|
219
219
|
|
|
220
|
-
MIT © [
|
|
220
|
+
MIT © [done-coding](https://github.com/done-coding)
|
|
221
221
|
|
|
222
222
|
## 相关链接
|
|
223
223
|
|
|
@@ -225,5 +225,5 @@ MIT © [JustSoSu](https://gitee.com/done-coding)
|
|
|
225
225
|
- [Git 操作工具](https://www.npmjs.com/package/@done-coding/cli-git) - 本包依赖的 Git 功能
|
|
226
226
|
- [模板处理工具](https://www.npmjs.com/package/@done-coding/cli-template) - 本包依赖的模板引擎
|
|
227
227
|
- [信息注入工具](https://www.npmjs.com/package/@done-coding/cli-inject) - 本包依赖的信息注入功能
|
|
228
|
-
- [
|
|
228
|
+
- [Github 仓库](https://github.com/done-coding/done-coding-cli)
|
|
229
229
|
- [更新日志](./CHANGELOG.md)
|
package/es/cli.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { getConfigPath as zo, batchCompileHandler as Vo, MODULE_DEFAULT_CONFIG_R
|
|
|
6
6
|
import { getTargetRepoUrl as Qo } from "@done-coding/cli-git";
|
|
7
7
|
const ie = {
|
|
8
8
|
name: "create-done-coding",
|
|
9
|
-
version: "0.11.
|
|
9
|
+
version: "0.11.27-alpha.1",
|
|
10
10
|
description: "项目创建命令行工具",
|
|
11
11
|
bin: {
|
|
12
12
|
"create-done-coding": "es/cli.mjs"
|
|
@@ -3607,7 +3607,7 @@ const lp = 3e4, Kn = Math.random(), Ro = {
|
|
|
3607
3607
|
}
|
|
3608
3608
|
}), tn = {
|
|
3609
3609
|
name: "@done-coding/cli-git",
|
|
3610
|
-
version: "0.6.
|
|
3610
|
+
version: "0.6.16-alpha.0",
|
|
3611
3611
|
description: "git跨平台操作命令行工具",
|
|
3612
3612
|
bin: {
|
|
3613
3613
|
"dc-git": "es/cli.mjs"
|
|
@@ -4361,7 +4361,7 @@ const Wp = async (e) => {
|
|
|
4361
4361
|
}, {
|
|
4362
4362
|
cliConfig: { moduleName: Yp }
|
|
4363
4363
|
} = ie, No = (e = !1) => {
|
|
4364
|
-
const t = `${e ? `${Yp} ` : ""}
|
|
4364
|
+
const t = `${e ? `${Yp} ` : ""}`, n = `$0 ${t.trim()}`;
|
|
4365
4365
|
return { command: t, usage: n };
|
|
4366
4366
|
}, sh = async () => Jo({
|
|
4367
4367
|
...Ao,
|
package/es/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { F as s, G as t, S as d, e as c, a as p, b as u, h as l, d as b, i as f } from "./index-
|
|
2
|
+
import { F as s, G as t, S as d, e as c, a as p, b as u, h as l, d as b, i as f } from "./index-52a37dc7.js";
|
|
3
3
|
import "@done-coding/cli-utils";
|
|
4
4
|
import "node:fs";
|
|
5
5
|
import "node:path";
|
|
@@ -10,7 +10,7 @@ export {
|
|
|
10
10
|
t as GitRemoteRepoAliasNameEnum,
|
|
11
11
|
d as SubcommandEnum,
|
|
12
12
|
c as commandCliInfo,
|
|
13
|
-
p as
|
|
13
|
+
p as createAsSubcommand,
|
|
14
14
|
u as createCommandCliInfo,
|
|
15
15
|
l as createHandler,
|
|
16
16
|
b as handler,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-done-coding",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.27-alpha.1",
|
|
4
4
|
"description": "项目创建命令行工具",
|
|
5
5
|
"module": "es/index.mjs",
|
|
6
6
|
"type": "module",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"license": "MIT",
|
|
38
38
|
"sideEffects": false,
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@done-coding/cli-inject": "0.5.
|
|
40
|
+
"@done-coding/cli-inject": "0.5.24-alpha.0",
|
|
41
41
|
"@types/node": "^18.0.0",
|
|
42
42
|
"@types/yargs": "^17.0.28",
|
|
43
43
|
"typescript": "^5.8.3",
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"vite-plugin-dts": "^3.6.0"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@done-coding/cli-git": "0.6.
|
|
49
|
-
"@done-coding/cli-template": "0.8.
|
|
50
|
-
"@done-coding/cli-utils": "0.8.
|
|
48
|
+
"@done-coding/cli-git": "0.6.16-alpha.0",
|
|
49
|
+
"@done-coding/cli-template": "0.8.11-alpha.0",
|
|
50
|
+
"@done-coding/cli-utils": "0.8.5-alpha.0"
|
|
51
51
|
},
|
|
52
52
|
"engines": {
|
|
53
53
|
"node": ">=18.0.0"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "de494b5801a560c4d2dc9a7f2067ac390fb960b3"
|
|
56
56
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import type { SubCliInfo } from '@done-coding/cli-utils';
|
|
|
6
6
|
export declare const commandCliInfo: Omit<CliInfo, "usage">;
|
|
7
7
|
|
|
8
8
|
/** 作为子命令创建 */
|
|
9
|
-
export declare const
|
|
9
|
+
export declare const createAsSubcommand: () => CommandModule<{}, {}>;
|
|
10
10
|
|
|
11
11
|
export declare const createCommandCliInfo: SubCliInfo;
|
|
12
12
|
|
|
@@ -120,7 +120,7 @@ export declare const handler: (command: SubcommandEnum, argv: CliHandlerArgv<any
|
|
|
120
120
|
|
|
121
121
|
export declare const injectInfo: {
|
|
122
122
|
"name": "create-done-coding",
|
|
123
|
-
"version": "0.11.
|
|
123
|
+
"version": "0.11.27-alpha.1",
|
|
124
124
|
"description": "项目创建命令行工具",
|
|
125
125
|
"bin": {
|
|
126
126
|
"create-done-coding": "es/cli.mjs"
|