done-coding-component 0.4.12 → 0.5.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 +2 -2
- package/es/cli.mjs +1 -1
- package/es/{index-6793b622.js → index-1a8fe9cd.js} +1 -1
- package/es/index.mjs +2 -2
- package/package.json +5 -5
- package/types/index.d.ts +1 -1
package/README.md
CHANGED
|
@@ -188,11 +188,11 @@ node es/cli.mjs --help
|
|
|
188
188
|
|
|
189
189
|
## 许可证
|
|
190
190
|
|
|
191
|
-
MIT © [
|
|
191
|
+
MIT © [done-coding](https://github.com/done-coding)
|
|
192
192
|
|
|
193
193
|
## 相关链接
|
|
194
194
|
|
|
195
195
|
- [主 CLI 工具](https://www.npmjs.com/package/@done-coding/cli)
|
|
196
196
|
- [模板处理工具](https://www.npmjs.com/package/@done-coding/cli-template) - 本包依赖的模板引擎
|
|
197
|
-
- [
|
|
197
|
+
- [Github 仓库](https://github.com/done-coding/done-coding-cli)
|
|
198
198
|
- [更新日志](./CHANGELOG.md)
|
package/es/cli.mjs
CHANGED
package/es/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { S as u, a as b, h as c } from "./index-
|
|
2
|
+
import { S as u, a as b, h as c } from "./index-1a8fe9cd.js";
|
|
3
3
|
import "node:path";
|
|
4
4
|
import "node:fs";
|
|
5
5
|
import "@done-coding/cli-utils";
|
|
@@ -11,6 +11,6 @@ import "lodash.template";
|
|
|
11
11
|
import "@done-coding/cli-template";
|
|
12
12
|
export {
|
|
13
13
|
u as SubcommandEnum,
|
|
14
|
-
b as
|
|
14
|
+
b as createAsSubcommand,
|
|
15
15
|
c as handler
|
|
16
16
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "done-coding-component",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "组件命令行工具",
|
|
5
5
|
"private": false,
|
|
6
6
|
"module": "es/index.mjs",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"license": "MIT",
|
|
32
32
|
"sideEffects": false,
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@done-coding/cli-inject": "0.
|
|
34
|
+
"@done-coding/cli-inject": "0.6.0",
|
|
35
35
|
"@types/lodash.camelcase": "^4.3.8",
|
|
36
36
|
"@types/lodash.kebabcase": "^4.1.8",
|
|
37
37
|
"@types/lodash.lowerfirst": "^4.3.8",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"vite-plugin-dts": "^3.6.0"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@done-coding/cli-template": "0.
|
|
48
|
-
"@done-coding/cli-utils": "0.
|
|
47
|
+
"@done-coding/cli-template": "0.9.0",
|
|
48
|
+
"@done-coding/cli-utils": "0.9.0",
|
|
49
49
|
"lodash.camelcase": "^4.3.0",
|
|
50
50
|
"lodash.kebabcase": "^4.1.1",
|
|
51
51
|
"lodash.lowerfirst": "^4.3.1",
|
|
@@ -55,6 +55,6 @@
|
|
|
55
55
|
"engines": {
|
|
56
56
|
"node": ">=18.0.0"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "d72c025c7c59964ef0617891bec9e34df015bd47",
|
|
59
59
|
"scripts": {}
|
|
60
60
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -42,7 +42,7 @@ export declare interface ConfigListItem {
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
/** 作为子命令创建 */
|
|
45
|
-
export declare const
|
|
45
|
+
export declare const createAsSubcommand: () => CommandModule<{}, {}>;
|
|
46
46
|
|
|
47
47
|
export declare const handler: (command: SubcommandEnum, argv: CliHandlerArgv<any>) => Promise<void>;
|
|
48
48
|
|