@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/dist/index.mjs CHANGED
@@ -31,7 +31,7 @@ import prompts from "prompts";
31
31
 
32
32
  //#region package.json
33
33
  var name = "@geekmidas/cli";
34
- var version = "1.1.0";
34
+ var version = "1.2.0";
35
35
  var description = "CLI tools for building Lambda handlers, server applications, and generating OpenAPI specs";
36
36
  var private$1 = false;
37
37
  var type = "module";
@@ -1827,8 +1827,8 @@ async function execCommand(commandArgs, options = {}) {
1827
1827
  if (!cmd) throw new Error("No command specified");
1828
1828
  logger$9.log(`🚀 Running: ${commandArgs.join(" ")}`);
1829
1829
  const existingNodeOptions = process.env.NODE_OPTIONS ?? "";
1830
- const tsxImport = "--import tsx";
1831
- const preloadImport = `--import ${preloadPath}`;
1830
+ const tsxImport = "--import=tsx";
1831
+ const preloadImport = `--import=${preloadPath}`;
1832
1832
  const nodeOptions = [
1833
1833
  existingNodeOptions,
1834
1834
  tsxImport,
@@ -4780,7 +4780,7 @@ async function sniffEntryFile(entryPath, appPath, workspacePath) {
4780
4780
  ],
4781
4781
  env: {
4782
4782
  ...process.env,
4783
- NODE_OPTIONS: "--import tsx"
4783
+ NODE_OPTIONS: "--import=tsx"
4784
4784
  }
4785
4785
  });
4786
4786
  let stdout$1 = "";
@@ -9922,6 +9922,7 @@ function generateWebAppFiles(options) {
9922
9922
  [modelsPackage]: "workspace:*",
9923
9923
  [uiPackage]: "workspace:*",
9924
9924
  "@geekmidas/client": GEEKMIDAS_VERSIONS["@geekmidas/client"],
9925
+ "@geekmidas/envkit": GEEKMIDAS_VERSIONS["@geekmidas/envkit"],
9925
9926
  "@tanstack/react-query": "~5.80.0",
9926
9927
  "better-auth": "~1.2.0",
9927
9928
  next: "~16.1.0",
@@ -9935,6 +9936,7 @@ function generateWebAppFiles(options) {
9935
9936
  "@types/react": "~19.0.0",
9936
9937
  "@types/react-dom": "~19.0.0",
9937
9938
  tailwindcss: "^4.0.0",
9939
+ tsx: "~4.20.0",
9938
9940
  typescript: "~5.8.2"
9939
9941
  }
9940
9942
  };