@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 +6 -0
- package/dist/index.cjs +6 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +6 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/deploy/sniffer.ts +1 -1
- package/src/dev/index.ts +2 -2
- package/src/init/generators/web.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geekmidas/cli",
|
|
3
|
-
"version": "1.2.
|
|
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
|
},
|
package/src/deploy/sniffer.ts
CHANGED
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
|
|
1915
|
-
const preloadImport = `--import
|
|
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
|
};
|