@ddd-tool/domain-designer-cli 0.0.0-alpha.30 → 0.0.0-alpha.32
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 +16 -0
- package/bin/domain-designer-cli.cjs +152 -124
- package/package.json +7 -9
- package/scripts/sync-ver.mjs +0 -0
- package/src/views/index.ts +4 -4
- package/templates/example-agg.ts +1 -1
- package/templates/example.ts +1 -1
- package/templates/node_modules/@ddd-tool/domain-designer-core/common.d.ts +9 -9
- package/templates/node_modules/@ddd-tool/domain-designer-core/define.d.ts +66 -66
- package/templates/node_modules/@ddd-tool/domain-designer-core/index.d.ts +1 -1
- package/templates/node_modules/@ddd-tool/domain-designer-core/note.d.ts +2 -0
- package/templates/node_modules/version.txt +1 -1
- package/templates/node_modules/@ddd-tool/domain-designer-core/desc.d.ts +0 -2
package/README.md
CHANGED
|
@@ -66,6 +66,8 @@ domain-designer-cli init
|
|
|
66
66
|
|
|
67
67
|
- RunWeb 脚本:用于实时查看建模效果
|
|
68
68
|
|
|
69
|
+
- GenCode 脚本:用于代码生成
|
|
70
|
+
|
|
69
71
|
### 4.2 编写 ts 文件
|
|
70
72
|
|
|
71
73
|
- 可以自行创建多个任意名称的 ts 文件
|
|
@@ -78,6 +80,20 @@ domain-designer-cli init
|
|
|
78
80
|
|
|
79
81
|
- 运行自动生成的`RunWeb`脚本文件,即可启动 web 服务
|
|
80
82
|
|
|
83
|
+
### 4.4 代码生成
|
|
84
|
+
|
|
85
|
+
- 运行自动生成的`GenCode`脚本文件,根据实际需求进行命令行交互
|
|
86
|
+
|
|
87
|
+
- 支持编程语言列表(开发中...)
|
|
88
|
+
|
|
89
|
+
- [x] Java
|
|
90
|
+
|
|
91
|
+
- [x] Kotlin
|
|
92
|
+
|
|
93
|
+
- [ ] C#
|
|
94
|
+
|
|
95
|
+
- [ ] GoLang
|
|
96
|
+
|
|
81
97
|
## 5 其他说明
|
|
82
98
|
|
|
83
99
|
- 对于每个 ts 文件内的修改,刷新页面即可看到效果
|