@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geekmidas/cli",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "CLI tools for building Lambda handlers, server applications, and generating OpenAPI specs",
5
5
  "private": false,
6
6
  "type": "module",
@@ -54,8 +54,8 @@
54
54
  "prompts": "~2.4.2",
55
55
  "tsx": "~4.20.3",
56
56
  "@geekmidas/constructs": "~1.0.0",
57
- "@geekmidas/envkit": "~1.0.0",
58
57
  "@geekmidas/errors": "~1.0.0",
58
+ "@geekmidas/envkit": "~1.0.0",
59
59
  "@geekmidas/schema": "~1.0.0",
60
60
  "@geekmidas/logger": "~1.0.0"
61
61
  },
@@ -205,7 +205,7 @@ async function sniffEntryFile(
205
205
  env: {
206
206
  ...process.env,
207
207
  // Ensure tsx is available for TypeScript entry files
208
- NODE_OPTIONS: '--import tsx',
208
+ NODE_OPTIONS: '--import=tsx',
209
209
  },
210
210
  },
211
211
  );
package/src/dev/index.ts CHANGED
@@ -1911,8 +1911,8 @@ export async function execCommand(
1911
1911
  // Merge NODE_OPTIONS with existing value (if any)
1912
1912
  // Add tsx loader first so our .ts preload can be loaded
1913
1913
  const existingNodeOptions = process.env.NODE_OPTIONS ?? '';
1914
- const tsxImport = '--import tsx';
1915
- const preloadImport = `--import ${preloadPath}`;
1914
+ const tsxImport = '--import=tsx';
1915
+ const preloadImport = `--import=${preloadPath}`;
1916
1916
 
1917
1917
  // Build NODE_OPTIONS: existing + tsx loader + our preload
1918
1918
  const nodeOptions = [existingNodeOptions, tsxImport, preloadImport]
@@ -29,6 +29,7 @@ export function generateWebAppFiles(options: TemplateOptions): GeneratedFile[] {
29
29
  [modelsPackage]: 'workspace:*',
30
30
  [uiPackage]: 'workspace:*',
31
31
  '@geekmidas/client': GEEKMIDAS_VERSIONS['@geekmidas/client'],
32
+ '@geekmidas/envkit': GEEKMIDAS_VERSIONS['@geekmidas/envkit'],
32
33
  '@tanstack/react-query': '~5.80.0',
33
34
  'better-auth': '~1.2.0',
34
35
  next: '~16.1.0',
@@ -42,6 +43,7 @@ export function generateWebAppFiles(options: TemplateOptions): GeneratedFile[] {
42
43
  '@types/react': '~19.0.0',
43
44
  '@types/react-dom': '~19.0.0',
44
45
  tailwindcss: '^4.0.0',
46
+ tsx: '~4.20.0',
45
47
  typescript: '~5.8.2',
46
48
  },
47
49
  };