done-coding-inject 0.5.23 → 0.6.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
@@ -182,10 +182,10 @@ node es/cli.mjs --help
182
182
 
183
183
  ## 许可证
184
184
 
185
- MIT © [JustSoSu](https://gitee.com/done-coding)
185
+ MIT © [done-coding](https://github.com/done-coding)
186
186
 
187
187
  ## 相关链接
188
188
 
189
189
  - [主 CLI 工具](https://www.npmjs.com/package/@done-coding/cli)
190
- - [Gitee 仓库](https://gitee.com/done-coding/done-coding-cli)
190
+ - [Github 仓库](https://github.com/done-coding/done-coding-cli)
191
191
  - [更新日志](./CHANGELOG.md)
package/es/cli.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { c as m } from "./index-6e0f42c3.js";
2
+ import { c as m } from "./index-6ae96ef0.js";
3
3
  import "./index-a1ee6691.js";
4
4
  import "@done-coding/cli-utils";
5
5
  import "node:path";
@@ -36,7 +36,7 @@ const x = ({
36
36
  }
37
37
  }, d = {
38
38
  name: "@done-coding/cli-inject",
39
- version: "0.5.23",
39
+ version: "0.6.0",
40
40
  description: "信息(JSON)注入命令行工具",
41
41
  bin: {
42
42
  "dc-inject": "es/cli.mjs"
package/es/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { i as r, a as i, e as s, g as t, d, f as l, b as f, h as p, k as C } from "./index-6e0f42c3.js";
2
+ import { i as r, a as i, e as s, g as t, d, f as l, b as f, h as p, k as C } from "./index-6ae96ef0.js";
3
3
  import { I as g, S as u } from "./index-a1ee6691.js";
4
4
  import "@done-coding/cli-utils";
5
5
  import "node:path";
@@ -8,7 +8,7 @@ export {
8
8
  g as InjectTypeEnum,
9
9
  u as SubcommandEnum,
10
10
  r as commandCliInfo,
11
- i as crateAsSubcommand,
11
+ i as createAsSubcommand,
12
12
  s as generateCommandCliInfo,
13
13
  t as generateFile,
14
14
  d as generateHandler,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "done-coding-inject",
3
- "version": "0.5.23",
3
+ "version": "0.6.0",
4
4
  "description": "信息(JSON)注入命令行工具",
5
5
  "private": false,
6
6
  "module": "es/index.mjs",
@@ -49,11 +49,11 @@
49
49
  "vite-plugin-dts": "^3.6.0"
50
50
  },
51
51
  "dependencies": {
52
- "@done-coding/cli-utils": "0.8.4"
52
+ "@done-coding/cli-utils": "0.9.0"
53
53
  },
54
54
  "engines": {
55
55
  "node": ">=18.0.0"
56
56
  },
57
- "gitHead": "d90f437c0a716f3e62bd92a221341838710869ad",
57
+ "gitHead": "d72c025c7c59964ef0617891bec9e34df015bd47",
58
58
  "scripts": {}
59
59
  }
package/types/index.d.ts CHANGED
@@ -8,7 +8,7 @@ import { SubCliInfo } from '@done-coding/cli-utils';
8
8
  export declare const commandCliInfo: Omit<CliInfo, "usage">;
9
9
 
10
10
  /** 作为子命令创建 */
11
- export declare const crateAsSubcommand: () => CommandModule<{}, {}>;
11
+ export declare const createAsSubcommand: () => CommandModule<{}, {}>;
12
12
 
13
13
  export declare const generateCommandCliInfo: SubCliInfo;
14
14