@akanjs/devkit 0.0.93 → 0.0.95
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/package.json +1 -1
- package/src/executors.js +4 -1
- package/src/executors.mjs +4 -1
package/package.json
CHANGED
package/src/executors.js
CHANGED
|
@@ -72,8 +72,11 @@ class Executor {
|
|
|
72
72
|
}
|
|
73
73
|
spawn(command, args = [], options = {}) {
|
|
74
74
|
const proc = (0, import_child_process.spawn)(command, args, { cwd: this.cwdPath, stdio: "inherit", ...options });
|
|
75
|
+
proc.stdout?.on("data", (data) => {
|
|
76
|
+
import_common.Logger.raw(import_chalk.default.dim(data.toString()));
|
|
77
|
+
});
|
|
75
78
|
proc.stderr?.on("data", (data) => {
|
|
76
|
-
import_common.Logger.raw(import_chalk.default.
|
|
79
|
+
import_common.Logger.raw(import_chalk.default.dim(data.toString()));
|
|
77
80
|
});
|
|
78
81
|
return new Promise((resolve, reject) => {
|
|
79
82
|
proc.on("exit", (code, signal) => {
|
package/src/executors.mjs
CHANGED
|
@@ -39,8 +39,11 @@ class Executor {
|
|
|
39
39
|
}
|
|
40
40
|
spawn(command, args = [], options = {}) {
|
|
41
41
|
const proc = spawn(command, args, { cwd: this.cwdPath, stdio: "inherit", ...options });
|
|
42
|
+
proc.stdout?.on("data", (data) => {
|
|
43
|
+
Logger.raw(chalk.dim(data.toString()));
|
|
44
|
+
});
|
|
42
45
|
proc.stderr?.on("data", (data) => {
|
|
43
|
-
Logger.raw(chalk.
|
|
46
|
+
Logger.raw(chalk.dim(data.toString()));
|
|
44
47
|
});
|
|
45
48
|
return new Promise((resolve, reject) => {
|
|
46
49
|
proc.on("exit", (code, signal) => {
|