@seeka-labs/cli-apps-azure 3.9.1 → 3.9.3

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.cjs CHANGED
@@ -5730,7 +5730,7 @@ var require_commander = __commonJS({
5730
5730
  var version;
5731
5731
  var init_package = __esm({
5732
5732
  "../cli-apps/package.json"() {
5733
- version = "3.9.1";
5733
+ version = "3.9.3";
5734
5734
  }
5735
5735
  });
5736
5736
 
@@ -104460,7 +104460,7 @@ npmScopes:
104460
104460
  var version2;
104461
104461
  var init_package2 = __esm({
104462
104462
  "package.json"() {
104463
- version2 = "3.9.1";
104463
+ version2 = "3.9.3";
104464
104464
  }
104465
104465
  });
104466
104466
 
@@ -104552,6 +104552,7 @@ async function initAppCommand2(config) {
104552
104552
  type: "input",
104553
104553
  name: "localAppPath",
104554
104554
  message: initAppCommand.interactive.localAppPath.message,
104555
+ default: process.cwd(),
104555
104556
  validate: (input) => input.trim() !== "" || initAppCommand.interactive.localAppPath.validation.required
104556
104557
  }
104557
104558
  ]);
@@ -104568,9 +104569,9 @@ async function initAppCommand2(config) {
104568
104569
  if (fs14.existsSync(localAppPath)) {
104569
104570
  const files = fs14.readdirSync(localAppPath);
104570
104571
  if (files.length > 0) {
104571
- const isOnlySeeka = files.length === 1 && files[0] === ".seeka";
104572
+ const isOnlySeeka = files.every((file) => file === ".seeka" || file === ".vscode" || file === ".idea");
104572
104573
  if (!isOnlySeeka) {
104573
- throw new Error(`Directory ${localAppPath} is not empty and contains files other than .seeka/ folder. Please provide an empty directory or one that only contains a .seeka/ folder.`);
104574
+ throw new Error(`Directory ${localAppPath} is not empty and contains files other than .seeka or .idea or .vscode folders. Please provide an empty directory or one that only contains a .seeka/ folder.`);
104574
104575
  }
104575
104576
  }
104576
104577
  }
@@ -104705,7 +104706,7 @@ async function initAppCommand2(config) {
104705
104706
  type: "input",
104706
104707
  name: "selfHostBaseUrl",
104707
104708
  message: sharedEnvConfigPrompts.selfHostBaseUrl.message,
104708
- default: mergedEnvVars.SELF_HOST_BASEURL ?? "https://seeka-app-kim-experiment-localdev.au.ngrok.io"
104709
+ default: mergedEnvVars.SELF_HOST_BASEURL ?? `https://apps.seeka.services/${config.appName}`
104709
104710
  }
104710
104711
  ]);
104711
104712
  const { azureFunctionResourceGroupName, viteBaseUrl } = answers;
@@ -105021,7 +105022,7 @@ async function initEnvironmentCommand(config) {
105021
105022
  type: "input",
105022
105023
  name: "selfHostBaseUrl",
105023
105024
  message: sharedEnvConfigPrompts.selfHostBaseUrl.message,
105024
- default: config.environmentVariables?.SELF_HOST_BASEURL ?? "https://seeka-app-kim-experiment-localdev.au.ngrok.io"
105025
+ default: config.environmentVariables?.SELF_HOST_BASEURL ?? `https://apps.seeka.services/${config.appName}`
105025
105026
  }
105026
105027
  ]);
105027
105028
  const { octokit } = await authenticateWithGitHub();
@@ -105261,7 +105262,7 @@ async function updateEnvironmentCommand(config) {
105261
105262
  type: "input",
105262
105263
  name: "selfHostBaseUrl",
105263
105264
  message: sharedEnvConfigPrompts.selfHostBaseUrl.message,
105264
- default: configEnvVars.SELF_HOST_BASEURL ?? "https://seeka-app-kim-experiment-localdev.au.ngrok.io"
105265
+ default: configEnvVars.SELF_HOST_BASEURL ?? `https://apps.seeka.services/${config.appName}`
105265
105266
  }
105266
105267
  ]);
105267
105268
  const azureFuncSlotName = additionalAnswers.azureFuncSlotName;
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seeka-labs/cli-apps-azure",
3
- "version": "3.9.1",
3
+ "version": "3.9.3",
4
4
  "type": "module",
5
5
  "description": "Seeka - Apps CLI - Azure",
6
6
  "author": "SEEKA <platform@seeka.co>",
@@ -33,7 +33,7 @@
33
33
  "devDependencies": {
34
34
  "@jest/globals": "^30",
35
35
  "@octokit/rest": "^22.0.1",
36
- "@seeka-labs/cli-apps": "^3.9.1",
36
+ "@seeka-labs/cli-apps": "^3.9.3",
37
37
  "@types/cross-spawn": "^6",
38
38
  "@types/jest": "^30",
39
39
  "@types/libsodium-wrappers": "^0.7",