@done-coding/cli 0.13.1-alpha.0 → 0.13.2-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 CHANGED
@@ -1,35 +1,29 @@
1
1
  #!/usr/bin/env node
2
- import { crateAsSubcommand as m } from "@done-coding/cli-init";
3
- import { crateAsSubcommand as o } from "@done-coding/cli-inject";
4
- import { crateAsSubcommand as a } from "@done-coding/cli-extract";
5
- import { crateAsSubcommand as c } from "@done-coding/cli-git";
2
+ import { crateAsSubcommand as m } from "@done-coding/cli-inject";
3
+ import { crateAsSubcommand as o } from "@done-coding/cli-extract";
4
+ import { crateAsSubcommand as a } from "@done-coding/cli-git";
6
5
  import { crateAsSubcommand as n } from "create-done-coding";
7
- import { crateAsSubcommand as r } from "@done-coding/cli-publish";
8
- import { crateAsSubcommand as e } from "@done-coding/cli-template";
6
+ import { crateAsSubcommand as c } from "@done-coding/cli-publish";
7
+ import { crateAsSubcommand as r } from "@done-coding/cli-template";
9
8
  import { crateAsSubcommand as s } from "@done-coding/cli-component";
10
9
  import { createMainCommand as t } from "@done-coding/cli-utils";
11
- const d = {
12
- version: "0.13.1-alpha.0",
10
+ const e = {
13
11
  name: "@done-coding/cli",
14
- description: "done-coding命令行工具",
15
- cliConfig: {
16
- namespaceDir: ".done-coding",
17
- moduleName: "dc"
18
- }
19
- }, { version: i, description: u } = d, b = {
12
+ version: "0.13.2-alpha.0",
13
+ description: "done-coding命令行工具"
14
+ }, { version: d, description: i } = e, u = {
20
15
  usage: "$0 <command> [options]",
21
- describe: u,
22
- version: i,
16
+ describe: i,
17
+ version: d,
23
18
  subcommands: [
24
- c(),
19
+ a(),
25
20
  n(),
26
21
  m(),
27
22
  o(),
28
- a(),
23
+ c(),
29
24
  r(),
30
- e(),
31
25
  s()
32
26
  ],
33
27
  demandCommandCount: 1
34
- }, A = async () => t(b);
35
- A();
28
+ }, b = async () => t(u);
29
+ b();
package/es/index.mjs CHANGED
@@ -1,24 +1,21 @@
1
1
  #!/usr/bin/env node
2
- import { crateAsSubcommand as r, handler as m } from "@done-coding/cli-init";
3
- import { crateAsSubcommand as t, handler as o } from "@done-coding/cli-extract";
4
- import { crateAsSubcommand as c, handler as s } from "@done-coding/cli-inject";
5
- import { crateAsSubcommand as p, handler as b } from "create-done-coding";
6
- import { crateAsSubcommand as h, handler as x } from "@done-coding/cli-publish";
7
- import { crateAsSubcommand as f, handler as i } from "@done-coding/cli-template";
8
- import { handler as H, crateAsSubcommand as S } from "@done-coding/cli-component";
2
+ import { crateAsSubcommand as r, handler as m } from "@done-coding/cli-extract";
3
+ import { crateAsSubcommand as t, handler as o } from "@done-coding/cli-inject";
4
+ import { crateAsSubcommand as c, handler as s } from "create-done-coding";
5
+ import { crateAsSubcommand as p, handler as b } from "@done-coding/cli-publish";
6
+ import { crateAsSubcommand as h, handler as x } from "@done-coding/cli-template";
7
+ import { handler as f, crateAsSubcommand as A } from "@done-coding/cli-component";
9
8
  export {
10
- H as componentHandler,
11
- S as createComponentCommand,
12
- p as createCreateCommand,
13
- t as createExtractCommand,
14
- b as createHandler,
15
- r as createInitCommand,
16
- c as createInjectCommand,
17
- h as createPublishCommand,
18
- f as createTemplateCommand,
19
- o as extractHandler,
20
- m as initHandler,
21
- s as injectHandler,
22
- x as publishHandler,
23
- i as templateHandler
9
+ f as componentHandler,
10
+ A as createComponentCommand,
11
+ c as createCreateCommand,
12
+ r as createExtractCommand,
13
+ s as createHandler,
14
+ t as createInjectCommand,
15
+ p as createPublishCommand,
16
+ h as createTemplateCommand,
17
+ m as extractHandler,
18
+ o as injectHandler,
19
+ b as publishHandler,
20
+ x as templateHandler
24
21
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@done-coding/cli",
3
- "version": "0.13.1-alpha.0",
3
+ "version": "0.13.2-alpha.0",
4
4
  "description": "done-coding命令行工具",
5
5
  "private": false,
6
6
  "module": "es/cli.mjs",
@@ -15,8 +15,7 @@
15
15
  "files": [
16
16
  "es",
17
17
  "lib",
18
- "types",
19
- "gif"
18
+ "types"
20
19
  ],
21
20
  "scripts": {
22
21
  "clean": "rimraf es lib types",
@@ -49,15 +48,14 @@
49
48
  "node": ">=18.0.0"
50
49
  },
51
50
  "dependencies": {
52
- "@done-coding/cli-component": "^0.3.1-alpha.0",
53
- "@done-coding/cli-extract": "^0.0.4-alpha.0",
54
- "@done-coding/cli-git": "^0.3.1-alpha.0",
55
- "@done-coding/cli-init": "^0.0.14-alpha.0",
56
- "@done-coding/cli-inject": "^0.5.0-alpha.0",
57
- "@done-coding/cli-publish": "^0.5.0-alpha.0",
58
- "@done-coding/cli-template": "^0.7.1-alpha.0",
59
- "@done-coding/cli-utils": "^0.3.0-alpha.0",
60
- "create-done-coding": "^0.10.1-alpha.0"
51
+ "@done-coding/cli-component": "^0.3.2-alpha.0",
52
+ "@done-coding/cli-extract": "^0.1.0-alpha.0",
53
+ "@done-coding/cli-git": "^0.3.2-alpha.0",
54
+ "@done-coding/cli-inject": "^0.5.1-alpha.0",
55
+ "@done-coding/cli-publish": "^0.5.1-alpha.0",
56
+ "@done-coding/cli-template": "^0.7.2-alpha.0",
57
+ "@done-coding/cli-utils": "^0.3.1-alpha.0",
58
+ "create-done-coding": "^0.10.2-alpha.0"
61
59
  },
62
- "gitHead": "25909f1ffe943c46fdb40133e959c3fc684b023a"
60
+ "gitHead": "ec6957606bbae68d7268159b38b9d36dab4a2731"
63
61
  }
package/types/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- export { crateAsSubcommand as createInitCommand, handler as initHandler, } from "@done-coding/cli-init";
2
1
  export { crateAsSubcommand as createExtractCommand, handler as extractHandler, } from "@done-coding/cli-extract";
3
2
  export { crateAsSubcommand as createInjectCommand, handler as injectHandler, } from "@done-coding/cli-inject";
4
3
  export { crateAsSubcommand as createCreateCommand, handler as createHandler, } from "create-done-coding";
@@ -1,11 +1,7 @@
1
1
  declare const _default: {
2
- "version": "0.13.1-alpha.0",
3
2
  "name": "@done-coding/cli",
4
- "description": "done-coding命令行工具",
5
- "cliConfig": {
6
- "namespaceDir": ".done-coding",
7
- "moduleName": "dc"
8
- }
3
+ "version": "0.13.2-alpha.0",
4
+ "description": "done-coding命令行工具"
9
5
  };
10
6
 
11
7
  export default _default;