@done-coding/cli-template 0.7.3 → 0.7.4

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
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { d as m } from "./main-14b08350.js";
2
+ import { d as m } from "./main-80843cb1.js";
3
3
  import "@done-coding/cli-utils";
4
4
  import "node:path";
5
5
  import "node:fs";
package/es/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { M as r } from "./main-14b08350.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-14b08350.js";
2
+ import { M as r } from "./main-80843cb1.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-80843cb1.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 I = /* @__PURE__ */ ((e) => (e.INIT = "init", e.COMPILE = "compile", e))(I || {}), 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.3",
10
+ version: "0.7.4",
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(), l = await ee(t);
193
193
  await W(l, 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",
3
+ "version": "0.7.4",
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.2",
43
+ "@done-coding/cli-inject": "^0.5.3",
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.2",
57
+ "@done-coding/cli-utils": "^0.3.3",
58
58
  "lodash.assign": "^4.2.0",
59
59
  "lodash.template": "^4.5.0"
60
60
  },
61
- "gitHead": "7a8d554748b844c8b7694c587983b21af902d5d1"
61
+ "gitHead": "3caf888c1978970b95d95219ac63d0a3ed2b2912"
62
62
  }
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  "name": "@done-coding/cli-template",
3
- "version": "0.7.3",
3
+ "version": "0.7.4",
4
4
  "description": "预编译命令行工具",
5
5
  "cliConfig": {
6
6
  "namespaceDir": ".done-coding",