@geekmidas/cli 1.10.18 → 1.10.19

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
@@ -35,7 +35,7 @@ import prompts from "prompts";
35
35
 
36
36
  //#region package.json
37
37
  var name = "@geekmidas/cli";
38
- var version = "1.10.17";
38
+ var version = "1.10.18";
39
39
  var description = "CLI tools for building Lambda handlers, server applications, and generating OpenAPI specs";
40
40
  var private$1 = false;
41
41
  var type = "module";
@@ -1327,7 +1327,8 @@ async function devCommand(options) {
1327
1327
  if (Object.keys(appSecrets).length > 0) {
1328
1328
  const secretsDir = join(secretsRoot, ".gkm");
1329
1329
  await mkdir(secretsDir, { recursive: true });
1330
- secretsJsonPath = join(secretsDir, "dev-secrets.json");
1330
+ const secretsFileName = workspaceAppName ? `dev-secrets-${workspaceAppName}.json` : "dev-secrets.json";
1331
+ secretsJsonPath = join(secretsDir, secretsFileName);
1331
1332
  await writeFile(secretsJsonPath, JSON.stringify(appSecrets, null, 2));
1332
1333
  logger$11.log(`🔐 Loaded ${Object.keys(appSecrets).length} secret(s)`);
1333
1334
  }