@geekmidas/cli 1.10.24 → 1.10.25

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @geekmidas/cli
2
2
 
3
+ ## 1.10.25
4
+
5
+ ### Patch Changes
6
+
7
+ - 🐛 [`26765a3`](https://github.com/geekmidas/toolbox/commit/26765a3d1ce6a568e609011ab218455a1062dd2c) Thanks [@geekmidas](https://github.com/geekmidas)! - Fix node options on exec
8
+
3
9
  ## 1.10.24
4
10
 
5
11
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -35,7 +35,7 @@ const prompts = require_chunk.__toESM(require("prompts"));
35
35
 
36
36
  //#region package.json
37
37
  var name = "@geekmidas/cli";
38
- var version = "1.10.23";
38
+ var version = "1.10.24";
39
39
  var description = "CLI tools for building Lambda handlers, server applications, and generating OpenAPI specs";
40
40
  var private$1 = false;
41
41
  var type = "module";
@@ -1118,7 +1118,7 @@ async function execCommand(commandArgs, options = {}) {
1118
1118
  const [cmd, ...args] = commandArgs;
1119
1119
  if (!cmd) throw new Error("No command specified");
1120
1120
  logger$12.log(`🚀 Running: ${[cmd, ...args].join(" ")}`);
1121
- const existingNodeOptions = process.env.NODE_OPTIONS ?? "";
1121
+ const existingNodeOptions = (process.env.NODE_OPTIONS ?? "").replace(/--import[= ]\S+/g, "").trim();
1122
1122
  const preloadImport = `--import=${preloadPath}`;
1123
1123
  const nodeOptions = [existingNodeOptions, preloadImport].filter(Boolean).join(" ");
1124
1124
  const child = (0, node_child_process.spawn)(cmd, args, {
@@ -6851,7 +6851,7 @@ const GEEKMIDAS_VERSIONS = {
6851
6851
  "@geekmidas/rate-limit": "~2.0.0",
6852
6852
  "@geekmidas/schema": "~1.0.0",
6853
6853
  "@geekmidas/services": "~1.0.1",
6854
- "@geekmidas/storage": "~2.0.1",
6854
+ "@geekmidas/storage": "~2.0.2",
6855
6855
  "@geekmidas/studio": "~1.0.0",
6856
6856
  "@geekmidas/telescope": "~1.0.0",
6857
6857
  "@geekmidas/testkit": "~1.0.5",