@done-coding/cli 0.15.4 → 0.15.5-alpha.0
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 +25 -19
- package/es/dc-cli.mjs +37 -0
- package/es/done-coding.mjs +37 -0
- package/package.json +15 -14
package/es/cli.mjs
CHANGED
|
@@ -1,31 +1,37 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { crateAsSubcommand as
|
|
3
|
-
import { crateAsSubcommand as
|
|
2
|
+
import { crateAsSubcommand as o } from "@done-coding/cli-inject";
|
|
3
|
+
import { crateAsSubcommand as c } from "@done-coding/cli-extract";
|
|
4
4
|
import { crateAsSubcommand as a } from "@done-coding/cli-git";
|
|
5
|
-
import { crateAsSubcommand as
|
|
6
|
-
import { crateAsSubcommand as
|
|
7
|
-
import { crateAsSubcommand as
|
|
8
|
-
import { crateAsSubcommand as
|
|
5
|
+
import { crateAsSubcommand as n } from "create-done-coding";
|
|
6
|
+
import { crateAsSubcommand as r } from "@done-coding/cli-publish";
|
|
7
|
+
import { crateAsSubcommand as s } from "@done-coding/cli-template";
|
|
8
|
+
import { crateAsSubcommand as e } from "@done-coding/cli-component";
|
|
9
9
|
import { crateAsSubcommand as t } from "@done-coding/cli-config";
|
|
10
|
-
import { createMainCommand as
|
|
11
|
-
const
|
|
10
|
+
import { getRootScriptName as d, createMainCommand as i } from "@done-coding/cli-utils";
|
|
11
|
+
const m = {
|
|
12
12
|
name: "@done-coding/cli",
|
|
13
|
-
version: "0.15.
|
|
14
|
-
description: "done-coding命令行工具"
|
|
15
|
-
|
|
13
|
+
version: "0.15.5-alpha.0",
|
|
14
|
+
description: "done-coding命令行工具",
|
|
15
|
+
bin: {
|
|
16
|
+
DC: "es/cli.mjs",
|
|
17
|
+
"dc-cli": "es/dc-cli.mjs",
|
|
18
|
+
"done-coding": "es/done-coding.mjs"
|
|
19
|
+
}
|
|
20
|
+
}, { version: u, description: b } = m, S = {
|
|
16
21
|
usage: "$0 <command> [options]",
|
|
17
|
-
describe:
|
|
18
|
-
version:
|
|
22
|
+
describe: b,
|
|
23
|
+
version: u,
|
|
19
24
|
subcommands: [
|
|
20
25
|
a(),
|
|
21
|
-
c(),
|
|
22
|
-
m(),
|
|
23
|
-
o(),
|
|
24
26
|
n(),
|
|
27
|
+
o(),
|
|
28
|
+
c(),
|
|
25
29
|
r(),
|
|
26
30
|
s(),
|
|
31
|
+
e(),
|
|
27
32
|
t()
|
|
28
33
|
],
|
|
29
|
-
demandCommandCount: 1
|
|
30
|
-
|
|
31
|
-
|
|
34
|
+
demandCommandCount: 1,
|
|
35
|
+
rootScriptName: d({ packageJson: m })
|
|
36
|
+
}, p = async () => i(S);
|
|
37
|
+
p();
|
package/es/dc-cli.mjs
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { crateAsSubcommand as o } from "@done-coding/cli-inject";
|
|
3
|
+
import { crateAsSubcommand as c } from "@done-coding/cli-extract";
|
|
4
|
+
import { crateAsSubcommand as a } from "@done-coding/cli-git";
|
|
5
|
+
import { crateAsSubcommand as n } from "create-done-coding";
|
|
6
|
+
import { crateAsSubcommand as r } from "@done-coding/cli-publish";
|
|
7
|
+
import { crateAsSubcommand as s } from "@done-coding/cli-template";
|
|
8
|
+
import { crateAsSubcommand as e } from "@done-coding/cli-component";
|
|
9
|
+
import { crateAsSubcommand as t } from "@done-coding/cli-config";
|
|
10
|
+
import { getRootScriptName as d, createMainCommand as i } from "@done-coding/cli-utils";
|
|
11
|
+
const m = {
|
|
12
|
+
name: "@done-coding/cli",
|
|
13
|
+
version: "0.15.5-alpha.0",
|
|
14
|
+
description: "done-coding命令行工具",
|
|
15
|
+
bin: {
|
|
16
|
+
DC: "es/cli.mjs",
|
|
17
|
+
"dc-cli": "es/dc-cli.mjs",
|
|
18
|
+
"done-coding": "es/done-coding.mjs"
|
|
19
|
+
}
|
|
20
|
+
}, { version: u, description: b } = m, S = {
|
|
21
|
+
usage: "$0 <command> [options]",
|
|
22
|
+
describe: b,
|
|
23
|
+
version: u,
|
|
24
|
+
subcommands: [
|
|
25
|
+
a(),
|
|
26
|
+
n(),
|
|
27
|
+
o(),
|
|
28
|
+
c(),
|
|
29
|
+
r(),
|
|
30
|
+
s(),
|
|
31
|
+
e(),
|
|
32
|
+
t()
|
|
33
|
+
],
|
|
34
|
+
demandCommandCount: 1,
|
|
35
|
+
rootScriptName: d({ packageJson: m })
|
|
36
|
+
}, p = async () => i(S);
|
|
37
|
+
p();
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { crateAsSubcommand as o } from "@done-coding/cli-inject";
|
|
3
|
+
import { crateAsSubcommand as c } from "@done-coding/cli-extract";
|
|
4
|
+
import { crateAsSubcommand as a } from "@done-coding/cli-git";
|
|
5
|
+
import { crateAsSubcommand as n } from "create-done-coding";
|
|
6
|
+
import { crateAsSubcommand as r } from "@done-coding/cli-publish";
|
|
7
|
+
import { crateAsSubcommand as s } from "@done-coding/cli-template";
|
|
8
|
+
import { crateAsSubcommand as e } from "@done-coding/cli-component";
|
|
9
|
+
import { crateAsSubcommand as t } from "@done-coding/cli-config";
|
|
10
|
+
import { getRootScriptName as d, createMainCommand as i } from "@done-coding/cli-utils";
|
|
11
|
+
const m = {
|
|
12
|
+
name: "@done-coding/cli",
|
|
13
|
+
version: "0.15.5-alpha.0",
|
|
14
|
+
description: "done-coding命令行工具",
|
|
15
|
+
bin: {
|
|
16
|
+
DC: "es/cli.mjs",
|
|
17
|
+
"dc-cli": "es/dc-cli.mjs",
|
|
18
|
+
"done-coding": "es/done-coding.mjs"
|
|
19
|
+
}
|
|
20
|
+
}, { version: u, description: b } = m, S = {
|
|
21
|
+
usage: "$0 <command> [options]",
|
|
22
|
+
describe: b,
|
|
23
|
+
version: u,
|
|
24
|
+
subcommands: [
|
|
25
|
+
a(),
|
|
26
|
+
n(),
|
|
27
|
+
o(),
|
|
28
|
+
c(),
|
|
29
|
+
r(),
|
|
30
|
+
s(),
|
|
31
|
+
e(),
|
|
32
|
+
t()
|
|
33
|
+
],
|
|
34
|
+
demandCommandCount: 1,
|
|
35
|
+
rootScriptName: d({ packageJson: m })
|
|
36
|
+
}, p = async () => i(S);
|
|
37
|
+
p();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@done-coding/cli",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.5-alpha.0",
|
|
4
4
|
"description": "done-coding命令行工具",
|
|
5
5
|
"private": false,
|
|
6
6
|
"module": "es/cli.mjs",
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
"types": "types/cli.d.ts",
|
|
9
9
|
"bin": {
|
|
10
10
|
"DC": "es/cli.mjs",
|
|
11
|
-
"dc-cli": "es/cli.mjs",
|
|
12
|
-
"done-coding": "es/
|
|
11
|
+
"dc-cli": "es/dc-cli.mjs",
|
|
12
|
+
"done-coding": "es/done-coding.mjs"
|
|
13
13
|
},
|
|
14
14
|
"exports": {
|
|
15
15
|
".": {
|
|
@@ -23,10 +23,11 @@
|
|
|
23
23
|
],
|
|
24
24
|
"scripts": {
|
|
25
25
|
"clean": "rimraf es lib types",
|
|
26
|
+
"moreCli": "node ./scripts/more-cli.mjs",
|
|
26
27
|
"predev": "pnpm run clean",
|
|
27
28
|
"dev": "vite build --watch",
|
|
28
29
|
"prebuild": "pnpm run clean",
|
|
29
|
-
"build": "vite build",
|
|
30
|
+
"build": "vite build && pnpm run moreCli",
|
|
30
31
|
"postinstall": "node es/postinstall.mjs",
|
|
31
32
|
"prepack": "pnpm build"
|
|
32
33
|
},
|
|
@@ -53,15 +54,15 @@
|
|
|
53
54
|
"node": ">=18.0.0"
|
|
54
55
|
},
|
|
55
56
|
"dependencies": {
|
|
56
|
-
"@done-coding/cli-component": "^0.3.
|
|
57
|
-
"@done-coding/cli-config": "^0.1.
|
|
58
|
-
"@done-coding/cli-extract": "^0.1.
|
|
59
|
-
"@done-coding/cli-git": "^0.6.
|
|
60
|
-
"@done-coding/cli-inject": "^0.5.
|
|
61
|
-
"@done-coding/cli-publish": "^0.7.
|
|
62
|
-
"@done-coding/cli-template": "^0.7.
|
|
63
|
-
"@done-coding/cli-utils": "^0.7.
|
|
64
|
-
"create-done-coding": "^0.11.
|
|
57
|
+
"@done-coding/cli-component": "^0.3.12-alpha.0",
|
|
58
|
+
"@done-coding/cli-config": "^0.1.4-alpha.0",
|
|
59
|
+
"@done-coding/cli-extract": "^0.1.12-alpha.0",
|
|
60
|
+
"@done-coding/cli-git": "^0.6.4-alpha.0",
|
|
61
|
+
"@done-coding/cli-inject": "^0.5.12-alpha.0",
|
|
62
|
+
"@done-coding/cli-publish": "^0.7.4-alpha.0",
|
|
63
|
+
"@done-coding/cli-template": "^0.7.12-alpha.0",
|
|
64
|
+
"@done-coding/cli-utils": "^0.7.3-alpha.0",
|
|
65
|
+
"create-done-coding": "^0.11.11-alpha.0"
|
|
65
66
|
},
|
|
66
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "9d9a2e60f255038a0f065e3a4e6d6d35488408ae"
|
|
67
68
|
}
|