@done-coding/cli-template 0.7.3-alpha.0 → 0.7.4-alpha.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/es/cli.mjs
CHANGED
package/es/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { M as r } from "./main-
|
|
3
|
-
import { O as E, S as h, T as b, b as T, c as A, a as H, h as O, i as S } from "./main-
|
|
2
|
+
import { M as r } from "./main-83901dc2.js";
|
|
3
|
+
import { O as E, S as h, T as b, b as T, c as A, a as H, h as O, i as S } from "./main-83901dc2.js";
|
|
4
4
|
import t from "node:path";
|
|
5
5
|
import { existsSync as n } from "node:fs";
|
|
6
6
|
import "@done-coding/cli-utils";
|
|
@@ -7,7 +7,7 @@ import B from "lodash.assign";
|
|
|
7
7
|
var h = /* @__PURE__ */ ((e) => (e.INIT = "init", e.COMPILE = "compile", e))(h || {}), J = /* @__PURE__ */ ((e) => (e.REPOSITORY_URL = "REPOSITORY_URL", e))(J || {}), b = /* @__PURE__ */ ((e) => (e.OVERWRITE = "overwrite", e.APPEND = "append", e.REPLACE = "replace", e.RETURN = "return", e))(b || {});
|
|
8
8
|
const _ = {
|
|
9
9
|
name: "@done-coding/cli-template",
|
|
10
|
-
version: "0.7.
|
|
10
|
+
version: "0.7.4-alpha.0",
|
|
11
11
|
description: "预编译命令行工具",
|
|
12
12
|
cliConfig: {
|
|
13
13
|
namespaceDir: ".done-coding",
|
|
@@ -191,6 +191,7 @@ const _ = {
|
|
|
191
191
|
}, te = async (e) => {
|
|
192
192
|
const t = await V(), s = await ee(t);
|
|
193
193
|
await W(s, e, {
|
|
194
|
+
edit: !0,
|
|
194
195
|
onFileGenerated(c) {
|
|
195
196
|
t || a.success(`配置文件已生成:${c}
|
|
196
197
|
请具体需要替换
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@done-coding/cli-template",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.4-alpha.0",
|
|
4
4
|
"description": "预编译命令行工具",
|
|
5
5
|
"private": false,
|
|
6
6
|
"module": "es/index.mjs",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"license": "MIT",
|
|
41
41
|
"sideEffects": false,
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@done-coding/cli-inject": "^0.5.
|
|
43
|
+
"@done-coding/cli-inject": "^0.5.3-alpha.0",
|
|
44
44
|
"@types/lodash.assign": "^4.2.9",
|
|
45
45
|
"@types/lodash.template": "^4.5.3",
|
|
46
46
|
"@types/node": "^18.0.0",
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
"node": ">=18.0.0"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@done-coding/cli-utils": "^0.3.
|
|
57
|
+
"@done-coding/cli-utils": "^0.3.3-alpha.0",
|
|
58
58
|
"lodash.assign": "^4.2.0",
|
|
59
59
|
"lodash.template": "^4.5.0"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "9b65389752c25c4b7fff7fa8dfd46e5788ef2390"
|
|
62
62
|
}
|