@geekmidas/cli 0.43.0 → 0.44.0
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/README.md +221 -0
- package/dist/index.cjs +6 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +6 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/build/__tests__/bundler.spec.ts +3 -3
- package/src/dev/__tests__/entry-integration.spec.ts +7 -6
- package/src/dev/index.ts +5 -1
- package/src/docker/__tests__/templates.spec.ts +123 -0
- package/src/init/__tests__/generators.spec.ts +3 -2
- package/src/init/__tests__/init.spec.ts +2 -1
- package/src/init/templates/minimal.ts +2 -0
package/dist/index.mjs
CHANGED
|
@@ -28,7 +28,7 @@ import prompts from "prompts";
|
|
|
28
28
|
|
|
29
29
|
//#region package.json
|
|
30
30
|
var name = "@geekmidas/cli";
|
|
31
|
-
var version = "0.
|
|
31
|
+
var version = "0.44.0";
|
|
32
32
|
var description = "CLI tools for building Lambda handlers, server applications, and generating OpenAPI specs";
|
|
33
33
|
var private$1 = false;
|
|
34
34
|
var type = "module";
|
|
@@ -1624,7 +1624,8 @@ async function prepareEntryCredentials(options) {
|
|
|
1624
1624
|
credentials.PORT = String(resolvedPort);
|
|
1625
1625
|
const secretsDir = join(secretsRoot, ".gkm");
|
|
1626
1626
|
await mkdir(secretsDir, { recursive: true });
|
|
1627
|
-
const
|
|
1627
|
+
const secretsFileName = appName ? `dev-secrets-${appName}.json` : "dev-secrets.json";
|
|
1628
|
+
const secretsJsonPath = join(secretsDir, secretsFileName);
|
|
1628
1629
|
await writeFile(secretsJsonPath, JSON.stringify(credentials, null, 2));
|
|
1629
1630
|
return {
|
|
1630
1631
|
credentials,
|
|
@@ -6562,12 +6563,14 @@ const minimalTemplate = {
|
|
|
6562
6563
|
"@geekmidas/schema": GEEKMIDAS_VERSIONS["@geekmidas/schema"],
|
|
6563
6564
|
"@hono/node-server": "~1.14.1",
|
|
6564
6565
|
hono: "~4.8.2",
|
|
6565
|
-
pino: "~9.6.0"
|
|
6566
|
+
pino: "~9.6.0",
|
|
6567
|
+
zod: "~4.1.0"
|
|
6566
6568
|
},
|
|
6567
6569
|
devDependencies: {
|
|
6568
6570
|
"@biomejs/biome": "~2.3.0",
|
|
6569
6571
|
"@geekmidas/cli": GEEKMIDAS_VERSIONS["@geekmidas/cli"],
|
|
6570
6572
|
"@types/node": "~22.0.0",
|
|
6573
|
+
esbuild: "~0.27.0",
|
|
6571
6574
|
tsx: "~4.20.0",
|
|
6572
6575
|
turbo: "~2.3.0",
|
|
6573
6576
|
typescript: "~5.8.2",
|