@expressots/cli 3.0.0-beta.3 → 3.0.0-beta.4

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/bin/cli.js CHANGED
@@ -55,7 +55,7 @@ process_1.stdout.write(`\n${[chalk_1.default.bold.green("🐎 Expressots")]}\n\n
55
55
  }
56
56
  }
57
57
  else if (err) {
58
- (0, cli_ui_1.printError)(err.message, "command-validator");
58
+ (0, cli_ui_1.printError)(err.stack, "command-validator");
59
59
  }
60
60
  else {
61
61
  (0, cli_ui_1.printError)("Command invalid. Consider updating the CLI.", "command-validator");
@@ -231,6 +231,7 @@ const runCommand = async ({ command, }) => {
231
231
  }
232
232
  catch (error) {
233
233
  (0, cli_ui_1.printError)("Error executing command:", error.message);
234
+ process.exit(1);
234
235
  }
235
236
  };
236
237
  exports.runCommand = runCommand;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expressots/cli",
3
- "version": "3.0.0-beta.3",
3
+ "version": "3.0.0-beta.4",
4
4
  "description": "Expressots CLI - modern, fast, lightweight nodejs web framework (@cli)",
5
5
  "author": "Richard Zampieri",
6
6
  "license": "MIT",
@@ -62,10 +62,10 @@
62
62
  "yargs": "17.7.2"
63
63
  },
64
64
  "devDependencies": {
65
- "@codecov/vite-plugin": "^0.0.1-beta.9",
65
+ "@codecov/vite-plugin": "0.0.1-beta.9",
66
66
  "@commitlint/cli": "19.2.1",
67
67
  "@commitlint/config-conventional": "19.1.0",
68
- "@expressots/shared": "0.3.0",
68
+ "@expressots/shared": "3.0.0-beta.4",
69
69
  "@release-it/conventional-changelog": "7.0.2",
70
70
  "@types/chalk-animation": "1.6.1",
71
71
  "@types/cli-progress": "3.11.0",