@akanjs/devkit 0.0.153 → 0.9.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.
@@ -29,8 +29,7 @@ module.exports = __toCommonJS(constants_exports);
29
29
  var import_os = require("os");
30
30
  const basePath = `${(0, import_os.homedir)()}/.akan`;
31
31
  const configPath = `${basePath}/config.json`;
32
- const akanCloudHost = process.env.NEXT_PUBLIC_OPERATION_MODE === "local" ? "http://localhost" : "https://akasys-debug.akamir.com";
33
- //! Temp
32
+ const akanCloudHost = process.env.NEXT_PUBLIC_OPERATION_MODE === "local" ? "http://localhost" : "https://cloud.akanjs.com";
34
33
  const akanCloudBackendUrl = `${akanCloudHost}${process.env.NEXT_PUBLIC_OPERATION_MODE === "local" ? ":8080" : ""}/backend`;
35
34
  const akanCloudClientUrl = `${akanCloudHost}${process.env.NEXT_PUBLIC_OPERATION_MODE === "local" ? ":4200" : ""}`;
36
35
  const defaultHostConfig = {};
@@ -47,7 +47,7 @@ const uploadRelease = async (appName, {
47
47
  local
48
48
  }) => {
49
49
  const logger = new import_common.Logger("uploadRelease");
50
- const basePath = local ? "http://localhost:8080/backend" : "https://akasys.akamir.com/backend";
50
+ const basePath = local ? "http://localhost:8080/backend" : "https://cloud.akanjs.com/backend";
51
51
  const buildPath = `${workspaceRoot}/releases/builds/${appName}-release.tar.gz`;
52
52
  const appBuildPath = `${workspaceRoot}/releases/builds/${appName}-appBuild.zip`;
53
53
  const sourcePath = `${workspaceRoot}/releases/sources/${appName}-source.tar.gz`;
@@ -1,8 +1,7 @@
1
1
  import { homedir } from "os";
2
2
  const basePath = `${homedir()}/.akan`;
3
3
  const configPath = `${basePath}/config.json`;
4
- const akanCloudHost = process.env.NEXT_PUBLIC_OPERATION_MODE === "local" ? "http://localhost" : "https://akasys-debug.akamir.com";
5
- //! Temp
4
+ const akanCloudHost = process.env.NEXT_PUBLIC_OPERATION_MODE === "local" ? "http://localhost" : "https://cloud.akanjs.com";
6
5
  const akanCloudBackendUrl = `${akanCloudHost}${process.env.NEXT_PUBLIC_OPERATION_MODE === "local" ? ":8080" : ""}/backend`;
7
6
  const akanCloudClientUrl = `${akanCloudHost}${process.env.NEXT_PUBLIC_OPERATION_MODE === "local" ? ":4200" : ""}`;
8
7
  const defaultHostConfig = {};
@@ -15,7 +15,7 @@ const uploadRelease = async (appName, {
15
15
  local
16
16
  }) => {
17
17
  const logger = new Logger("uploadRelease");
18
- const basePath = local ? "http://localhost:8080/backend" : "https://akasys.akamir.com/backend";
18
+ const basePath = local ? "http://localhost:8080/backend" : "https://cloud.akanjs.com/backend";
19
19
  const buildPath = `${workspaceRoot}/releases/builds/${appName}-release.tar.gz`;
20
20
  const appBuildPath = `${workspaceRoot}/releases/builds/${appName}-appBuild.zip`;
21
21
  const sourcePath = `${workspaceRoot}/releases/sources/${appName}-source.tar.gz`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/devkit",
3
- "version": "0.0.153",
3
+ "version": "0.9.1",
4
4
  "sourceType": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -102,7 +102,7 @@ export declare class WorkspaceExecutor extends Executor {
102
102
  getBaseDevEnv(): {
103
103
  repoName: string;
104
104
  serveDomain: string;
105
- env: "testing" | "local" | "debug" | "develop" | "main";
105
+ env: "debug" | "testing" | "local" | "develop" | "main";
106
106
  name?: string | undefined;
107
107
  };
108
108
  scan(): Promise<WorkspaceScanResult>;
@@ -215,7 +215,7 @@ export declare class AppExecutor extends SysExecutor {
215
215
  emoji: string;
216
216
  constructor({ workspace, name }: AppExecutorOptions);
217
217
  static from(executor: SysExecutor | WorkspaceExecutor, name: string): AppExecutor;
218
- getEnv(): "testing" | "local" | "debug" | "develop" | "main";
218
+ getEnv(): "debug" | "testing" | "local" | "develop" | "main";
219
219
  getConfig(command?: string): Promise<AppConfigResult>;
220
220
  syncAssets(libDeps: string[]): Promise<void>;
221
221
  }