weapp-ide-cli 2.0.5 → 2.0.7

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.
@@ -130,12 +130,12 @@ async function getConfig() {
130
130
  }
131
131
 
132
132
  // src/parse.ts
133
- var rl = readline.createInterface({
134
- input: process2.stdin,
135
- output: process2.stdout
136
- });
137
133
  var isSupported = Boolean(defaultPath);
138
134
  function rlSetConfig() {
135
+ const rl = readline.createInterface({
136
+ input: process2.stdin,
137
+ output: process2.stdout
138
+ });
139
139
  logger_default.log("\u8BF7\u8BBE\u7F6E\u5FAE\u4FE1web\u5F00\u53D1\u8005\u5DE5\u5177 cli \u7684\u8DEF\u5F84");
140
140
  logger_default.log("> \u63D0\u793A\uFF1A\u547D\u4EE4\u884C\u5DE5\u5177\u9ED8\u8BA4\u6240\u5728\u4F4D\u7F6E\uFF1A");
141
141
  logger_default.log("- MacOS: <\u5B89\u88C5\u8DEF\u5F84>/Contents/MacOS/cli");
package/dist/cli.cjs CHANGED
@@ -159,12 +159,12 @@ function createPathCompat(option) {
159
159
  }
160
160
 
161
161
  // src/parse.ts
162
- var rl = import_node_readline.default.createInterface({
163
- input: import_node_process2.default.stdin,
164
- output: import_node_process2.default.stdout
165
- });
166
162
  var isSupported = Boolean(defaultPath);
167
163
  function rlSetConfig() {
164
+ const rl = import_node_readline.default.createInterface({
165
+ input: import_node_process2.default.stdin,
166
+ output: import_node_process2.default.stdout
167
+ });
168
168
  logger_default.log("\u8BF7\u8BBE\u7F6E\u5FAE\u4FE1web\u5F00\u53D1\u8005\u5DE5\u5177 cli \u7684\u8DEF\u5F84");
169
169
  logger_default.log("> \u63D0\u793A\uFF1A\u547D\u4EE4\u884C\u5DE5\u5177\u9ED8\u8BA4\u6240\u5728\u4F4D\u7F6E\uFF1A");
170
170
  logger_default.log("- MacOS: <\u5B89\u88C5\u8DEF\u5F84>/Contents/MacOS/cli");
@@ -214,6 +214,4 @@ async function parse(argv2) {
214
214
  var argv = import_node_process3.default.argv.slice(2);
215
215
  parse(argv).catch((err) => {
216
216
  logger_default.error(err);
217
- }).finally(() => {
218
- import_node_process3.default.exit();
219
217
  });
package/dist/cli.js CHANGED
@@ -1,13 +1,11 @@
1
1
  import {
2
2
  logger_default,
3
3
  parse
4
- } from "./chunk-63LTOOC2.js";
4
+ } from "./chunk-FQW4GQRU.js";
5
5
 
6
6
  // src/cli.ts
7
7
  import process from "node:process";
8
8
  var argv = process.argv.slice(2);
9
9
  parse(argv).catch((err) => {
10
10
  logger_default.error(err);
11
- }).finally(() => {
12
- process.exit();
13
11
  });
package/dist/index.cjs CHANGED
@@ -176,12 +176,12 @@ function createPathCompat(option) {
176
176
  }
177
177
 
178
178
  // src/parse.ts
179
- var rl = import_node_readline.default.createInterface({
180
- input: import_node_process2.default.stdin,
181
- output: import_node_process2.default.stdout
182
- });
183
179
  var isSupported = Boolean(defaultPath);
184
180
  function rlSetConfig() {
181
+ const rl = import_node_readline.default.createInterface({
182
+ input: import_node_process2.default.stdin,
183
+ output: import_node_process2.default.stdout
184
+ });
185
185
  logger_default.log("\u8BF7\u8BBE\u7F6E\u5FAE\u4FE1web\u5F00\u53D1\u8005\u5DE5\u5177 cli \u7684\u8DEF\u5F84");
186
186
  logger_default.log("> \u63D0\u793A\uFF1A\u547D\u4EE4\u884C\u5DE5\u5177\u9ED8\u8BA4\u6240\u5728\u4F4D\u7F6E\uFF1A");
187
187
  logger_default.log("- MacOS: <\u5B89\u88C5\u8DEF\u5F84>/Contents/MacOS/cli");
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  operatingSystemName,
9
9
  parse,
10
10
  resolvePath
11
- } from "./chunk-63LTOOC2.js";
11
+ } from "./chunk-FQW4GQRU.js";
12
12
  export {
13
13
  createAlias,
14
14
  createPathCompat,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "weapp-ide-cli",
3
3
  "type": "module",
4
- "version": "2.0.5",
4
+ "version": "2.0.7",
5
5
  "description": "让微信开发者工具,用起来更加方便!",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -49,7 +49,7 @@
49
49
  "registry": "https://registry.npmjs.org/"
50
50
  },
51
51
  "dependencies": {
52
- "execa": "9.4.0",
52
+ "execa": "9.5.2",
53
53
  "fs-extra": "^11.2.0",
54
54
  "pathe": "^1.1.2",
55
55
  "@weapp-core/logger": "^1.0.1"