@akanjs/cli 3.0.0-alpha.94 → 3.0.0-alpha.96
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/.build-stamp +1 -1
- package/{application.command-5nqfqgdn.js → application.command-b4jch2m8.js} +1 -1
- package/{applicationBuildRunner-b21m07fs.js → applicationBuildRunner-cpajk38f.js} +4 -3
- package/{cloud.command-g0pk0k60.js → cloud.command-xgxxq49a.js} +3 -3
- package/{devTui-2xf0meaq.js → devTui-m7a5gzet.js} +1 -1
- package/{devTuiView-7jy8f30g.js → devTuiView-gb7ta8rv.js} +1 -1
- package/{index-kfnr6c19.js → index-6y5sthxr.js} +1 -1
- package/{index-d61rcfa2.js → index-hk3ms50t.js} +2 -2
- package/{index-deekbtkj.js → index-tfz4faj3.js} +2 -2
- package/index.js +4 -4
- package/{localRegistry.command-gz8apn4y.js → localRegistry.command-bqpjr1ck.js} +2 -2
- package/package.json +2 -2
- package/{workspace.command-dqgj9zbk.js → workspace.command-w7ennb3r.js} +3 -3
package/.build-stamp
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
97b04ea43cf58fa306823f262329027509339fbc8e621c950b73f9c701d2c2f5
|
|
@@ -38,6 +38,7 @@ var SSR_RENDER_EXTERNALS = [
|
|
|
38
38
|
"react-server-dom-webpack/client.node",
|
|
39
39
|
"react-server-dom-webpack/client.browser"
|
|
40
40
|
];
|
|
41
|
+
var AKAN_BACKEND_MINIFY = { whitespace: true, syntax: true, identifiers: false };
|
|
41
42
|
var AKAN_OPTIONAL_BACKEND_EXTERNALS = [
|
|
42
43
|
"@libsql/client",
|
|
43
44
|
"bullmq",
|
|
@@ -128,7 +129,7 @@ class ApplicationBuildRunner {
|
|
|
128
129
|
entrypoints: backendEntryPoints,
|
|
129
130
|
outdir: this.#app.dist.cwdPath,
|
|
130
131
|
target: "bun",
|
|
131
|
-
minify:
|
|
132
|
+
minify: AKAN_BACKEND_MINIFY,
|
|
132
133
|
naming: { entry: "[name].[ext]", chunk: "chunk-[hash].[ext]" },
|
|
133
134
|
define: { "process.env.NODE_ENV": JSON.stringify("production") },
|
|
134
135
|
plugins: backendExternals.length > 0 ? [this.#createExternalSpecifiersPlugin(backendExternals)] : []
|
|
@@ -137,7 +138,7 @@ class ApplicationBuildRunner {
|
|
|
137
138
|
entrypoints: [this.#resolveRscWorkerBuildEntry()],
|
|
138
139
|
outdir: this.#app.dist.cwdPath,
|
|
139
140
|
target: "bun",
|
|
140
|
-
minify:
|
|
141
|
+
minify: AKAN_BACKEND_MINIFY,
|
|
141
142
|
naming: { entry: "[name].[ext]", chunk: "chunk-[hash].[ext]" },
|
|
142
143
|
conditions: ["react-server"],
|
|
143
144
|
define: { "process.env.NODE_ENV": JSON.stringify("production") },
|
|
@@ -147,7 +148,7 @@ class ApplicationBuildRunner {
|
|
|
147
148
|
entrypoints: [this.#resolveConsoleRuntimeBuildEntry()],
|
|
148
149
|
outdir: this.#app.dist.cwdPath,
|
|
149
150
|
target: "bun",
|
|
150
|
-
minify:
|
|
151
|
+
minify: AKAN_BACKEND_MINIFY,
|
|
151
152
|
naming: { entry: "console-runtime.[ext]", chunk: "chunk-[hash].[ext]" },
|
|
152
153
|
define: { "process.env.NODE_ENV": JSON.stringify("production") }
|
|
153
154
|
});
|
|
@@ -9,15 +9,15 @@ import {
|
|
|
9
9
|
} from "./index-cezy7yb3.js";
|
|
10
10
|
import"./index-q8sn827n.js";
|
|
11
11
|
import"./index-6wwzs1bc.js";
|
|
12
|
-
import"./index-
|
|
12
|
+
import"./index-hk3ms50t.js";
|
|
13
13
|
import"./index-zkvpaggp.js";
|
|
14
14
|
import"./index-9wtbw98m.js";
|
|
15
15
|
import"./index-kcxmv48c.js";
|
|
16
16
|
import"./index-sjak5v5b.js";
|
|
17
|
-
import"./index-
|
|
17
|
+
import"./index-6y5sthxr.js";
|
|
18
18
|
import {
|
|
19
19
|
CloudScript
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-tfz4faj3.js";
|
|
21
21
|
import"./index-pvb4vdwr.js";
|
|
22
22
|
|
|
23
23
|
// pkgs/@akanjs/cli/cloud/cloud.command.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
// pkgs/@akanjs/cli/application/devTuiView.ts
|
|
3
3
|
var createDevTuiView = async (supervisor) => {
|
|
4
|
-
const { DevTui } = await import("./devTui-
|
|
4
|
+
const { DevTui } = await import("./devTui-m7a5gzet.js");
|
|
5
5
|
return new DevTui(supervisor);
|
|
6
6
|
};
|
|
7
7
|
export {
|
|
@@ -1964,7 +1964,7 @@ ${uniqueCandidates.map((candidate) => ` - ${candidate}`).join(`
|
|
|
1964
1964
|
// pkgs/@akanjs/cli/application/application.runner.ts
|
|
1965
1965
|
import { Logger as Logger4 } from "akanjs/common";
|
|
1966
1966
|
import ora from "ora";
|
|
1967
|
-
var loadBuildRunner = async () => (await import("./applicationBuildRunner-
|
|
1967
|
+
var loadBuildRunner = async () => (await import("./applicationBuildRunner-cpajk38f.js")).ApplicationBuildRunner;
|
|
1968
1968
|
var loadReleasePackager = async () => (await import("./applicationReleasePackager-3wh58n2m.js")).ApplicationReleasePackager;
|
|
1969
1969
|
var loadCapacitorApp = async () => (await import("./capacitorApp-gzcx6txb.js")).CapacitorApp;
|
|
1970
1970
|
var loadAbstractCompactor = async () => (await import("./abstractCompactor-cefxzggj.js")).AbstractCompactor;
|
|
@@ -3040,7 +3040,7 @@ class ApplicationScript extends script("application", [ApplicationRunner, Librar
|
|
|
3040
3040
|
throw new Error("No app selected to start");
|
|
3041
3041
|
const startedDatabase = dbup ? await this.#prepareSharedDatabase(apps) : false;
|
|
3042
3042
|
const supervisor = new DevSupervisor({ apps, mode, concurrency, open, write });
|
|
3043
|
-
const view = mode === "tui" ? await (await import("./devTuiView-
|
|
3043
|
+
const view = mode === "tui" ? await (await import("./devTuiView-gb7ta8rv.js")).createDevTuiView(supervisor) : new DevStreamView(apps.map((app) => app.name));
|
|
3044
3044
|
await supervisor.run(view);
|
|
3045
3045
|
if (startedDatabase)
|
|
3046
3046
|
await this.#stopDatabase(workspace);
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
} from "./index-cezy7yb3.js";
|
|
13
13
|
import {
|
|
14
14
|
ApplicationScript
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-hk3ms50t.js";
|
|
16
16
|
import {
|
|
17
17
|
PackageScript
|
|
18
18
|
} from "./index-sjak5v5b.js";
|
|
19
19
|
import {
|
|
20
20
|
CloudRunner
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-6y5sthxr.js";
|
|
22
22
|
|
|
23
23
|
// pkgs/@akanjs/cli/cloud/cloud.script.ts
|
|
24
24
|
import { Logger } from "akanjs/common";
|
package/index.js
CHANGED
|
@@ -14,16 +14,16 @@ import path from "path";
|
|
|
14
14
|
|
|
15
15
|
// pkgs/@akanjs/cli/commandModules.ts
|
|
16
16
|
var commandModules = {
|
|
17
|
-
workspace: async () => (await import("./workspace.command-
|
|
17
|
+
workspace: async () => (await import("./workspace.command-w7ennb3r.js")).WorkspaceCommand,
|
|
18
18
|
agent: async () => (await import("./agent.command-r93wmq7m.js")).AgentCommand,
|
|
19
|
-
application: async () => (await import("./application.command-
|
|
19
|
+
application: async () => (await import("./application.command-b4jch2m8.js")).ApplicationCommand,
|
|
20
20
|
library: async () => (await import("./library.command-em103wtn.js")).LibraryCommand,
|
|
21
|
-
localRegistry: async () => (await import("./localRegistry.command-
|
|
21
|
+
localRegistry: async () => (await import("./localRegistry.command-bqpjr1ck.js")).LocalRegistryCommand,
|
|
22
22
|
package: async () => (await import("./package.command-rfhyf38t.js")).PackageCommand,
|
|
23
23
|
module: async () => (await import("./module.command-451pztkc.js")).ModuleCommand,
|
|
24
24
|
page: async () => (await import("./page.command-kt19da5g.js")).PageCommand,
|
|
25
25
|
context: async () => (await import("./context.command-qd8kqrnh.js")).ContextCommand,
|
|
26
|
-
cloud: async () => (await import("./cloud.command-
|
|
26
|
+
cloud: async () => (await import("./cloud.command-xgxxq49a.js")).CloudCommand,
|
|
27
27
|
subspace: async () => (await import("./subspace.command-kqzqtk0p.js")).SubspaceCommand,
|
|
28
28
|
guideline: async () => (await import("./guideline.command-f38x8jhw.js")).GuidelineCommand,
|
|
29
29
|
scalar: async () => (await import("./scalar.command-jcf4e5sv.js")).ScalarCommand,
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
import"./index-6wwzs1bc.js";
|
|
13
13
|
import {
|
|
14
14
|
ApplicationScript
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-hk3ms50t.js";
|
|
16
16
|
import"./index-zkvpaggp.js";
|
|
17
17
|
import"./index-9wtbw98m.js";
|
|
18
18
|
import"./index-n85fer99.js";
|
|
19
19
|
import {
|
|
20
20
|
getNpmRegistryUrl,
|
|
21
21
|
CloudRunner
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-6y5sthxr.js";
|
|
23
23
|
import"./index-kcxmv48c.js";
|
|
24
24
|
import {
|
|
25
25
|
PackageScript
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akanjs/cli",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.96",
|
|
4
4
|
"sourceType": "module",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@langchain/openai": "^1.4.6",
|
|
34
34
|
"@tailwindcss/node": "^4.3.0",
|
|
35
35
|
"@trapezedev/project": "^7.1.4",
|
|
36
|
-
"akanjs": "3.0.0-alpha.
|
|
36
|
+
"akanjs": "3.0.0-alpha.96",
|
|
37
37
|
"chalk": "^5.6.2",
|
|
38
38
|
"commander": "^14.0.3",
|
|
39
39
|
"dayjs": "^1.11.20",
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
} from "./index-rntcdss1.js";
|
|
41
41
|
import {
|
|
42
42
|
ApplicationScript
|
|
43
|
-
} from "./index-
|
|
43
|
+
} from "./index-hk3ms50t.js";
|
|
44
44
|
import {
|
|
45
45
|
LibraryScript
|
|
46
46
|
} from "./index-zkvpaggp.js";
|
|
@@ -52,10 +52,10 @@ import {
|
|
|
52
52
|
import {
|
|
53
53
|
getNpmRegistryUrl,
|
|
54
54
|
getLatestPackageVersion
|
|
55
|
-
} from "./index-
|
|
55
|
+
} from "./index-6y5sthxr.js";
|
|
56
56
|
import {
|
|
57
57
|
CloudScript
|
|
58
|
-
} from "./index-
|
|
58
|
+
} from "./index-tfz4faj3.js";
|
|
59
59
|
import {
|
|
60
60
|
ContextScript
|
|
61
61
|
} from "./index-r50qen0z.js";
|