weapp-ide-cli 2.0.1 → 2.0.2
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/dist/{chunk-4TQBAV7J.js → chunk-IVTZB4KY.js} +1 -1
- package/dist/cli.cjs +2 -2
- package/dist/cli.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +2 -2
|
@@ -25,8 +25,8 @@ var logger_default = logger;
|
|
|
25
25
|
// src/utils.ts
|
|
26
26
|
import process from "node:process";
|
|
27
27
|
import path2 from "pathe";
|
|
28
|
-
import { execa } from "execa";
|
|
29
28
|
async function execute(cliPath, argv) {
|
|
29
|
+
const { execa } = await import("execa");
|
|
30
30
|
const task = execa(cliPath, argv);
|
|
31
31
|
task?.stdout?.pipe(process.stdout);
|
|
32
32
|
await task;
|
package/dist/cli.cjs
CHANGED
|
@@ -96,9 +96,9 @@ async function getConfig() {
|
|
|
96
96
|
// src/utils.ts
|
|
97
97
|
var import_node_process = __toESM(require("process"), 1);
|
|
98
98
|
var import_pathe = __toESM(require("pathe"), 1);
|
|
99
|
-
var import_execa = require("execa");
|
|
100
99
|
async function execute(cliPath, argv2) {
|
|
101
|
-
const
|
|
100
|
+
const { execa } = await import("execa");
|
|
101
|
+
const task = execa(cliPath, argv2);
|
|
102
102
|
task?.stdout?.pipe(import_node_process.default.stdout);
|
|
103
103
|
await task;
|
|
104
104
|
}
|
package/dist/cli.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -113,9 +113,9 @@ async function getConfig() {
|
|
|
113
113
|
// src/utils.ts
|
|
114
114
|
var import_node_process = __toESM(require("process"), 1);
|
|
115
115
|
var import_pathe = __toESM(require("pathe"), 1);
|
|
116
|
-
var import_execa = require("execa");
|
|
117
116
|
async function execute(cliPath, argv) {
|
|
118
|
-
const
|
|
117
|
+
const { execa } = await import("execa");
|
|
118
|
+
const task = execa(cliPath, argv);
|
|
119
119
|
task?.stdout?.pipe(import_node_process.default.stdout);
|
|
120
120
|
await task;
|
|
121
121
|
}
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weapp-ide-cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.2",
|
|
5
5
|
"description": "让微信开发者工具,用起来更加方便!",
|
|
6
6
|
"author": "SonOfMagic <qq1324318532@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"registry": "https://registry.npmjs.org/"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"execa": "9.3.
|
|
51
|
+
"execa": "9.3.1",
|
|
52
52
|
"fs-extra": "^11.2.0",
|
|
53
53
|
"pathe": "^1.1.2",
|
|
54
54
|
"@weapp-core/logger": "^1.0.1"
|