@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 +6 -0
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/exec/index.ts +7 -4
- package/src/init/versions.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geekmidas/cli",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.25",
|
|
4
4
|
"description": "CLI tools for building Lambda handlers, server applications, and generating OpenAPI specs",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"tsx": "~4.20.3",
|
|
58
58
|
"yaml": "~2.8.2",
|
|
59
59
|
"@geekmidas/constructs": "~3.0.5",
|
|
60
|
-
"@geekmidas/envkit": "~1.0.4",
|
|
61
60
|
"@geekmidas/errors": "~1.0.0",
|
|
61
|
+
"@geekmidas/envkit": "~1.0.4",
|
|
62
62
|
"@geekmidas/logger": "~1.0.0",
|
|
63
63
|
"@geekmidas/schema": "~1.0.0"
|
|
64
64
|
},
|
package/src/exec/index.ts
CHANGED
|
@@ -77,10 +77,13 @@ export async function execCommand(
|
|
|
77
77
|
|
|
78
78
|
logger.log(`🚀 Running: ${[cmd, ...args].join(' ')}`);
|
|
79
79
|
|
|
80
|
-
//
|
|
81
|
-
//
|
|
82
|
-
//
|
|
83
|
-
|
|
80
|
+
// Build NODE_OPTIONS for the child process.
|
|
81
|
+
// Strip any --import flags from the inherited NODE_OPTIONS — the gkm binary
|
|
82
|
+
// adds --import=tsx for itself, but the spawned command (e.g. next, prisma)
|
|
83
|
+
// doesn't need it and it breaks frameworks that spawn their own workers.
|
|
84
|
+
const existingNodeOptions = (process.env.NODE_OPTIONS ?? '')
|
|
85
|
+
.replace(/--import[= ]\S+/g, '')
|
|
86
|
+
.trim();
|
|
84
87
|
const preloadImport = `--import=${preloadPath}`;
|
|
85
88
|
|
|
86
89
|
const nodeOptions = [existingNodeOptions, preloadImport]
|
package/src/init/versions.ts
CHANGED
|
@@ -42,7 +42,7 @@ export const GEEKMIDAS_VERSIONS = {
|
|
|
42
42
|
'@geekmidas/rate-limit': '~2.0.0',
|
|
43
43
|
'@geekmidas/schema': '~1.0.0',
|
|
44
44
|
'@geekmidas/services': '~1.0.1',
|
|
45
|
-
'@geekmidas/storage': '~2.0.
|
|
45
|
+
'@geekmidas/storage': '~2.0.2',
|
|
46
46
|
'@geekmidas/studio': '~1.0.0',
|
|
47
47
|
'@geekmidas/telescope': '~1.0.0',
|
|
48
48
|
'@geekmidas/testkit': '~1.0.5',
|