done-coding-extract 0.1.23 → 0.2.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/README.md CHANGED
@@ -239,11 +239,11 @@ node es/cli.mjs --help
239
239
 
240
240
  ## 许可证
241
241
 
242
- MIT © [JustSoSu](https://gitee.com/done-coding)
242
+ MIT © [done-coding](https://github.com/done-coding)
243
243
 
244
244
  ## 相关链接
245
245
 
246
246
  - [主 CLI 工具](https://www.npmjs.com/package/@done-coding/cli)
247
247
  - [模板处理工具](https://www.npmjs.com/package/@done-coding/cli-template) - 本包依赖的模板引擎
248
- - [Gitee 仓库](https://gitee.com/done-coding/done-coding-cli)
248
+ - [Github 仓库](https://github.com/done-coding/done-coding-cli)
249
249
  - [更新日志](./CHANGELOG.md)
package/es/cli.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { c as m } from "./index-aebb3f75.js";
2
+ import { c as m } from "./index-6d27eb29.js";
3
3
  import "./index-a1ee6691-8c73eb4d.js";
4
4
  import "@done-coding/cli-utils";
5
5
  import "node:path";
@@ -6,7 +6,7 @@ import g from "node:fs";
6
6
  import { OutputModeEnum as H, batchCompileHandler as X } from "@done-coding/cli-template";
7
7
  const D = {
8
8
  name: "@done-coding/cli-extract",
9
- version: "0.1.23",
9
+ version: "0.2.0",
10
10
  description: "信息提取命令行工具",
11
11
  bin: {
12
12
  "dc-extract": "es/cli.mjs"
@@ -50,7 +50,7 @@ const D = {
50
50
  }
51
51
  }, R = {
52
52
  name: "@done-coding/cli-inject",
53
- version: "0.5.23",
53
+ version: "0.6.0",
54
54
  description: "信息(JSON)注入命令行工具",
55
55
  bin: {
56
56
  "dc-inject": "es/cli.mjs"
package/es/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { i as t, a as i, e as s, g as d, d as l, f as p, b as f, h as u } from "./index-aebb3f75.js";
2
+ import { i as t, a as i, e as s, g as d, d as l, f as p, b as f, h as u } from "./index-6d27eb29.js";
3
3
  import { E as C, G as E, S as b } from "./index-a1ee6691-8c73eb4d.js";
4
4
  import "@done-coding/cli-utils";
5
5
  import "node:path";
@@ -10,7 +10,7 @@ export {
10
10
  E as GenerateModeEnum,
11
11
  b as SubcommandEnum,
12
12
  t as commandCliInfo,
13
- i as crateAsSubcommand,
13
+ i as createAsSubcommand,
14
14
  s as generateCommandCliInfo,
15
15
  d as generateFile,
16
16
  l as generateHandler,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "done-coding-extract",
3
- "version": "0.1.23",
3
+ "version": "0.2.0",
4
4
  "description": "信息提取命令行工具",
5
5
  "private": false,
6
6
  "module": "es/index.mjs",
@@ -42,7 +42,7 @@
42
42
  "license": "MIT",
43
43
  "sideEffects": false,
44
44
  "devDependencies": {
45
- "@done-coding/cli-inject": "0.5.23",
45
+ "@done-coding/cli-inject": "0.6.0",
46
46
  "@types/node": "^18.0.0",
47
47
  "@types/yargs": "^17.0.28",
48
48
  "typescript": "^5.8.3",
@@ -50,12 +50,12 @@
50
50
  "vite-plugin-dts": "^3.6.0"
51
51
  },
52
52
  "dependencies": {
53
- "@done-coding/cli-template": "0.8.10",
54
- "@done-coding/cli-utils": "0.8.4"
53
+ "@done-coding/cli-template": "0.9.0",
54
+ "@done-coding/cli-utils": "0.9.0"
55
55
  },
56
56
  "engines": {
57
57
  "node": ">=18.0.0"
58
58
  },
59
- "gitHead": "d90f437c0a716f3e62bd92a221341838710869ad",
59
+ "gitHead": "d72c025c7c59964ef0617891bec9e34df015bd47",
60
60
  "scripts": {}
61
61
  }
package/types/index.d.ts CHANGED
@@ -12,7 +12,7 @@ import { SubCliInfo } from '@done-coding/cli-utils';
12
12
  export declare const commandCliInfo: Omit<CliInfo, "usage">;
13
13
 
14
14
  /** 作为子命令创建 */
15
- export declare const crateAsSubcommand: () => CommandModule<{}, {}>;
15
+ export declare const createAsSubcommand: () => CommandModule<{}, {}>;
16
16
 
17
17
  export declare interface ExtractConfig {
18
18
  /**