@geekmidas/cli 1.2.0 → 1.2.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @geekmidas/cli
2
2
 
3
+ ## 1.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 🐛 [`e4ab724`](https://github.com/geekmidas/toolbox/commit/e4ab724fc044bbcab9e4a1426e55b515a4185a2b) Thanks [@geekmidas](https://github.com/geekmidas)! - Fix bug when running gkm exec so tsx is importted correctly
8
+
3
9
  ## 1.2.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.cjs CHANGED
@@ -32,7 +32,7 @@ const prompts = require_chunk.__toESM(require("prompts"));
32
32
 
33
33
  //#region package.json
34
34
  var name = "@geekmidas/cli";
35
- var version = "1.1.0";
35
+ var version = "1.2.0";
36
36
  var description = "CLI tools for building Lambda handlers, server applications, and generating OpenAPI specs";
37
37
  var private$1 = false;
38
38
  var type = "module";
@@ -1828,8 +1828,8 @@ async function execCommand(commandArgs, options = {}) {
1828
1828
  if (!cmd) throw new Error("No command specified");
1829
1829
  logger$9.log(`🚀 Running: ${commandArgs.join(" ")}`);
1830
1830
  const existingNodeOptions = process.env.NODE_OPTIONS ?? "";
1831
- const tsxImport = "--import tsx";
1832
- const preloadImport = `--import ${preloadPath}`;
1831
+ const tsxImport = "--import=tsx";
1832
+ const preloadImport = `--import=${preloadPath}`;
1833
1833
  const nodeOptions = [
1834
1834
  existingNodeOptions,
1835
1835
  tsxImport,
@@ -4781,7 +4781,7 @@ async function sniffEntryFile(entryPath, appPath, workspacePath) {
4781
4781
  ],
4782
4782
  env: {
4783
4783
  ...process.env,
4784
- NODE_OPTIONS: "--import tsx"
4784
+ NODE_OPTIONS: "--import=tsx"
4785
4785
  }
4786
4786
  });
4787
4787
  let stdout = "";
@@ -9923,6 +9923,7 @@ function generateWebAppFiles(options) {
9923
9923
  [modelsPackage]: "workspace:*",
9924
9924
  [uiPackage]: "workspace:*",
9925
9925
  "@geekmidas/client": GEEKMIDAS_VERSIONS["@geekmidas/client"],
9926
+ "@geekmidas/envkit": GEEKMIDAS_VERSIONS["@geekmidas/envkit"],
9926
9927
  "@tanstack/react-query": "~5.80.0",
9927
9928
  "better-auth": "~1.2.0",
9928
9929
  next: "~16.1.0",
@@ -9936,6 +9937,7 @@ function generateWebAppFiles(options) {
9936
9937
  "@types/react": "~19.0.0",
9937
9938
  "@types/react-dom": "~19.0.0",
9938
9939
  tailwindcss: "^4.0.0",
9940
+ tsx: "~4.20.0",
9939
9941
  typescript: "~5.8.2"
9940
9942
  }
9941
9943
  };