@akanjs/cli 3.1.0-rc.3 → 3.1.0-rc.5
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-ctk4fh2b.js → CodeAgent-rkjyxgec.js} +2 -2
- package/{CodeTui-mrxtrdzw.js → CodeTui-h7pyj6xa.js} +1 -1
- package/TunnelShare-661cxz5e.js +14 -0
- package/{agent.command-ncre6kwz.js → agent.command-3qxf4xcj.js} +5 -5
- package/akanCode.js +2 -2
- package/{application.command-54mawreg.js → application.command-m1kcd7jf.js} +12 -11
- package/{applicationBuildRunner-8573zr2w.js → applicationBuildRunner-dj0xkrep.js} +16 -9
- package/buildBatch.proc.js +7 -7
- package/{cloud.command-nyemv0m3.js → cloud.command-3jzym8q7.js} +17 -16
- package/cloud.script-r4nskbc6.js +24 -0
- package/{code.command-spsrzg63.js → code.command-0ad6gw2a.js} +6 -6
- package/{context.command-768zv7z4.js → context.command-0qx447mb.js} +17 -16
- package/context.runner-1vsjztjg.js +25 -0
- package/{dependencyScanner-06z2dmrr.js → dependencyScanner-3afj2vt1.js} +1 -1
- package/{guideline.command-4ycwc51q.js → guideline.command-cv5bmrx2.js} +2 -2
- package/guidelines/conventions/conventions.instruction.md +450 -1084
- package/guidelines/cssRule/cssRule.instruction.md +16 -1
- package/guidelines/fieldRule/fieldRule.instruction.md +57 -0
- package/guidelines/framework/framework.instruction.md +4 -7
- package/guidelines/mcpRule/mcpRule.instruction.md +11 -8
- package/guidelines/modelConstant/modelConstant.instruction.md +2 -1
- package/guidelines/modelStore/modelStore.instruction.md +9 -0
- package/guidelines/pageRule/pageRule.instruction.md +80 -0
- package/guidelines/queryRule/queryRule.instruction.md +35 -8
- package/guidelines/runtimeRule/runtimeRule.instruction.md +89 -2
- package/guidelines/ssrRule/ssrRule.instruction.md +13 -0
- package/guidelines/transportRule/transportRule.instruction.md +76 -8
- package/guidelines/workspaceOnboarding/workspaceOnboarding.instruction.md +4 -4
- package/guidelines/workspaceRecipes/workspaceRecipes.instruction.md +49 -4
- package/incrementalBuilder.proc.js +4 -4
- package/{index-ec080x99.js → index-192ha4xh.js} +356 -307
- package/{index-c4h5b5nq.js → index-1p98exm2.js} +2 -2
- package/{index-xf40a295.js → index-1xj2t7cb.js} +7 -7
- package/{index-3675mvjw.js → index-20bxxyvn.js} +80 -80
- package/{index-c9zjb3tw.js → index-35hc95h5.js} +1 -1
- package/{index-w9b71b6y.js → index-4mhy6qme.js} +4 -4
- package/{index-vhfjzda3.js → index-5edzv8fn.js} +5 -5
- package/{index-k9rrten6.js → index-5nd1wtkv.js} +92 -94
- package/index-62md4dwy.js +260 -0
- package/{index-2z3kykvd.js → index-665zp9rs.js} +38 -15
- package/{index-qvghfv6v.js → index-6xn2n442.js} +4 -4
- package/{index-00seamy5.js → index-86jt2a0e.js} +1 -1
- package/{index-xm5tmpv0.js → index-8fp3b47h.js} +419 -418
- package/{index-91rt5bye.js → index-9z426msb.js} +17 -12
- package/{index-fjqvd5mx.js → index-awbdfcf2.js} +4 -4
- package/{index-3hx1z96c.js → index-bqbf654f.js} +1 -1
- package/{index-wjqbc7sf.js → index-cpb3nvma.js} +57 -58
- package/{index-1a7nhq56.js → index-d47ypebv.js} +17 -15
- package/{index-r5d6rq19.js → index-d72hfmdm.js} +13 -13
- package/{index-1nyxvz8j.js → index-fmzcs8v6.js} +4 -4
- package/{index-wanhh011.js → index-fyq1z6kt.js} +29 -27
- package/{index-qf8g88j9.js → index-g1mbppa9.js} +238 -236
- package/{index-jj7yapwq.js → index-h47cf1gg.js} +7 -7
- package/{index-q5abh0jq.js → index-j4mkhz93.js} +3 -3
- package/{index-3x7yeecy.js → index-jw1zm273.js} +28 -30
- package/{index-q958tqqg.js → index-m9jj544v.js} +1 -1
- package/{index-8935h3n1.js → index-mdjc93e1.js} +1 -1
- package/{index-dmsvd2rv.js → index-pydbnfez.js} +2 -2
- package/{index-3ddt3qjg.js → index-qwa5k1j8.js} +1 -1
- package/{index-8eqkxwsx.js → index-tamvyvj3.js} +3 -3
- package/{index-wdze51wz.js → index-trpasv9q.js} +260 -259
- package/{index-2ahj896a.js → index-tvehn2sp.js} +1 -1
- package/{index-bv210r6t.js → index-va06nr10.js} +1086 -1074
- package/{index-kmamh5bv.js → index-vk0pa0mn.js} +20 -21
- package/{index-fvn6f5wx.js → index-w44cy4vs.js} +2216 -2216
- package/index.js +22 -22
- package/{library.command-88ahgych.js → library.command-erp2f56n.js} +3 -3
- package/{localRegistry.command-ykea1m7b.js → localRegistry.command-xxpqgxjw.js} +15 -14
- package/{module.command-zky4b7m9.js → module.command-gs2r615e.js} +5 -5
- package/{package.command-vh8pcedh.js → package.command-7343f74r.js} +4 -4
- package/package.json +2 -2
- package/{page.command-fyqeqxc3.js → page.command-4h4a8pnh.js} +3 -3
- package/{pipeline.command-r5t30py6.js → pipeline.command-a2nrk26m.js} +3 -3
- package/{primitive.command-a0516zfk.js → primitive.command-w6t0asqz.js} +6 -6
- package/{projectTypecheck-7djd4z50.js → projectTypecheck-f534enqj.js} +1 -1
- package/{quality.command-k7jcnfn0.js → quality.command-77x7vbbx.js} +4 -4
- package/{repair.command-85zg2an3.js → repair.command-y6sstev7.js} +5 -5
- package/{scalar.command-g5vmqwca.js → scalar.command-20b8cy0k.js} +4 -4
- package/{subspace.command-mp4evgsj.js → subspace.command-92xkc0s0.js} +11 -10
- package/templates/lib/cnst.ts +0 -1
- package/templates/workspaceRoot/.gitignore.template +24 -53
- package/{tunnel.command-kbnr99sj.js → tunnel.command-2kw8vt9g.js} +8 -7
- package/{workflow.command-9y9p1n8y.js → workflow.command-2djwmpqf.js} +10 -10
- package/{workspace.command-jmec2kjg.js → workspace.command-5se6spqb.js} +28 -27
- package/TunnelShare-rj74jd6x.js +0 -13
- package/cloud.script-ht6yb203.js +0 -23
- package/context.runner-tf1b53qq.js +0 -24
- package/index-n68jx79w.js +0 -120
package/index.js
CHANGED
|
@@ -4,35 +4,35 @@ import {
|
|
|
4
4
|
getTargetMetas,
|
|
5
5
|
getTargetCommandNames,
|
|
6
6
|
runCommands
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-jw1zm273.js";
|
|
8
8
|
import"./index-52w0fvh8.js";
|
|
9
|
-
import"./index-
|
|
9
|
+
import"./index-va06nr10.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
|
-
pipeline: async () => (await import("./pipeline.command-
|
|
35
|
-
tunnel: async () => (await import("./tunnel.command-
|
|
16
|
+
workspace: async () => (await import("./workspace.command-5se6spqb.js")).WorkspaceCommand,
|
|
17
|
+
agent: async () => (await import("./agent.command-3qxf4xcj.js")).AgentCommand,
|
|
18
|
+
code: async () => (await import("./code.command-0ad6gw2a.js")).CodeCommand,
|
|
19
|
+
application: async () => (await import("./application.command-m1kcd7jf.js")).ApplicationCommand,
|
|
20
|
+
library: async () => (await import("./library.command-erp2f56n.js")).LibraryCommand,
|
|
21
|
+
localRegistry: async () => (await import("./localRegistry.command-xxpqgxjw.js")).LocalRegistryCommand,
|
|
22
|
+
package: async () => (await import("./package.command-7343f74r.js")).PackageCommand,
|
|
23
|
+
module: async () => (await import("./module.command-gs2r615e.js")).ModuleCommand,
|
|
24
|
+
page: async () => (await import("./page.command-4h4a8pnh.js")).PageCommand,
|
|
25
|
+
context: async () => (await import("./context.command-0qx447mb.js")).ContextCommand,
|
|
26
|
+
cloud: async () => (await import("./cloud.command-3jzym8q7.js")).CloudCommand,
|
|
27
|
+
subspace: async () => (await import("./subspace.command-92xkc0s0.js")).SubspaceCommand,
|
|
28
|
+
guideline: async () => (await import("./guideline.command-cv5bmrx2.js")).GuidelineCommand,
|
|
29
|
+
scalar: async () => (await import("./scalar.command-20b8cy0k.js")).ScalarCommand,
|
|
30
|
+
primitive: async () => (await import("./primitive.command-w6t0asqz.js")).PrimitiveCommand,
|
|
31
|
+
quality: async () => (await import("./quality.command-77x7vbbx.js")).QualityCommand,
|
|
32
|
+
repair: async () => (await import("./repair.command-y6sstev7.js")).RepairCommand,
|
|
33
|
+
workflow: async () => (await import("./workflow.command-2djwmpqf.js")).WorkflowCommand,
|
|
34
|
+
pipeline: async () => (await import("./pipeline.command-a2nrk26m.js")).PipelineCommand,
|
|
35
|
+
tunnel: async () => (await import("./tunnel.command-2kw8vt9g.js")).TunnelCommand
|
|
36
36
|
};
|
|
37
37
|
var commandModuleIds = Object.keys(commandModules);
|
|
38
38
|
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
Lib,
|
|
4
4
|
Workspace,
|
|
5
5
|
command
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-jw1zm273.js";
|
|
7
7
|
import"./index-52w0fvh8.js";
|
|
8
|
-
import"./index-
|
|
8
|
+
import"./index-va06nr10.js";
|
|
9
9
|
import {
|
|
10
10
|
LibraryScript
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-pydbnfez.js";
|
|
12
12
|
|
|
13
13
|
// pkgs/@akanjs/cli/library/library.command.ts
|
|
14
14
|
class LibraryCommand extends command("library", [LibraryScript], ({ public: target }) => ({
|
|
@@ -4,31 +4,32 @@ import {
|
|
|
4
4
|
runner,
|
|
5
5
|
script,
|
|
6
6
|
command
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-jw1zm273.js";
|
|
8
8
|
import"./index-52w0fvh8.js";
|
|
9
9
|
import {
|
|
10
10
|
PkgExecutor
|
|
11
|
-
} from "./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
11
|
+
} from "./index-va06nr10.js";
|
|
12
|
+
import"./index-5nd1wtkv.js";
|
|
13
|
+
import"./index-vk0pa0mn.js";
|
|
14
|
+
import"./index-m9jj544v.js";
|
|
15
|
+
import"./index-g1mbppa9.js";
|
|
16
|
+
import"./index-192ha4xh.js";
|
|
17
|
+
import"./index-pydbnfez.js";
|
|
17
18
|
import {
|
|
18
19
|
ApplicationScript
|
|
19
|
-
} from "./index-
|
|
20
|
+
} from "./index-d47ypebv.js";
|
|
20
21
|
import"./index-7md2g9vw.js";
|
|
21
|
-
import"./index-
|
|
22
|
+
import"./index-cpb3nvma.js";
|
|
22
23
|
import {
|
|
23
24
|
getNpmRegistryUrl,
|
|
24
25
|
CloudRunner
|
|
25
|
-
} from "./index-
|
|
26
|
-
import"./index-
|
|
26
|
+
} from "./index-fyq1z6kt.js";
|
|
27
|
+
import"./index-tvehn2sp.js";
|
|
27
28
|
import {
|
|
28
29
|
PackageScript
|
|
29
|
-
} from "./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
30
|
+
} from "./index-6xn2n442.js";
|
|
31
|
+
import"./index-35hc95h5.js";
|
|
32
|
+
import"./index-665zp9rs.js";
|
|
32
33
|
|
|
33
34
|
// pkgs/@akanjs/cli/localRegistry/localRegistry.runner.ts
|
|
34
35
|
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-jw1zm273.js";
|
|
7
7
|
import"./index-52w0fvh8.js";
|
|
8
|
-
import"./index-
|
|
8
|
+
import"./index-va06nr10.js";
|
|
9
9
|
import {
|
|
10
10
|
renderPrimitiveReport
|
|
11
|
-
} from "./index-
|
|
12
|
-
import"./index-
|
|
11
|
+
} from "./index-trpasv9q.js";
|
|
12
|
+
import"./index-86jt2a0e.js";
|
|
13
13
|
import {
|
|
14
14
|
ModuleScript
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-fmzcs8v6.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-jw1zm273.js";
|
|
7
7
|
import"./index-52w0fvh8.js";
|
|
8
|
-
import"./index-
|
|
9
|
-
import"./index-
|
|
8
|
+
import"./index-va06nr10.js";
|
|
9
|
+
import"./index-tvehn2sp.js";
|
|
10
10
|
import {
|
|
11
11
|
PackageScript
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-6xn2n442.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.1.0-rc.
|
|
3
|
+
"version": "3.1.0-rc.5",
|
|
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.1.0-rc.
|
|
42
|
+
"akanjs": "3.1.0-rc.5",
|
|
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-jw1zm273.js";
|
|
7
7
|
import"./index-52w0fvh8.js";
|
|
8
|
-
import"./index-
|
|
8
|
+
import"./index-va06nr10.js";
|
|
9
9
|
import {
|
|
10
10
|
PageScript
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-86jt2a0e.js";
|
|
12
12
|
|
|
13
13
|
// pkgs/@akanjs/cli/page/page.command.ts
|
|
14
14
|
class PageCommand extends command("page", [PageScript], ({ public: target }) => ({
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
runner,
|
|
5
5
|
script,
|
|
6
6
|
command
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-jw1zm273.js";
|
|
8
8
|
import {
|
|
9
9
|
FileSys2
|
|
10
10
|
} from "./index-52w0fvh8.js";
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
AkanAppConfig,
|
|
13
13
|
AkanWorkspaceConfig,
|
|
14
14
|
AppExecutor
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-va06nr10.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveMobileTargets
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-m9jj544v.js";
|
|
19
19
|
|
|
20
20
|
// pkgs/@akanjs/cli/pipeline/pipeline.command.ts
|
|
21
21
|
import { pipelineTriggers as pipelineTriggers2 } from "akanjs/common";
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Workspace,
|
|
4
4
|
command
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-jw1zm273.js";
|
|
6
6
|
import"./index-52w0fvh8.js";
|
|
7
|
-
import"./index-
|
|
7
|
+
import"./index-va06nr10.js";
|
|
8
8
|
import {
|
|
9
9
|
renderPrimitiveReport
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
10
|
+
} from "./index-trpasv9q.js";
|
|
11
|
+
import"./index-86jt2a0e.js";
|
|
12
|
+
import"./index-fmzcs8v6.js";
|
|
13
13
|
import {
|
|
14
14
|
PrimitiveScript
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-awbdfcf2.js";
|
|
16
16
|
|
|
17
17
|
// pkgs/@akanjs/cli/primitive/primitive.command.ts
|
|
18
18
|
import { Logger } from "akanjs/common";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
Workspace,
|
|
4
4
|
script,
|
|
5
5
|
command
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-jw1zm273.js";
|
|
7
7
|
import"./index-52w0fvh8.js";
|
|
8
8
|
import {
|
|
9
9
|
rootAllowedFiles,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
libFacetRootHintOf,
|
|
13
13
|
facetIndexShadowOf,
|
|
14
14
|
rootEntryHintOf
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-va06nr10.js";
|
|
16
16
|
|
|
17
17
|
// pkgs/@akanjs/devkit/qualityScanner.ts
|
|
18
18
|
import { createHash } from "crypto";
|
|
@@ -49,7 +49,7 @@ class AbstractDoc {
|
|
|
49
49
|
return folder.startsWith("_") ? "service" : "domain";
|
|
50
50
|
}
|
|
51
51
|
static async findAll(sys, { module } = {}) {
|
|
52
|
-
const filePaths = (await sys.getAllFiles(`${AbstractDoc.#facetRoots}/**/*${AbstractDoc.suffix}`)).map((filePath) => filePath.split(path.sep).join("/")).sort();
|
|
52
|
+
const filePaths = (await sys.getAllFiles(`${AbstractDoc.#facetRoots}/**/*${AbstractDoc.suffix}`)).map((filePath) => filePath.split(path.sep).join("/")).sort((a, b) => a < b ? -1 : a > b ? 1 : 0);
|
|
53
53
|
const docs = await Promise.all(filePaths.map((filePath) => AbstractDoc.read(sys, filePath)));
|
|
54
54
|
if (!module)
|
|
55
55
|
return docs;
|
|
@@ -555,7 +555,7 @@ class AkanQualityScanner {
|
|
|
555
555
|
continue;
|
|
556
556
|
await this.#walkTargetFiles(workspaceRoot, absoluteTargetRoot, ignoreFilter, files);
|
|
557
557
|
}
|
|
558
|
-
return files.sort();
|
|
558
|
+
return files.sort((a, b) => a < b ? -1 : a > b ? 1 : 0);
|
|
559
559
|
}
|
|
560
560
|
async#readGitIgnore(workspaceRoot) {
|
|
561
561
|
const gitIgnorePath = path2.join(workspaceRoot, ".gitignore");
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
Workspace,
|
|
4
4
|
script,
|
|
5
5
|
command
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-jw1zm273.js";
|
|
7
7
|
import"./index-52w0fvh8.js";
|
|
8
|
-
import"./index-
|
|
8
|
+
import"./index-va06nr10.js";
|
|
9
9
|
import"./index-hj6w4ka1.js";
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
10
|
+
import"./index-trpasv9q.js";
|
|
11
|
+
import"./index-5edzv8fn.js";
|
|
12
12
|
import {
|
|
13
13
|
RepairRunner
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-j4mkhz93.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-jw1zm273.js";
|
|
6
6
|
import"./index-52w0fvh8.js";
|
|
7
|
-
import"./index-
|
|
7
|
+
import"./index-va06nr10.js";
|
|
8
8
|
import {
|
|
9
9
|
renderPrimitiveReport
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-trpasv9q.js";
|
|
11
11
|
import {
|
|
12
12
|
ScalarScript
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-1p98exm2.js";
|
|
14
14
|
|
|
15
15
|
// pkgs/@akanjs/cli/scalar/scalar.command.ts
|
|
16
16
|
import { Logger, lowerlize } from "akanjs/common";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
runner,
|
|
6
6
|
script,
|
|
7
7
|
command
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-jw1zm273.js";
|
|
9
9
|
import {
|
|
10
10
|
FileSys2
|
|
11
11
|
} from "./index-52w0fvh8.js";
|
|
@@ -14,19 +14,20 @@ import {
|
|
|
14
14
|
Executor,
|
|
15
15
|
WorkspaceExecutor,
|
|
16
16
|
AppExecutor
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-va06nr10.js";
|
|
18
18
|
import {
|
|
19
19
|
GlobalConfig
|
|
20
|
-
} from "./index-
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
20
|
+
} from "./index-cpb3nvma.js";
|
|
21
|
+
import"./index-m9jj544v.js";
|
|
22
|
+
import"./index-g1mbppa9.js";
|
|
23
|
+
import"./index-192ha4xh.js";
|
|
23
24
|
import {
|
|
24
25
|
SubspaceConfig
|
|
25
26
|
} from "./index-4pf8g7ff.js";
|
|
26
27
|
import {
|
|
27
28
|
SlicePlanner
|
|
28
|
-
} from "./index-
|
|
29
|
-
import"./index-
|
|
29
|
+
} from "./index-35hc95h5.js";
|
|
30
|
+
import"./index-665zp9rs.js";
|
|
30
31
|
|
|
31
32
|
// pkgs/@akanjs/devkit/subspace.ts
|
|
32
33
|
import { mkdir as mkdir2 } from "fs/promises";
|
|
@@ -219,11 +220,11 @@ class SubspaceClone {
|
|
|
219
220
|
}
|
|
220
221
|
}
|
|
221
222
|
#localEnv() {
|
|
222
|
-
const { serveDomain } = WorkspaceExecutor.getBaseDevEnv();
|
|
223
|
+
const { serveDomain, defaulted = [] } = WorkspaceExecutor.getBaseDevEnv();
|
|
223
224
|
return {
|
|
224
225
|
AKAN_WORKSPACE_ID: "local",
|
|
225
226
|
AKAN_PUBLIC_REPO_NAME: this.#declaration.name,
|
|
226
|
-
AKAN_PUBLIC_SERVE_DOMAIN: serveDomain,
|
|
227
|
+
...defaulted.includes("AKAN_PUBLIC_SERVE_DOMAIN") ? {} : { AKAN_PUBLIC_SERVE_DOMAIN: serveDomain },
|
|
227
228
|
AKAN_PUBLIC_ENV: "local",
|
|
228
229
|
AKAN_PUBLIC_OPERATION_MODE: "local",
|
|
229
230
|
AKAN_PUBLIC_LOG_LEVEL: "warn"
|
|
@@ -824,7 +825,7 @@ class SubspaceRunner extends runner("subspace") {
|
|
|
824
825
|
if (!asked)
|
|
825
826
|
return { name: subspace.name, workspaceId, host, apps, libs: [], outcome: "cancelled", files: [] };
|
|
826
827
|
const { libs } = await subspace.slice();
|
|
827
|
-
const { CloudScript } = await import("./cloud.script-
|
|
828
|
+
const { CloudScript } = await import("./cloud.script-r4nskbc6.js");
|
|
828
829
|
const { files } = await CommandContainer.get(CloudScript).uploadEnv(workspace, {
|
|
829
830
|
host,
|
|
830
831
|
workspaceId,
|
package/templates/lib/cnst.ts
CHANGED
|
@@ -7,7 +7,6 @@ export default function getContent(scanInfo: AppInfo | LibInfo | null, dict: { [
|
|
|
7
7
|
const databaseModules = scanInfo.getDatabaseModules();
|
|
8
8
|
const scalarModules = scanInfo.getScalarModules();
|
|
9
9
|
const libs = scanInfo.getLibs();
|
|
10
|
-
const libInfos = scanInfo.getLibInfos();
|
|
11
10
|
return `
|
|
12
11
|
import { ConstantRegistry } from "akanjs/constant";
|
|
13
12
|
${scalarModules.map((module) => `import * as ${module}Cnst from "./__scalar/${module}/${module}.constant";`).join("\n")}
|
|
@@ -1,27 +1,18 @@
|
|
|
1
1
|
**/dist
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
**/node_modules
|
|
3
|
+
**/.akan
|
|
4
4
|
.vscode/*
|
|
5
5
|
.DS_Store
|
|
6
6
|
Thumbs.db
|
|
7
7
|
*.env
|
|
8
|
-
**/node_modules
|
|
9
8
|
/data
|
|
10
9
|
apps/*/data
|
|
11
10
|
/releases
|
|
12
11
|
apps/*/scripts
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
**/env.
|
|
16
|
-
|
|
17
|
-
**/env.client.main.ts
|
|
18
|
-
**/env.client.testing.ts
|
|
19
|
-
**/env.server.local.ts
|
|
20
|
-
**/env.server.debug.ts
|
|
21
|
-
**/env.server.develop.ts
|
|
22
|
-
**/env.server.main.ts
|
|
23
|
-
**/env.server.testing.ts
|
|
24
|
-
**/env.server.type.ts
|
|
12
|
+
**/env.client.*.ts
|
|
13
|
+
!**/env.client.type.ts
|
|
14
|
+
**/env.server.*.ts
|
|
15
|
+
!**/env.server.example.ts
|
|
25
16
|
**/*secrets.yaml
|
|
26
17
|
**/kubeconfig.yaml
|
|
27
18
|
**/secrets.*
|
|
@@ -46,7 +37,6 @@ DerivedData
|
|
|
46
37
|
*.ipa
|
|
47
38
|
*.xcuserstate
|
|
48
39
|
|
|
49
|
-
build/
|
|
50
40
|
.gradle
|
|
51
41
|
local.properties
|
|
52
42
|
*.iml
|
|
@@ -56,19 +46,18 @@ local.properties
|
|
|
56
46
|
!debug.keystore
|
|
57
47
|
|
|
58
48
|
**/public/precache.*.*.js
|
|
59
|
-
**/public/sw.js
|
|
60
|
-
**/public/workbox-*.js
|
|
61
|
-
**/public/worker-*.js
|
|
62
|
-
**/public/fallback-*.js
|
|
63
49
|
**/public/precache.*.*.js.map
|
|
64
|
-
**/public
|
|
50
|
+
**/public/*sw.js
|
|
51
|
+
**/public/*sw.js.map
|
|
52
|
+
**/public/workbox-*.js
|
|
65
53
|
**/public/workbox-*.js.map
|
|
54
|
+
**/public/worker-*.js
|
|
66
55
|
**/public/worker-*.js.map
|
|
67
56
|
**/public/fallback-*.js
|
|
57
|
+
**/public/fallback-*.js.map
|
|
68
58
|
**/public/libs
|
|
69
59
|
**/private/libs
|
|
70
60
|
**/page/**/(libs)
|
|
71
|
-
**/public/firebase-messaging-sw.js
|
|
72
61
|
|
|
73
62
|
**/android/keystore.properties
|
|
74
63
|
**/vendor/bundle/
|
|
@@ -78,24 +67,18 @@ local.properties
|
|
|
78
67
|
**/*-secret.yaml
|
|
79
68
|
|
|
80
69
|
# Akanjs files
|
|
81
|
-
**/akan
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
apps/*/lib/sig.ts
|
|
94
|
-
apps/*/lib/useClient.ts
|
|
95
|
-
apps/*/lib/useServer.ts
|
|
96
|
-
apps/*/lib/*/index.tsx
|
|
97
|
-
apps/*/lib/*/index.ts
|
|
98
|
-
apps/*/lib/__scalar/*/index.ts
|
|
70
|
+
**/akan.*.json
|
|
71
|
+
*/*/lib/__lib/**
|
|
72
|
+
*/*/lib/cnst.ts
|
|
73
|
+
*/*/lib/dict.ts
|
|
74
|
+
*/*/lib/db.ts
|
|
75
|
+
*/*/lib/srv.ts
|
|
76
|
+
*/*/lib/st.ts
|
|
77
|
+
*/*/lib/sig.ts
|
|
78
|
+
*/*/lib/useClient.ts
|
|
79
|
+
*/*/lib/useServer.ts
|
|
80
|
+
*/*/lib/*/index.ts*
|
|
81
|
+
*/*/lib/__scalar/*/index.ts
|
|
99
82
|
apps/*/ui/index.ts
|
|
100
83
|
apps/*/webkit/index.ts
|
|
101
84
|
apps/*/srvkit/index.ts
|
|
@@ -103,17 +86,6 @@ apps/*/common/index.ts
|
|
|
103
86
|
apps/*/plugin/index.ts
|
|
104
87
|
apps/*/client.ts
|
|
105
88
|
apps/*/server.ts
|
|
106
|
-
libs/*/lib/cnst.ts
|
|
107
|
-
libs/*/lib/dict.ts
|
|
108
|
-
libs/*/lib/db.ts
|
|
109
|
-
libs/*/lib/srv.ts
|
|
110
|
-
libs/*/lib/st.ts
|
|
111
|
-
libs/*/lib/sig.ts
|
|
112
|
-
libs/*/lib/useClient.ts
|
|
113
|
-
libs/*/lib/useServer.ts
|
|
114
|
-
libs/*/lib/*/index.tsx
|
|
115
|
-
libs/*/lib/*/index.ts
|
|
116
|
-
libs/*/lib/__scalar/*/index.ts
|
|
117
89
|
libs/*/ui/index.ts
|
|
118
90
|
libs/*/webkit/index.ts
|
|
119
91
|
libs/*/srvkit/index.ts
|
|
@@ -122,5 +94,4 @@ libs/*/plugin/index.ts
|
|
|
122
94
|
libs/*/client.ts
|
|
123
95
|
libs/*/server.ts
|
|
124
96
|
libs/*/index.ts
|
|
125
|
-
|
|
126
|
-
**/tsconfig.tsbuildinfo
|
|
97
|
+
**/tsconfig.tsbuildinfo
|
|
@@ -4,24 +4,25 @@ import {
|
|
|
4
4
|
runner,
|
|
5
5
|
script,
|
|
6
6
|
command
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-jw1zm273.js";
|
|
8
8
|
import"./index-52w0fvh8.js";
|
|
9
9
|
import {
|
|
10
10
|
AppExecutor
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-va06nr10.js";
|
|
12
12
|
import {
|
|
13
13
|
GlobalConfig,
|
|
14
14
|
CloudApi
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
15
|
+
} from "./index-cpb3nvma.js";
|
|
16
|
+
import"./index-m9jj544v.js";
|
|
17
|
+
import"./index-g1mbppa9.js";
|
|
18
|
+
import"./index-192ha4xh.js";
|
|
18
19
|
import {
|
|
19
20
|
TunnelShare2
|
|
20
|
-
} from "./index-
|
|
21
|
+
} from "./index-qwa5k1j8.js";
|
|
21
22
|
import {
|
|
22
23
|
writeClipboard
|
|
23
24
|
} from "./index-p6pbz9n5.js";
|
|
24
|
-
import"./index-
|
|
25
|
+
import"./index-665zp9rs.js";
|
|
25
26
|
|
|
26
27
|
// pkgs/@akanjs/cli/tunnel/tunnel.script.ts
|
|
27
28
|
import { select } from "@inquirer/prompts";
|
|
@@ -3,20 +3,20 @@ import {
|
|
|
3
3
|
Workspace,
|
|
4
4
|
script,
|
|
5
5
|
command
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-jw1zm273.js";
|
|
7
7
|
import"./index-52w0fvh8.js";
|
|
8
|
-
import"./index-
|
|
8
|
+
import"./index-va06nr10.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-trpasv9q.js";
|
|
11
|
+
import"./index-5edzv8fn.js";
|
|
12
|
+
import"./index-86jt2a0e.js";
|
|
13
|
+
import"./index-fmzcs8v6.js";
|
|
14
|
+
import"./index-awbdfcf2.js";
|
|
15
|
+
import"./index-j4mkhz93.js";
|
|
16
|
+
import"./index-1p98exm2.js";
|
|
17
17
|
import {
|
|
18
18
|
WorkflowRunner
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-1xj2t7cb.js";
|
|
20
20
|
|
|
21
21
|
// pkgs/@akanjs/cli/workflow/workflow.script.ts
|
|
22
22
|
import { Logger } from "akanjs/common";
|