@akanjs/cli 3.0.0-beta.27 → 3.0.0-beta.28
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/{CodeAgent-h19atbr3.js → CodeAgent-7acv4ah8.js} +2 -2
- package/{CodeTui-46zygq8p.js → CodeTui-9tkh34mj.js} +1 -1
- package/{agent.command-rp505zxa.js → agent.command-q9bmqrag.js} +5 -5
- package/akanCode.js +2 -2
- package/{application.command-1p0cpt6y.js → application.command-xpnkyx4z.js} +70 -8
- package/{applicationBuildRunner-r6b9rkb8.js → applicationBuildRunner-w4917tje.js} +67 -22
- package/buildBatch.proc.js +3 -3
- package/{cloud.command-ps9dabbg.js → cloud.command-7yd624qd.js} +9 -9
- package/cloud.script-25vzkz7b.js +20 -0
- package/{code.command-78qw3q3f.js → code.command-fpx4gzmy.js} +6 -6
- package/commandManifest.json +1 -1
- package/{context.command-x5f7t3gk.js → context.command-snn1k5q3.js} +13 -13
- package/context.runner-nzaf8c98.js +21 -0
- package/{guideline.command-d5qmxx29.js → guideline.command-ene55fkr.js} +2 -2
- package/guidelines/conventions/conventions.instruction.md +27 -7
- package/guidelines/runtimeRule/runtimeRule.instruction.md +107 -1
- package/incrementalBuilder.proc.js +2 -2
- package/{index-118vq9dh.js → index-0ej0sr6m.js} +225 -46
- package/{index-hzy4pe24.js → index-0pqzrbpr.js} +2 -2
- package/{index-6dt6zft6.js → index-20r2g1t3.js} +4 -4
- package/{index-xfgdmm5d.js → index-2ctqegdm.js} +2 -2
- package/{index-d65fzxvd.js → index-2s2e5qnd.js} +1 -1
- package/{index-t02g6dpn.js → index-2z30v4k5.js} +3 -3
- package/{index-vxqe24mp.js → index-52n8xr63.js} +1 -1
- package/{index-tg09x14f.js → index-9j0kykc6.js} +5 -5
- package/{index-58cyna2s.js → index-b68zfsvz.js} +1 -1
- package/{index-2zcm7fjd.js → index-ewbek95g.js} +3 -3
- package/{index-bp9b1g2r.js → index-fy42hyb9.js} +7 -3
- package/{index-zazvn45w.js → index-genegfnt.js} +4 -4
- package/{index-da72pfdv.js → index-h9ed99ax.js} +7 -7
- package/{index-per2kqy9.js → index-k7809wmg.js} +2 -2
- package/{index-j9z8vg2n.js → index-n9704w6y.js} +4 -4
- package/{index-860zjnr1.js → index-nbg9bfnr.js} +1 -1
- package/{index-5mm3g24t.js → index-qtz88kh0.js} +2 -2
- package/{index-0n9q1f23.js → index-r8gp8zk3.js} +231 -98
- package/{index-ggfhz9ab.js → index-rbeahw6j.js} +3 -3
- package/{index-56xwsgyn.js → index-rrt9pnb4.js} +2 -2
- package/{index-v4hnkqz9.js → index-ss828r32.js} +1 -1
- package/index-tfe3711h.js +947 -0
- package/{index-5kjsr2pg.js → index-ttn00pr3.js} +38 -3
- package/{index-w5pet0nq.js → index-vt64c067.js} +11 -9
- package/index.js +21 -21
- package/{library.command-sv6g1h2g.js → library.command-tz7vnwea.js} +3 -3
- package/{localRegistry.command-zppa6w7q.js → localRegistry.command-f39yk7be.js} +8 -8
- package/{module.command-ccdeder9.js → module.command-qhc9ns0s.js} +5 -5
- package/{package.command-xmw605b1.js → package.command-z3epnvas.js} +3 -3
- package/package.json +2 -2
- package/{page.command-ky7vafsn.js → page.command-exd2vakz.js} +3 -3
- package/{primitive.command-bh6j8nfs.js → primitive.command-0w6cha4j.js} +6 -6
- package/{quality.command-rqqrpe98.js → quality.command-je4kc9yv.js} +2 -2
- package/{repair.command-n9nsm9qe.js → repair.command-knvwfgtg.js} +5 -5
- package/{scalar.command-t09gmck8.js → scalar.command-60nxfchc.js} +4 -4
- package/{subspace.command-gx2cjpnv.js → subspace.command-0e53tvxk.js} +4 -4
- package/templates/server.ts +1 -1
- package/{tunnel.command-4g95vhsn.js → tunnel.command-7m2kxtat.js} +2 -2
- package/{workflow.command-b91ph8sx.js → workflow.command-j5tk13ds.js} +10 -10
- package/{workspace.command-1r29qzzk.js → workspace.command-wypqk2zb.js} +20 -20
- package/cloud.script-wrw1kz6k.js +0 -20
- package/context.runner-nfs8ksh3.js +0 -21
- package/index-y736f42m.js +0 -556
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
AsyncDefaultExportDetector,
|
|
11
11
|
resolveSsrPageEntriesForApp
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-r8gp8zk3.js";
|
|
13
13
|
|
|
14
14
|
// pkgs/@akanjs/devkit/artifact/routeSeedIndex.ts
|
|
15
15
|
import path from "path";
|
|
@@ -3396,6 +3396,7 @@ class CsrDevFactoryCheck {
|
|
|
3396
3396
|
// pkgs/@akanjs/devkit/frontendBuild/csrDevModuleCompiler.ts
|
|
3397
3397
|
class CsrDevModuleCompiler {
|
|
3398
3398
|
static #storeRoot = /(?:^|\/)lib\/st\.ts$/;
|
|
3399
|
+
static #macroImport = /\b(?:with|assert)\s*\{\s*type\s*:\s*["']macro["']/;
|
|
3399
3400
|
static #factoryArgument = /(?<![\w$.])(?:require|module|exports|__akanImport|\$RefreshReg\$|\$RefreshSig\$)(?![\w$]|\s*:)/;
|
|
3400
3401
|
static #helperPatches = [
|
|
3401
3402
|
["__toESM", "(mod, isNodeMode, target)", "toESM"],
|
|
@@ -3475,6 +3476,7 @@ class CsrDevModuleCompiler {
|
|
|
3475
3476
|
const mtimes = new Map(files.map((file) => [CsrDevPaths.realpath(file), CsrDevPaths.mtimeOf(file)]));
|
|
3476
3477
|
const hashes = new Map(await Promise.all(files.map(async (file) => [CsrDevPaths.realpath(file), vendor ? "" : await CsrDevPaths.hashOf(file)])));
|
|
3477
3478
|
const misses = [];
|
|
3479
|
+
const macroOutputs = vendor ? new Map : await this.#evaluateMacros(files);
|
|
3478
3480
|
let result;
|
|
3479
3481
|
try {
|
|
3480
3482
|
result = await Bun.build({
|
|
@@ -3490,7 +3492,7 @@ class CsrDevModuleCompiler {
|
|
|
3490
3492
|
env: "AKAN_PUBLIC_*",
|
|
3491
3493
|
define: { ...this.#context.define, "import.meta": "__akanMeta" },
|
|
3492
3494
|
optimizeImports: this.#context.optimizeImports,
|
|
3493
|
-
plugins: [this.#registryPlugin(vendor, misses)]
|
|
3495
|
+
plugins: [this.#registryPlugin(vendor, misses, macroOutputs)]
|
|
3494
3496
|
});
|
|
3495
3497
|
} catch (error) {
|
|
3496
3498
|
if (vendor && error instanceof AggregateError)
|
|
@@ -3580,11 +3582,44 @@ class CsrDevModuleCompiler {
|
|
|
3580
3582
|
hash: ""
|
|
3581
3583
|
};
|
|
3582
3584
|
}
|
|
3583
|
-
#
|
|
3585
|
+
async#evaluateMacros(files) {
|
|
3586
|
+
const sources = await Promise.all(files.map(async (file) => [file, await Bun.file(file).text()]));
|
|
3587
|
+
const importers = sources.filter(([, source]) => CsrDevModuleCompiler.#macroImport.test(source));
|
|
3588
|
+
const outputs = await Promise.all(importers.map(async ([file]) => {
|
|
3589
|
+
const result = await Bun.build({
|
|
3590
|
+
entrypoints: [file],
|
|
3591
|
+
target: "browser",
|
|
3592
|
+
format: "esm",
|
|
3593
|
+
plugins: [
|
|
3594
|
+
{
|
|
3595
|
+
name: "akan-csr-macro-pass",
|
|
3596
|
+
setup: (build) => void build.onResolve({ filter: /.*/ }, (args) => args.importer ? { path: args.path, external: true } : undefined)
|
|
3597
|
+
}
|
|
3598
|
+
]
|
|
3599
|
+
});
|
|
3600
|
+
const [output] = result.outputs;
|
|
3601
|
+
if (!output)
|
|
3602
|
+
throw new Error(`[csr-dev] ${this.#paths.idOf(file)}: its macro pass wrote no output`);
|
|
3603
|
+
const text = await output.text();
|
|
3604
|
+
return [
|
|
3605
|
+
[file, text],
|
|
3606
|
+
[CsrDevPaths.realpath(file), text]
|
|
3607
|
+
];
|
|
3608
|
+
}));
|
|
3609
|
+
return new Map(outputs.flat());
|
|
3610
|
+
}
|
|
3611
|
+
#registryPlugin(vendor, misses, macroOutputs) {
|
|
3584
3612
|
return {
|
|
3585
3613
|
name: "akan-csr-registry",
|
|
3586
3614
|
setup: (build) => {
|
|
3587
3615
|
build.onLoad({ filter: /\.css$/ }, () => ({ contents: "", loader: "js" }));
|
|
3616
|
+
if (macroOutputs.size > 0) {
|
|
3617
|
+
const exact = [...macroOutputs.keys()].map((file) => file.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"));
|
|
3618
|
+
build.onLoad({ filter: new RegExp(`^(?:${exact.join("|")})$`) }, (args) => {
|
|
3619
|
+
const contents = macroOutputs.get(args.path);
|
|
3620
|
+
return contents === undefined ? undefined : { contents, loader: "js" };
|
|
3621
|
+
});
|
|
3622
|
+
}
|
|
3588
3623
|
if (!vendor)
|
|
3589
3624
|
build.onLoad({ filter: /\.tsx$/ }, async (args) => {
|
|
3590
3625
|
if (CsrDevPaths.isVendorFile(args.path))
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
AppExecutor
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-r8gp8zk3.js";
|
|
5
5
|
import {
|
|
6
6
|
jsonText,
|
|
7
7
|
createWorkflowBaselineSummary,
|
|
8
8
|
buildAkanModuleContextIndex,
|
|
9
9
|
toolingRolloutGate
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-2s2e5qnd.js";
|
|
11
11
|
import {
|
|
12
12
|
buildResourceList,
|
|
13
13
|
codexMcpConfigPath,
|
|
@@ -17,24 +17,25 @@ import {
|
|
|
17
17
|
upsertCodexMcpServerBlock,
|
|
18
18
|
renderDoctorText,
|
|
19
19
|
AkanContextAnalyzer
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-0pqzrbpr.js";
|
|
21
21
|
import {
|
|
22
22
|
runner
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-b68zfsvz.js";
|
|
24
24
|
import {
|
|
25
25
|
getMobileTargets,
|
|
26
|
+
appIdsOf,
|
|
26
27
|
NativeApp,
|
|
27
28
|
isPlaceholderAppId
|
|
28
|
-
} from "./index-
|
|
29
|
+
} from "./index-tfe3711h.js";
|
|
29
30
|
import {
|
|
30
31
|
Prompter2
|
|
31
32
|
} from "./index-zzvvc845.js";
|
|
32
33
|
import {
|
|
33
34
|
RepairRunner
|
|
34
|
-
} from "./index-
|
|
35
|
+
} from "./index-2z30v4k5.js";
|
|
35
36
|
import {
|
|
36
37
|
WorkflowRunner
|
|
37
|
-
} from "./index-
|
|
38
|
+
} from "./index-h9ed99ax.js";
|
|
38
39
|
|
|
39
40
|
// pkgs/@akanjs/devkit/akanMcpContract.ts
|
|
40
41
|
import path from "path";
|
|
@@ -606,13 +607,14 @@ class ContextRunner2 extends runner("context") {
|
|
|
606
607
|
});
|
|
607
608
|
}
|
|
608
609
|
for (const { name, config: target } of await getMobileTargets(app)) {
|
|
609
|
-
|
|
610
|
+
const placeholder = appIdsOf(target.appId).find(isPlaceholderAppId);
|
|
611
|
+
if (!placeholder)
|
|
610
612
|
continue;
|
|
611
613
|
diagnostics.push({
|
|
612
614
|
severity: "warning",
|
|
613
615
|
code: "mobile-appid-placeholder",
|
|
614
616
|
path: `apps/${appName}/akan.config.ts`,
|
|
615
|
-
message: `Mobile target '${name}' uses placeholder bundle id '${
|
|
617
|
+
message: `Mobile target '${name}' uses placeholder bundle id '${placeholder}'. Apple's developer portal almost always already claims it, so signing to a physical device fails with "cannot be registered to your development team". Set a unique mobile.appId (reverse-DNS of your org).`
|
|
616
618
|
});
|
|
617
619
|
}
|
|
618
620
|
}
|
package/index.js
CHANGED
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
getTargetMetas,
|
|
5
5
|
getTargetCommandNames,
|
|
6
6
|
runCommands
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-b68zfsvz.js";
|
|
8
8
|
import"./index-52w0fvh8.js";
|
|
9
|
-
import"./index-
|
|
9
|
+
import"./index-r8gp8zk3.js";
|
|
10
10
|
|
|
11
11
|
// pkgs/@akanjs/cli/commandManifest.ts
|
|
12
12
|
import path from "path";
|
|
13
13
|
|
|
14
14
|
// pkgs/@akanjs/cli/commandModules.ts
|
|
15
15
|
var commandModules = {
|
|
16
|
-
workspace: async () => (await import("./workspace.command-
|
|
17
|
-
agent: async () => (await import("./agent.command-
|
|
18
|
-
code: async () => (await import("./code.command-
|
|
19
|
-
application: async () => (await import("./application.command-
|
|
20
|
-
library: async () => (await import("./library.command-
|
|
21
|
-
localRegistry: async () => (await import("./localRegistry.command-
|
|
22
|
-
package: async () => (await import("./package.command-
|
|
23
|
-
module: async () => (await import("./module.command-
|
|
24
|
-
page: async () => (await import("./page.command-
|
|
25
|
-
context: async () => (await import("./context.command-
|
|
26
|
-
cloud: async () => (await import("./cloud.command-
|
|
27
|
-
subspace: async () => (await import("./subspace.command-
|
|
28
|
-
guideline: async () => (await import("./guideline.command-
|
|
29
|
-
scalar: async () => (await import("./scalar.command-
|
|
30
|
-
primitive: async () => (await import("./primitive.command-
|
|
31
|
-
quality: async () => (await import("./quality.command-
|
|
32
|
-
repair: async () => (await import("./repair.command-
|
|
33
|
-
workflow: async () => (await import("./workflow.command-
|
|
34
|
-
tunnel: async () => (await import("./tunnel.command-
|
|
16
|
+
workspace: async () => (await import("./workspace.command-wypqk2zb.js")).WorkspaceCommand,
|
|
17
|
+
agent: async () => (await import("./agent.command-q9bmqrag.js")).AgentCommand,
|
|
18
|
+
code: async () => (await import("./code.command-fpx4gzmy.js")).CodeCommand,
|
|
19
|
+
application: async () => (await import("./application.command-xpnkyx4z.js")).ApplicationCommand,
|
|
20
|
+
library: async () => (await import("./library.command-tz7vnwea.js")).LibraryCommand,
|
|
21
|
+
localRegistry: async () => (await import("./localRegistry.command-f39yk7be.js")).LocalRegistryCommand,
|
|
22
|
+
package: async () => (await import("./package.command-z3epnvas.js")).PackageCommand,
|
|
23
|
+
module: async () => (await import("./module.command-qhc9ns0s.js")).ModuleCommand,
|
|
24
|
+
page: async () => (await import("./page.command-exd2vakz.js")).PageCommand,
|
|
25
|
+
context: async () => (await import("./context.command-snn1k5q3.js")).ContextCommand,
|
|
26
|
+
cloud: async () => (await import("./cloud.command-7yd624qd.js")).CloudCommand,
|
|
27
|
+
subspace: async () => (await import("./subspace.command-0e53tvxk.js")).SubspaceCommand,
|
|
28
|
+
guideline: async () => (await import("./guideline.command-ene55fkr.js")).GuidelineCommand,
|
|
29
|
+
scalar: async () => (await import("./scalar.command-60nxfchc.js")).ScalarCommand,
|
|
30
|
+
primitive: async () => (await import("./primitive.command-0w6cha4j.js")).PrimitiveCommand,
|
|
31
|
+
quality: async () => (await import("./quality.command-je4kc9yv.js")).QualityCommand,
|
|
32
|
+
repair: async () => (await import("./repair.command-knvwfgtg.js")).RepairCommand,
|
|
33
|
+
workflow: async () => (await import("./workflow.command-j5tk13ds.js")).WorkflowCommand,
|
|
34
|
+
tunnel: async () => (await import("./tunnel.command-7m2kxtat.js")).TunnelCommand
|
|
35
35
|
};
|
|
36
36
|
var commandModuleIds = Object.keys(commandModules);
|
|
37
37
|
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
Lib,
|
|
4
4
|
Workspace,
|
|
5
5
|
command
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-b68zfsvz.js";
|
|
7
7
|
import"./index-52w0fvh8.js";
|
|
8
|
-
import"./index-
|
|
8
|
+
import"./index-r8gp8zk3.js";
|
|
9
9
|
import {
|
|
10
10
|
LibraryScript
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-qtz88kh0.js";
|
|
12
12
|
|
|
13
13
|
// pkgs/@akanjs/cli/library/library.command.ts
|
|
14
14
|
class LibraryCommand extends command("library", [LibraryScript], ({ public: target }) => ({
|
|
@@ -4,28 +4,28 @@ import {
|
|
|
4
4
|
runner,
|
|
5
5
|
script,
|
|
6
6
|
command
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-b68zfsvz.js";
|
|
8
8
|
import"./index-52w0fvh8.js";
|
|
9
9
|
import {
|
|
10
10
|
PkgExecutor
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-r8gp8zk3.js";
|
|
12
12
|
import"./index-48k96p55.js";
|
|
13
|
-
import"./index-
|
|
13
|
+
import"./index-qtz88kh0.js";
|
|
14
14
|
import {
|
|
15
15
|
ApplicationScript
|
|
16
|
-
} from "./index-
|
|
17
|
-
import"./index-
|
|
16
|
+
} from "./index-0ej0sr6m.js";
|
|
17
|
+
import"./index-tfe3711h.js";
|
|
18
18
|
import"./index-7md2g9vw.js";
|
|
19
19
|
import"./index-94s080qm.js";
|
|
20
20
|
import {
|
|
21
21
|
getNpmRegistryUrl,
|
|
22
22
|
CloudRunner
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-rrt9pnb4.js";
|
|
24
24
|
import"./index-2ahj896a.js";
|
|
25
25
|
import {
|
|
26
26
|
PackageScript
|
|
27
|
-
} from "./index-
|
|
28
|
-
import"./index-
|
|
27
|
+
} from "./index-k7809wmg.js";
|
|
28
|
+
import"./index-nbg9bfnr.js";
|
|
29
29
|
|
|
30
30
|
// pkgs/@akanjs/cli/localRegistry/localRegistry.runner.ts
|
|
31
31
|
import { mkdir, rm } from "fs/promises";
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
Sys,
|
|
4
4
|
Module,
|
|
5
5
|
command
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-b68zfsvz.js";
|
|
7
7
|
import"./index-52w0fvh8.js";
|
|
8
|
-
import"./index-
|
|
8
|
+
import"./index-r8gp8zk3.js";
|
|
9
9
|
import {
|
|
10
10
|
renderPrimitiveReport
|
|
11
|
-
} from "./index-
|
|
12
|
-
import"./index-
|
|
11
|
+
} from "./index-2s2e5qnd.js";
|
|
12
|
+
import"./index-ss828r32.js";
|
|
13
13
|
import {
|
|
14
14
|
ModuleScript
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-genegfnt.js";
|
|
16
16
|
|
|
17
17
|
// pkgs/@akanjs/cli/module/module.command.ts
|
|
18
18
|
import { Logger, lowerlize } from "akanjs/common";
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
Pkg,
|
|
4
4
|
Workspace,
|
|
5
5
|
command
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-b68zfsvz.js";
|
|
7
7
|
import"./index-52w0fvh8.js";
|
|
8
|
-
import"./index-
|
|
8
|
+
import"./index-r8gp8zk3.js";
|
|
9
9
|
import"./index-2ahj896a.js";
|
|
10
10
|
import {
|
|
11
11
|
PackageScript
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-k7809wmg.js";
|
|
13
13
|
|
|
14
14
|
// pkgs/@akanjs/cli/package/package.command.ts
|
|
15
15
|
class PackageCommand extends command("package", [PackageScript], ({ public: target }) => ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akanjs/cli",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.28",
|
|
4
4
|
"sourceType": "module",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@earendil-works/pi-tui": "0.86.1",
|
|
40
40
|
"@inquirer/prompts": "^8.4.3",
|
|
41
41
|
"@tailwindcss/node": "^4.3.0",
|
|
42
|
-
"akanjs": "3.0.0-beta.
|
|
42
|
+
"akanjs": "3.0.0-beta.28",
|
|
43
43
|
"chalk": "^5.6.2",
|
|
44
44
|
"commander": "^14.0.3",
|
|
45
45
|
"dayjs": "^1.11.20",
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
App,
|
|
4
4
|
Module,
|
|
5
5
|
command
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-b68zfsvz.js";
|
|
7
7
|
import"./index-52w0fvh8.js";
|
|
8
|
-
import"./index-
|
|
8
|
+
import"./index-r8gp8zk3.js";
|
|
9
9
|
import {
|
|
10
10
|
PageScript
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-ss828r32.js";
|
|
12
12
|
|
|
13
13
|
// pkgs/@akanjs/cli/page/page.command.ts
|
|
14
14
|
class PageCommand extends command("page", [PageScript], ({ public: target }) => ({
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Workspace,
|
|
4
4
|
command
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-b68zfsvz.js";
|
|
6
6
|
import"./index-52w0fvh8.js";
|
|
7
|
-
import"./index-
|
|
7
|
+
import"./index-r8gp8zk3.js";
|
|
8
8
|
import {
|
|
9
9
|
renderPrimitiveReport
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
10
|
+
} from "./index-2s2e5qnd.js";
|
|
11
|
+
import"./index-ss828r32.js";
|
|
12
|
+
import"./index-genegfnt.js";
|
|
13
13
|
import {
|
|
14
14
|
PrimitiveScript
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-20r2g1t3.js";
|
|
16
16
|
|
|
17
17
|
// pkgs/@akanjs/cli/primitive/primitive.command.ts
|
|
18
18
|
import { Logger } from "akanjs/common";
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
Workspace,
|
|
4
4
|
script,
|
|
5
5
|
command
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-b68zfsvz.js";
|
|
7
7
|
import"./index-52w0fvh8.js";
|
|
8
8
|
import {
|
|
9
9
|
rootAllowedFiles,
|
|
10
10
|
rootAllowedDirs,
|
|
11
11
|
isAllowedLibFacetRootFile,
|
|
12
12
|
rootEntryHintOf
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-r8gp8zk3.js";
|
|
14
14
|
|
|
15
15
|
// pkgs/@akanjs/devkit/qualityScanner.ts
|
|
16
16
|
import { createHash } from "crypto";
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
Workspace,
|
|
4
4
|
script,
|
|
5
5
|
command
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-b68zfsvz.js";
|
|
7
7
|
import"./index-52w0fvh8.js";
|
|
8
|
-
import"./index-
|
|
8
|
+
import"./index-r8gp8zk3.js";
|
|
9
9
|
import"./index-hj6w4ka1.js";
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
10
|
+
import"./index-2s2e5qnd.js";
|
|
11
|
+
import"./index-0pqzrbpr.js";
|
|
12
12
|
import {
|
|
13
13
|
RepairRunner
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-2z30v4k5.js";
|
|
15
15
|
|
|
16
16
|
// pkgs/@akanjs/cli/repair/repair.script.ts
|
|
17
17
|
import { Logger } from "akanjs/common";
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Sys,
|
|
4
4
|
command
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-b68zfsvz.js";
|
|
6
6
|
import"./index-52w0fvh8.js";
|
|
7
|
-
import"./index-
|
|
7
|
+
import"./index-r8gp8zk3.js";
|
|
8
8
|
import {
|
|
9
9
|
renderPrimitiveReport
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-2s2e5qnd.js";
|
|
11
11
|
import {
|
|
12
12
|
ScalarScript
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-2ctqegdm.js";
|
|
14
14
|
|
|
15
15
|
// pkgs/@akanjs/cli/scalar/scalar.command.ts
|
|
16
16
|
import { Logger, lowerlize } from "akanjs/common";
|
|
@@ -11,15 +11,15 @@ import {
|
|
|
11
11
|
runner,
|
|
12
12
|
script,
|
|
13
13
|
command
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-b68zfsvz.js";
|
|
15
15
|
import {
|
|
16
16
|
Executor,
|
|
17
17
|
WorkspaceExecutor,
|
|
18
18
|
AppExecutor
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-r8gp8zk3.js";
|
|
20
20
|
import {
|
|
21
21
|
SlicePlanner
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-nbg9bfnr.js";
|
|
23
23
|
import {
|
|
24
24
|
LibSource
|
|
25
25
|
} from "./index-bjwxs904.js";
|
|
@@ -716,7 +716,7 @@ class SubspaceRunner extends runner("subspace") {
|
|
|
716
716
|
if (!asked)
|
|
717
717
|
return { name: subspace.name, workspaceId, host, apps, libs: [], outcome: "cancelled", files: [] };
|
|
718
718
|
const { libs } = await subspace.slice();
|
|
719
|
-
const { CloudScript } = await import("./cloud.script-
|
|
719
|
+
const { CloudScript } = await import("./cloud.script-25vzkz7b.js");
|
|
720
720
|
const { files } = await CommandContainer.get(CloudScript).uploadEnv(workspace, {
|
|
721
721
|
host,
|
|
722
722
|
workspaceId,
|
package/templates/server.ts
CHANGED
|
@@ -30,7 +30,7 @@ ${scalarModules.map(([model]) => ` { constant: cnst.${model}, database: db.${
|
|
|
30
30
|
|
|
31
31
|
${scanInfo.type === "app" ? `export const server = new AkanServer("${scanInfo.name}", env, undefined${libs.length ? `, ${libs.join(", ")}` : ""}, lib);` : ""}
|
|
32
32
|
|
|
33
|
-
export { env } from "./env/env.server.testing"
|
|
33
|
+
${scanInfo.type === "lib" ? `export { env } from "./env/env.server.testing";` : ""}
|
|
34
34
|
export * as db from "./lib/db";
|
|
35
35
|
export * as srv from "./lib/srv";
|
|
36
36
|
export * as sig from "./lib/sig";
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
runner,
|
|
10
10
|
script,
|
|
11
11
|
command
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-b68zfsvz.js";
|
|
13
13
|
import {
|
|
14
14
|
AppExecutor
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-r8gp8zk3.js";
|
|
16
16
|
import {
|
|
17
17
|
TunnelShare2
|
|
18
18
|
} from "./index-2wc41k5w.js";
|
|
@@ -3,20 +3,20 @@ import {
|
|
|
3
3
|
Workspace,
|
|
4
4
|
script,
|
|
5
5
|
command
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-b68zfsvz.js";
|
|
7
7
|
import"./index-52w0fvh8.js";
|
|
8
|
-
import"./index-
|
|
8
|
+
import"./index-r8gp8zk3.js";
|
|
9
9
|
import"./index-hj6w4ka1.js";
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
10
|
+
import"./index-2s2e5qnd.js";
|
|
11
|
+
import"./index-0pqzrbpr.js";
|
|
12
|
+
import"./index-ss828r32.js";
|
|
13
|
+
import"./index-genegfnt.js";
|
|
14
|
+
import"./index-20r2g1t3.js";
|
|
15
|
+
import"./index-2z30v4k5.js";
|
|
16
|
+
import"./index-2ctqegdm.js";
|
|
17
17
|
import {
|
|
18
18
|
WorkflowRunner
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-h9ed99ax.js";
|
|
20
20
|
|
|
21
21
|
// pkgs/@akanjs/cli/workflow/workflow.script.ts
|
|
22
22
|
import { Logger } from "akanjs/common";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
runner,
|
|
12
12
|
script,
|
|
13
13
|
command
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-b68zfsvz.js";
|
|
15
15
|
import {
|
|
16
16
|
extractAgentBlock,
|
|
17
17
|
collectScopeRecipeSources,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
AppExecutor,
|
|
23
23
|
LibExecutor,
|
|
24
24
|
PkgExecutor
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-r8gp8zk3.js";
|
|
26
26
|
import {
|
|
27
27
|
countBlocking,
|
|
28
28
|
formatStyleContract,
|
|
@@ -32,43 +32,43 @@ import {
|
|
|
32
32
|
collectRecipeSources2,
|
|
33
33
|
scanRecipes2
|
|
34
34
|
} from "./index-hj6w4ka1.js";
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
35
|
+
import"./index-2s2e5qnd.js";
|
|
36
|
+
import"./index-0pqzrbpr.js";
|
|
37
37
|
import"./index-zzvvc845.js";
|
|
38
38
|
import {
|
|
39
39
|
AgentScript
|
|
40
|
-
} from "./index-
|
|
40
|
+
} from "./index-rbeahw6j.js";
|
|
41
41
|
import"./index-48k96p55.js";
|
|
42
42
|
import {
|
|
43
43
|
LibraryScript
|
|
44
|
-
} from "./index-
|
|
44
|
+
} from "./index-qtz88kh0.js";
|
|
45
45
|
import {
|
|
46
46
|
ApplicationScript
|
|
47
|
-
} from "./index-
|
|
48
|
-
import"./index-
|
|
47
|
+
} from "./index-0ej0sr6m.js";
|
|
48
|
+
import"./index-tfe3711h.js";
|
|
49
49
|
import"./index-7md2g9vw.js";
|
|
50
50
|
import"./index-2ahj896a.js";
|
|
51
51
|
import {
|
|
52
52
|
PackageScript
|
|
53
|
-
} from "./index-
|
|
53
|
+
} from "./index-k7809wmg.js";
|
|
54
54
|
import {
|
|
55
55
|
getNpmRegistryUrl,
|
|
56
56
|
getLatestPackageVersion
|
|
57
|
-
} from "./index-
|
|
57
|
+
} from "./index-rrt9pnb4.js";
|
|
58
58
|
import {
|
|
59
59
|
CloudScript2
|
|
60
|
-
} from "./index-
|
|
61
|
-
import"./index-
|
|
62
|
-
import"./index-
|
|
63
|
-
import"./index-
|
|
64
|
-
import"./index-
|
|
65
|
-
import"./index-
|
|
66
|
-
import"./index-
|
|
67
|
-
import"./index-
|
|
60
|
+
} from "./index-9j0kykc6.js";
|
|
61
|
+
import"./index-vt64c067.js";
|
|
62
|
+
import"./index-2z30v4k5.js";
|
|
63
|
+
import"./index-ss828r32.js";
|
|
64
|
+
import"./index-genegfnt.js";
|
|
65
|
+
import"./index-20r2g1t3.js";
|
|
66
|
+
import"./index-2ctqegdm.js";
|
|
67
|
+
import"./index-h9ed99ax.js";
|
|
68
68
|
import {
|
|
69
69
|
ContextScript
|
|
70
|
-
} from "./index-
|
|
71
|
-
import"./index-
|
|
70
|
+
} from "./index-n9704w6y.js";
|
|
71
|
+
import"./index-nbg9bfnr.js";
|
|
72
72
|
|
|
73
73
|
// pkgs/@akanjs/cli/workspace/workspace.runner.ts
|
|
74
74
|
import path from "path";
|
package/cloud.script-wrw1kz6k.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
CloudScript2
|
|
4
|
-
} from "./index-tg09x14f.js";
|
|
5
|
-
import"./index-56xwsgyn.js";
|
|
6
|
-
import"./index-per2kqy9.js";
|
|
7
|
-
import"./index-118vq9dh.js";
|
|
8
|
-
import"./index-860zjnr1.js";
|
|
9
|
-
import"./index-5mm3g24t.js";
|
|
10
|
-
import"./index-y736f42m.js";
|
|
11
|
-
import"./index-94s080qm.js";
|
|
12
|
-
import"./index-58cyna2s.js";
|
|
13
|
-
import"./index-7md2g9vw.js";
|
|
14
|
-
import"./index-48k96p55.js";
|
|
15
|
-
import"./index-0n9q1f23.js";
|
|
16
|
-
import"./index-2ahj896a.js";
|
|
17
|
-
import"./index-52w0fvh8.js";
|
|
18
|
-
export {
|
|
19
|
-
CloudScript2 as CloudScript
|
|
20
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
ContextRunner2
|
|
4
|
-
} from "./index-w5pet0nq.js";
|
|
5
|
-
import"./index-da72pfdv.js";
|
|
6
|
-
import"./index-xfgdmm5d.js";
|
|
7
|
-
import"./index-6dt6zft6.js";
|
|
8
|
-
import"./index-t02g6dpn.js";
|
|
9
|
-
import"./index-zazvn45w.js";
|
|
10
|
-
import"./index-v4hnkqz9.js";
|
|
11
|
-
import"./index-y736f42m.js";
|
|
12
|
-
import"./index-hzy4pe24.js";
|
|
13
|
-
import"./index-d65fzxvd.js";
|
|
14
|
-
import"./index-zzvvc845.js";
|
|
15
|
-
import"./index-58cyna2s.js";
|
|
16
|
-
import"./index-0n9q1f23.js";
|
|
17
|
-
import"./index-hj6w4ka1.js";
|
|
18
|
-
import"./index-52w0fvh8.js";
|
|
19
|
-
export {
|
|
20
|
-
ContextRunner2 as ContextRunner
|
|
21
|
-
};
|