@ddd-tool/domain-designer-cli 0.1.0-beta.0 → 0.1.0-beta.10
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 +46 -0
- package/bin/domain-designer-cli.cjs +18572 -232
- package/package.json +12 -13
- package/src/views/index.ts +2 -2
- package/templates/node_modules/@ddd-tool/domain-designer-core/common.d.ts +3 -2
- package/templates/node_modules/@ddd-tool/domain-designer-core/define.d.ts +3 -2
- package/templates/node_modules/@ddd-tool/domain-designer-core/index.d.ts +1 -0
- package/templates/node_modules/version.txt +1 -1
- package/vite.config.ts +1 -10
package/README.md
CHANGED
|
@@ -28,6 +28,12 @@ bun i @ddd-tool/domain-designer-cli -g
|
|
|
28
28
|
pnpm i @ddd-tool/domain-designer-cli -g
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
+
对于 linux / macOS 系统:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
chmod +x *.sh
|
|
35
|
+
```
|
|
36
|
+
|
|
31
37
|
## 3 更新版本
|
|
32
38
|
|
|
33
39
|
### 3.1 更新软件
|
|
@@ -38,11 +44,19 @@ bun i @ddd-tool/domain-designer-cli@latest -g
|
|
|
38
44
|
pnpm i @ddd-tool/domain-designer-cli@latest -g
|
|
39
45
|
```
|
|
40
46
|
|
|
47
|
+
对于 linux / macOS 系统:
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
chmod +x *.sh
|
|
51
|
+
```
|
|
52
|
+
|
|
41
53
|
### 3.2 更新工作空间
|
|
42
54
|
|
|
43
55
|
在已有的工作空间中执行命令
|
|
44
56
|
|
|
45
57
|
```bash
|
|
58
|
+
bunx domain-designer-cli update
|
|
59
|
+
# or
|
|
46
60
|
domain-designer-cli update
|
|
47
61
|
```
|
|
48
62
|
|
|
@@ -53,6 +67,8 @@ domain-designer-cli update
|
|
|
53
67
|
在一个空文件夹中执行命令
|
|
54
68
|
|
|
55
69
|
```bash
|
|
70
|
+
bunx domain-designer-cli init
|
|
71
|
+
# or
|
|
56
72
|
domain-designer-cli init
|
|
57
73
|
```
|
|
58
74
|
|
|
@@ -118,6 +134,36 @@ domain-designer-cli init
|
|
|
118
134
|
- 例如:代码生成功能可以做,且这个功能应开始于减负,结束于减负:它的目标就是让我们在初次落地时少写一点样板代码,假如这个样板代码不太准确,我们可以先手动调整,然后在不增加领域建模负担的前提下慢慢优化功能。
|
|
119
135
|
这个代码生成功能绝不会是“低代码”,否则这将要求领域设计工作的复杂度与完备性将与目标编程语言的实现相近,最大的问题是,假如是低代码理念,当落地代码需要有某些调整(非领域设计问题),我们又要回过头担忧怎么改设计了,这实质上是一种返工。最终浪费的时间将远超样板代码方面节省的时间。一个好的工具应该让使用者顺利在自己应有的工作流程中一步步走下去,而不是制造麻烦。
|
|
120
136
|
|
|
137
|
+
## TODO list
|
|
138
|
+
|
|
139
|
+
- [ ] 多端适配
|
|
140
|
+
|
|
141
|
+
- [x] Windows
|
|
142
|
+
|
|
143
|
+
- [ ] Linux
|
|
144
|
+
|
|
145
|
+
- [ ] Mac
|
|
146
|
+
|
|
147
|
+
- [x] 代码生成功能
|
|
148
|
+
|
|
149
|
+
- [x] csharp
|
|
150
|
+
|
|
151
|
+
- [x] go
|
|
152
|
+
|
|
153
|
+
- [x] java
|
|
154
|
+
|
|
155
|
+
- [x] kotlin
|
|
156
|
+
|
|
157
|
+
- [x] 图形化展示
|
|
158
|
+
|
|
159
|
+
- [x] 事件风暴 uml
|
|
160
|
+
|
|
161
|
+
- [x] 用户故事
|
|
162
|
+
|
|
163
|
+
- [x] 工作流动画
|
|
164
|
+
|
|
165
|
+
- [x] 完备性分析
|
|
166
|
+
|
|
121
167
|
## License
|
|
122
168
|
|
|
123
169
|
This project is licensed under the Apache License, Version 2.0. See the LICENSE file for details.
|