mine-auto-cli 2.4.2 → 2.4.3

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +4 -3
package/dist/index.js CHANGED
@@ -10,7 +10,7 @@ import se from "strip-json-comments";
10
10
  import re from "pacote";
11
11
  import { parseRange as ie } from "semver-utils";
12
12
  import ce from "update-notifier";
13
- const G = "mine-auto-cli", _ = "2.4.2", ae = "./dist/index.js", le = "./dist/index.js", pe = "module", me = {
13
+ const G = "mine-auto-cli", _ = "2.4.3", ae = "./dist/index.js", le = "./dist/index.js", pe = "module", me = {
14
14
  auto: "bin/mine-auto-cli.js"
15
15
  }, ge = {
16
16
  name: "biaov",
@@ -45,7 +45,7 @@ const G = "mine-auto-cli", _ = "2.4.2", ae = "./dist/index.js", le = "./dist/ind
45
45
  }
46
46
  ], ke = {
47
47
  chalk: "^5.3.0",
48
- commander: "^12.0.0",
48
+ commander: "^12.1.0",
49
49
  "js-yaml": "^4.1.0",
50
50
  "log-symbols": "^6.0.0",
51
51
  ora: "^8.0.1",
@@ -265,7 +265,7 @@ const S = H(), [E] = ["package.json"].map((e) => j(process.cwd(), e)), Ie = (e,
265
265
  });
266
266
  });
267
267
  const c = await Ge(r, s, i);
268
- t && (v(E, JSON.stringify(i, null, 2)), d("文件 package.json 已更新"), l()), qe(c);
268
+ t ? (v(E, JSON.stringify(i, null, 2)), d("文件 package.json 已更新"), l()) : qe(c);
269
269
  };
270
270
  g.command("check").option("-u, --update", "更新 package.json 依赖内容", !1).description("升级 package.json 依赖版本").action(_e);
271
271
  const Be = H(), W = "comment.md", Ye = ["package.json", W], [T, U] = Ye.map((e) => j(process.cwd(), e)), ze = () => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mine-auto-cli",
3
3
  "private": false,
4
- "version": "2.4.2",
4
+ "version": "2.4.3",
5
5
  "exports": "./dist/index.js",
6
6
  "main": "./dist/index.js",
7
7
  "type": "module",
@@ -17,7 +17,8 @@
17
17
  "scripts": {},
18
18
  "publishConfig": {
19
19
  "registry": "https://registry.npmjs.org/",
20
- "engine-strict": true
20
+ "engine-strict": true,
21
+ "provenance": true
21
22
  },
22
23
  "engines": {
23
24
  "node": ">=20.12"
@@ -45,7 +46,7 @@
45
46
  ],
46
47
  "dependencies": {
47
48
  "chalk": "^5.3.0",
48
- "commander": "^12.0.0",
49
+ "commander": "^12.1.0",
49
50
  "js-yaml": "^4.1.0",
50
51
  "log-symbols": "^6.0.0",
51
52
  "ora": "^8.0.1",