create-done-coding 0.12.3-alpha.0 → 0.13.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 +3 -1
- package/es/index-49fe32cc.js +4718 -0
- package/es/index.mjs +15 -10
- package/package.json +6 -6
- package/types/index.d.ts +96 -10
- package/es/index-b3017a49.js +0 -4384
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ pnpm create done-coding my-project
|
|
|
26
26
|
### 作为 done-coding CLI 的一部分
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
npm install -g
|
|
29
|
+
npm install -g done-coding
|
|
30
30
|
# 然后使用
|
|
31
31
|
DC create [projectName]
|
|
32
32
|
```
|
|
@@ -221,7 +221,7 @@ MIT © [done-coding](https://github.com/done-coding)
|
|
|
221
221
|
|
|
222
222
|
## 相关链接
|
|
223
223
|
|
|
224
|
-
- [主 CLI 工具](https://www.npmjs.com/package
|
|
224
|
+
- [主 CLI 工具](https://www.npmjs.com/package/done-coding)
|
|
225
225
|
- [Git 操作工具](https://www.npmjs.com/package/@done-coding/cli-git) - 本包依赖的 Git 功能
|
|
226
226
|
- [模板处理工具](https://www.npmjs.com/package/@done-coding/cli-template) - 本包依赖的模板引擎
|
|
227
227
|
- [信息注入工具](https://www.npmjs.com/package/@done-coding/cli-inject) - 本包依赖的信息注入功能
|
package/es/cli.mjs
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { c as m } from "./index-
|
|
2
|
+
import { c as m } from "./index-49fe32cc.js";
|
|
3
3
|
import "@done-coding/cli-utils";
|
|
4
|
+
import "node:crypto";
|
|
4
5
|
import "node:fs";
|
|
6
|
+
import "node:os";
|
|
5
7
|
import "node:path";
|
|
6
8
|
import "@done-coding/cli-template";
|
|
7
9
|
import "@done-coding/cli-git";
|