@stacksjs/cli 0.52.9 → 0.53.1
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/index.mjs +2 -2
- package/package.json +8 -8
package/dist/index.mjs
CHANGED
|
@@ -162,7 +162,7 @@ function execSync(command) {
|
|
|
162
162
|
return execSync$1(command, { encoding: "utf-8" });
|
|
163
163
|
}
|
|
164
164
|
async function runCommand(command, options) {
|
|
165
|
-
return
|
|
165
|
+
return exec(command, options);
|
|
166
166
|
}
|
|
167
167
|
async function runCommands(commands, options) {
|
|
168
168
|
const results = [];
|
|
@@ -178,7 +178,7 @@ async function runCommands(commands, options) {
|
|
|
178
178
|
results.push(result);
|
|
179
179
|
} else if (result.isErr()) {
|
|
180
180
|
if (spinner) {
|
|
181
|
-
log.error(new Error(
|
|
181
|
+
log.error(new Error(`Failed to run command ${italic(command)}`));
|
|
182
182
|
process.exit(ExitCode.FatalError);
|
|
183
183
|
}
|
|
184
184
|
results.push(result);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.53.1",
|
|
5
5
|
"packageManager": "pnpm@8.5.1",
|
|
6
6
|
"description": "The simple way to create beautiful CLIs.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
@@ -50,18 +50,18 @@
|
|
|
50
50
|
"cac": "^6.7.14",
|
|
51
51
|
"execa": "^7.1.1",
|
|
52
52
|
"ora": "^6.3.1",
|
|
53
|
-
"@stacksjs/config": "0.
|
|
54
|
-
"@stacksjs/error-handling": "0.
|
|
55
|
-
"@stacksjs/logging": "0.
|
|
56
|
-
"@stacksjs/path": "0.
|
|
57
|
-
"@stacksjs/types": "0.
|
|
58
|
-
"@stacksjs/utils": "0.
|
|
53
|
+
"@stacksjs/config": "0.53.1",
|
|
54
|
+
"@stacksjs/error-handling": "0.53.1",
|
|
55
|
+
"@stacksjs/logging": "0.53.1",
|
|
56
|
+
"@stacksjs/path": "0.53.1",
|
|
57
|
+
"@stacksjs/types": "0.53.1",
|
|
58
|
+
"@stacksjs/utils": "0.53.1"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"kolorist": "1.8.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@stacksjs/development": "0.
|
|
64
|
+
"@stacksjs/development": "0.53.1"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"build": "unbuild",
|