@akanjs/cli 2.4.2-rc.3 → 2.4.2
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/{abstractCompactor-ghh1q9an.js → abstractCompactor-bjd2h5pq.js} +1 -1
- package/{agent.command-de4r6vk8.js → agent.command-dwxr73jr.js} +8 -7
- package/{application.command-nfsfm96y.js → application.command-8k6xs7q0.js} +6 -5
- package/{applicationBuildRunner-554a2vnk.js → applicationBuildRunner-hn86q106.js} +5 -4
- package/{applicationReleasePackager-pjbxc793.js → applicationReleasePackager-b1zh40kd.js} +1 -1
- package/buildBatch.proc.js +4 -3
- package/{capacitorApp-yg9b4ajz.js → capacitorApp-sqr41tck.js} +27 -26
- package/{cloud.command-1qf95x67.js → cloud.command-5wh9krwx.js} +9 -8
- package/{context.command-hhjyjtp7.js → context.command-rydtf2vy.js} +15 -14
- package/{dependencyScanner-f6grrep3.js → dependencyScanner-rbs2407b.js} +1 -1
- package/{guideline.command-vj956kfr.js → guideline.command-dtkrftpc.js} +5 -4
- package/incrementalBuilder.proc.js +3 -2
- package/{index-pfnh87f9.js → index-0476y8pz.js} +1 -1
- package/{index-zn9rh7sh.js → index-2f6mjanp.js} +3 -3
- package/{index-xftstr5s.js → index-3f3bjcwc.js} +1 -1
- package/{index-xwfg9bam.js → index-3g17wsqr.js} +10 -5
- package/{index-7ppn9v4n.js → index-3hyw3026.js} +3 -3
- package/{index-s9s0n5fz.js → index-4fh6v6qr.js} +2 -2
- package/{index-y1e79mz3.js → index-4j0qw1hz.js} +11 -11
- package/{index-z36qzgzp.js → index-6a9008sh.js} +2 -2
- package/{index-h971erkm.js → index-90a0z8xq.js} +3 -3
- package/{index-04as43rp.js → index-dscrzdk0.js} +7 -6
- package/{index-7k9sj7j5.js → index-f2s5z0p7.js} +91 -341
- package/index-f39512t6.js +255 -0
- package/{index-d0h48d2f.js → index-g10wmymm.js} +2 -2
- package/{index-fbv96xaw.js → index-hr3n31n0.js} +8 -8
- package/{index-dgeaqwmw.js → index-jf5k3bt8.js} +1 -1
- package/{index-h6eav7zx.js → index-med3vqnc.js} +5 -5
- package/{index-zfp1gz9f.js → index-ms3vpys1.js} +1 -1
- package/{index-v9jqrdd1.js → index-n3drhjgc.js} +2 -2
- package/{index-z5v766nx.js → index-pw9qhve8.js} +3 -3
- package/{index-acwxfncv.js → index-r8drwwr8.js} +4 -4
- package/{index-h5cvg9z9.js → index-z1eqzrj9.js} +3 -3
- package/index.js +20 -19
- package/{library.command-68ah07a3.js → library.command-w11wnq7q.js} +5 -4
- package/{localRegistry.command-84dz000g.js → localRegistry.command-fkq49j84.js} +8 -7
- package/{module.command-t68xhamx.js → module.command-wyjgbg0d.js} +8 -7
- package/{package.command-00ncttab.js → package.command-5ann132q.js} +5 -4
- package/package.json +2 -2
- package/{page.command-1096s18n.js → page.command-e75nxwrw.js} +5 -4
- package/{primitive.command-02eqpx6t.js → primitive.command-gy7nwn5w.js} +9 -8
- package/{quality.command-r9cageqb.js → quality.command-41tw1g5g.js} +4 -3
- package/{repair.command-7dynpnf1.js → repair.command-xr4664h4.js} +7 -6
- package/{routeSourceValidator-cncd92fv.js → routeSourceValidator-rk64s1g4.js} +2 -1
- package/{scalar.command-3kxy3fkh.js → scalar.command-agc839az.js} +7 -6
- package/templates/module/__Model__.Template.tsx +2 -1
- package/templates/module/__Model__.Unit.tsx +2 -1
- package/templates/module/__Model__.Util.tsx +2 -1
- package/templates/module/__Model__.View.tsx +2 -1
- package/templates/module/__Model__.Zone.tsx +2 -1
- package/{typeChecker-kravn7ns.js → typeChecker-g6bh0xfv.js} +1 -1
- package/typecheck.proc.js +1 -1
- package/{workflow.command-yy0d9gk3.js → workflow.command-jf09cq6k.js} +12 -11
- package/{workspace.command-stv9g4a0.js → workspace.command-a57b7ybw.js} +21 -20
- /package/{index-r24hmh0q.js → index-yb2wsc7f.js} +0 -0
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
PageScript
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-jf5k3bt8.js";
|
|
5
5
|
import {
|
|
6
6
|
App,
|
|
7
7
|
Module,
|
|
8
8
|
command
|
|
9
|
-
} from "./index-
|
|
10
|
-
import"./index-
|
|
9
|
+
} from "./index-g10wmymm.js";
|
|
10
|
+
import"./index-3g17wsqr.js";
|
|
11
11
|
import"./index-67546d0j.js";
|
|
12
|
+
import"./index-f39512t6.js";
|
|
12
13
|
import"./index-6pz1j0zj.js";
|
|
13
|
-
import"./index-
|
|
14
|
+
import"./index-yb2wsc7f.js";
|
|
14
15
|
|
|
15
16
|
// pkgs/@akanjs/cli/page/page.command.ts
|
|
16
17
|
class PageCommand extends command("page", [PageScript], ({ public: target }) => ({
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
PrimitiveScript
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
4
|
+
} from "./index-r8drwwr8.js";
|
|
5
|
+
import"./index-dscrzdk0.js";
|
|
6
|
+
import"./index-jf5k3bt8.js";
|
|
7
7
|
import"./index-ss469dec.js";
|
|
8
8
|
import {
|
|
9
9
|
renderPrimitiveReport
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
10
|
+
} from "./index-0476y8pz.js";
|
|
11
|
+
import"./index-3f3bjcwc.js";
|
|
12
12
|
import"./index-nsj2ftxj.js";
|
|
13
13
|
import {
|
|
14
14
|
Workspace,
|
|
15
15
|
command
|
|
16
|
-
} from "./index-
|
|
17
|
-
import"./index-
|
|
16
|
+
} from "./index-g10wmymm.js";
|
|
17
|
+
import"./index-3g17wsqr.js";
|
|
18
18
|
import"./index-67546d0j.js";
|
|
19
|
+
import"./index-f39512t6.js";
|
|
19
20
|
import"./index-6pz1j0zj.js";
|
|
20
|
-
import"./index-
|
|
21
|
+
import"./index-yb2wsc7f.js";
|
|
21
22
|
|
|
22
23
|
// pkgs/@akanjs/cli/primitive/primitive.command.ts
|
|
23
24
|
import { Logger } from "akanjs/common";
|
|
@@ -7,11 +7,12 @@ import {
|
|
|
7
7
|
command,
|
|
8
8
|
runner,
|
|
9
9
|
script
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
10
|
+
} from "./index-g10wmymm.js";
|
|
11
|
+
import"./index-3g17wsqr.js";
|
|
12
12
|
import"./index-67546d0j.js";
|
|
13
|
+
import"./index-f39512t6.js";
|
|
13
14
|
import"./index-6pz1j0zj.js";
|
|
14
|
-
import"./index-
|
|
15
|
+
import"./index-yb2wsc7f.js";
|
|
15
16
|
|
|
16
17
|
// pkgs/@akanjs/devkit/qualityScanner.ts
|
|
17
18
|
import { createHash } from "crypto";
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
RepairRunner
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
4
|
+
} from "./index-3hyw3026.js";
|
|
5
|
+
import"./index-n3drhjgc.js";
|
|
6
|
+
import"./index-0476y8pz.js";
|
|
7
7
|
import {
|
|
8
8
|
Workspace,
|
|
9
9
|
command,
|
|
10
10
|
script
|
|
11
|
-
} from "./index-
|
|
12
|
-
import"./index-
|
|
11
|
+
} from "./index-g10wmymm.js";
|
|
12
|
+
import"./index-3g17wsqr.js";
|
|
13
13
|
import"./index-67546d0j.js";
|
|
14
|
+
import"./index-f39512t6.js";
|
|
14
15
|
import"./index-6pz1j0zj.js";
|
|
15
|
-
import"./index-
|
|
16
|
+
import"./index-yb2wsc7f.js";
|
|
16
17
|
|
|
17
18
|
// pkgs/@akanjs/cli/repair/repair.script.ts
|
|
18
19
|
import { Logger } from "akanjs/common";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./index-
|
|
2
|
+
import"./index-yb2wsc7f.js";
|
|
3
3
|
|
|
4
4
|
// pkgs/@akanjs/devkit/routeSourceValidator.ts
|
|
5
5
|
import ts from "typescript";
|
|
@@ -25,6 +25,7 @@ class RouteSourceValidator {
|
|
|
25
25
|
"manifest",
|
|
26
26
|
"theme",
|
|
27
27
|
"reconnect",
|
|
28
|
+
"wsConnect",
|
|
28
29
|
"layoutStyle",
|
|
29
30
|
"gaTrackingId",
|
|
30
31
|
"Loading",
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
ScalarScript
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-pw9qhve8.js";
|
|
5
5
|
import"./index-ss469dec.js";
|
|
6
6
|
import {
|
|
7
7
|
renderPrimitiveReport
|
|
8
|
-
} from "./index-
|
|
9
|
-
import"./index-
|
|
8
|
+
} from "./index-0476y8pz.js";
|
|
9
|
+
import"./index-3f3bjcwc.js";
|
|
10
10
|
import"./index-nsj2ftxj.js";
|
|
11
11
|
import {
|
|
12
12
|
Sys,
|
|
13
13
|
command
|
|
14
|
-
} from "./index-
|
|
15
|
-
import"./index-
|
|
14
|
+
} from "./index-g10wmymm.js";
|
|
15
|
+
import"./index-3g17wsqr.js";
|
|
16
16
|
import"./index-67546d0j.js";
|
|
17
|
+
import"./index-f39512t6.js";
|
|
17
18
|
import"./index-6pz1j0zj.js";
|
|
18
|
-
import"./index-
|
|
19
|
+
import"./index-yb2wsc7f.js";
|
|
19
20
|
|
|
20
21
|
// pkgs/@akanjs/cli/scalar/scalar.command.ts
|
|
21
22
|
import { Logger, lowerlize } from "akanjs/common";
|
|
@@ -4,6 +4,7 @@ interface Dict {
|
|
|
4
4
|
Model: string;
|
|
5
5
|
model: string;
|
|
6
6
|
sysName: string;
|
|
7
|
+
sysType: string;
|
|
7
8
|
}
|
|
8
9
|
export default function getContent(scanInfo: AppInfo | LibInfo | null, dict: Dict) {
|
|
9
10
|
return {
|
|
@@ -11,7 +12,7 @@ export default function getContent(scanInfo: AppInfo | LibInfo | null, dict: Dic
|
|
|
11
12
|
content: `
|
|
12
13
|
"use client";
|
|
13
14
|
import { Field, Layout } from "akanjs/ui";
|
|
14
|
-
import { st, usePage } from "@${
|
|
15
|
+
import { st, usePage } from "@${dict.sysType}s/${dict.sysName}/client";
|
|
15
16
|
|
|
16
17
|
interface GeneralProps {
|
|
17
18
|
className?: string;
|
|
@@ -4,13 +4,14 @@ interface Dict {
|
|
|
4
4
|
Model: string;
|
|
5
5
|
model: string;
|
|
6
6
|
sysName: string;
|
|
7
|
+
sysType: string;
|
|
7
8
|
}
|
|
8
9
|
export default function getContent(scanInfo: AppInfo | LibInfo | null, dict: Dict) {
|
|
9
10
|
return {
|
|
10
11
|
filename: `${dict.Model}.Unit.tsx`,
|
|
11
12
|
content: `
|
|
12
13
|
import type { ModelProps } from "akanjs/client";
|
|
13
|
-
import { cnst, usePage } from "@${
|
|
14
|
+
import { cnst, usePage } from "@${dict.sysType}s/${dict.sysName}/client";
|
|
14
15
|
import { Link } from "akanjs/ui";
|
|
15
16
|
|
|
16
17
|
export const Card = ({ ${dict.model}, href }: ModelProps<"${dict.model}", cnst.Light${dict.Model}>) => {
|
|
@@ -4,6 +4,7 @@ interface Dict {
|
|
|
4
4
|
Model: string;
|
|
5
5
|
model: string;
|
|
6
6
|
sysName: string;
|
|
7
|
+
sysType: string;
|
|
7
8
|
}
|
|
8
9
|
export default function getContent(scanInfo: AppInfo | LibInfo | null, dict: Dict) {
|
|
9
10
|
return {
|
|
@@ -11,7 +12,7 @@ export default function getContent(scanInfo: AppInfo | LibInfo | null, dict: Dic
|
|
|
11
12
|
content: `
|
|
12
13
|
"use client";
|
|
13
14
|
import { Model } from "akanjs/ui";
|
|
14
|
-
import { fetch, usePage } from "@${
|
|
15
|
+
import { fetch, usePage } from "@${dict.sysType}s/${dict.sysName}/client";
|
|
15
16
|
import { BiTrash } from "react-icons/bi";
|
|
16
17
|
|
|
17
18
|
interface RemoveProps {
|
|
@@ -4,13 +4,14 @@ interface Dict {
|
|
|
4
4
|
Model: string;
|
|
5
5
|
model: string;
|
|
6
6
|
sysName: string;
|
|
7
|
+
sysType: string;
|
|
7
8
|
}
|
|
8
9
|
export default function getContent(scanInfo: AppInfo | LibInfo | null, dict: Dict) {
|
|
9
10
|
return {
|
|
10
11
|
filename: `${dict.Model}.View.tsx`,
|
|
11
12
|
content: `
|
|
12
13
|
import { clsx } from "akanjs/client";
|
|
13
|
-
import { cnst, usePage } from "@${
|
|
14
|
+
import { cnst, usePage } from "@${dict.sysType}s/${dict.sysName}/client";
|
|
14
15
|
|
|
15
16
|
interface GeneralProps {
|
|
16
17
|
className?: string;
|
|
@@ -4,6 +4,7 @@ interface Dict {
|
|
|
4
4
|
Model: string;
|
|
5
5
|
model: string;
|
|
6
6
|
sysName: string;
|
|
7
|
+
sysType: string;
|
|
7
8
|
}
|
|
8
9
|
export default function getContent(scanInfo: AppInfo | LibInfo | null, dict: Dict) {
|
|
9
10
|
return {
|
|
@@ -13,7 +14,7 @@ export default function getContent(scanInfo: AppInfo | LibInfo | null, dict: Dic
|
|
|
13
14
|
import { Load } from "akanjs/ui";
|
|
14
15
|
// Alias the domain namespace so the Card/View exports below never collide with the model name
|
|
15
16
|
// (a model literally named "card" or "view" would otherwise shadow this import).
|
|
16
|
-
import { type cnst, ${dict.Model} as ${dict.Model}Domain } from "@${
|
|
17
|
+
import { type cnst, ${dict.Model} as ${dict.Model}Domain } from "@${dict.sysType}s/${dict.sysName}/client";
|
|
17
18
|
import type { ClientInit, ClientView, SliceMeta } from "akanjs/fetch";
|
|
18
19
|
|
|
19
20
|
interface CardProps {
|
package/typecheck.proc.js
CHANGED
|
@@ -1,33 +1,34 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
WorkflowRunner
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-90a0z8xq.js";
|
|
5
5
|
import {
|
|
6
6
|
ScalarScript
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-pw9qhve8.js";
|
|
8
8
|
import {
|
|
9
9
|
PrimitiveScript
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-r8drwwr8.js";
|
|
11
11
|
import {
|
|
12
12
|
ModuleScript
|
|
13
|
-
} from "./index-
|
|
14
|
-
import"./index-
|
|
13
|
+
} from "./index-dscrzdk0.js";
|
|
14
|
+
import"./index-jf5k3bt8.js";
|
|
15
15
|
import"./index-ss469dec.js";
|
|
16
|
-
import"./index-
|
|
16
|
+
import"./index-n3drhjgc.js";
|
|
17
17
|
import {
|
|
18
18
|
createWorkflowStepRegistry
|
|
19
|
-
} from "./index-
|
|
20
|
-
import"./index-
|
|
19
|
+
} from "./index-0476y8pz.js";
|
|
20
|
+
import"./index-3f3bjcwc.js";
|
|
21
21
|
import"./index-nsj2ftxj.js";
|
|
22
22
|
import {
|
|
23
23
|
Workspace,
|
|
24
24
|
command,
|
|
25
25
|
script
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-g10wmymm.js";
|
|
27
|
+
import"./index-3g17wsqr.js";
|
|
28
28
|
import"./index-67546d0j.js";
|
|
29
|
+
import"./index-f39512t6.js";
|
|
29
30
|
import"./index-6pz1j0zj.js";
|
|
30
|
-
import"./index-
|
|
31
|
+
import"./index-yb2wsc7f.js";
|
|
31
32
|
|
|
32
33
|
// pkgs/@akanjs/cli/workflow/workflow.script.ts
|
|
33
34
|
import { Logger } from "akanjs/common";
|
|
@@ -1,62 +1,63 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
ContextScript
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
4
|
+
} from "./index-4j0qw1hz.js";
|
|
5
|
+
import"./index-3hyw3026.js";
|
|
6
|
+
import"./index-90a0z8xq.js";
|
|
7
7
|
import {
|
|
8
8
|
CloudScript
|
|
9
|
-
} from "./index-
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
9
|
+
} from "./index-med3vqnc.js";
|
|
10
|
+
import"./index-pw9qhve8.js";
|
|
11
|
+
import"./index-r8drwwr8.js";
|
|
12
|
+
import"./index-dscrzdk0.js";
|
|
13
|
+
import"./index-jf5k3bt8.js";
|
|
14
14
|
import"./index-ss469dec.js";
|
|
15
|
-
import"./index-
|
|
15
|
+
import"./index-ms3vpys1.js";
|
|
16
16
|
import {
|
|
17
17
|
AgentScript
|
|
18
|
-
} from "./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
18
|
+
} from "./index-2f6mjanp.js";
|
|
19
|
+
import"./index-n3drhjgc.js";
|
|
20
|
+
import"./index-0476y8pz.js";
|
|
21
|
+
import"./index-3f3bjcwc.js";
|
|
22
22
|
import {
|
|
23
23
|
getLatestPackageVersion,
|
|
24
24
|
getNpmRegistryUrl
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-z1eqzrj9.js";
|
|
26
26
|
import {
|
|
27
27
|
PackageScript
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-6a9008sh.js";
|
|
29
29
|
import {
|
|
30
30
|
GlobalConfig
|
|
31
31
|
} from "./index-nsj2ftxj.js";
|
|
32
32
|
import {
|
|
33
33
|
ApplicationScript
|
|
34
|
-
} from "./index-
|
|
34
|
+
} from "./index-hr3n31n0.js";
|
|
35
35
|
import"./index-76rn3g2c.js";
|
|
36
36
|
import {
|
|
37
37
|
LibraryScript
|
|
38
|
-
} from "./index-
|
|
38
|
+
} from "./index-4fh6v6qr.js";
|
|
39
39
|
import {
|
|
40
40
|
Exec,
|
|
41
41
|
Workspace,
|
|
42
42
|
command,
|
|
43
43
|
runner,
|
|
44
44
|
script
|
|
45
|
-
} from "./index-
|
|
45
|
+
} from "./index-g10wmymm.js";
|
|
46
46
|
import"./index-fgc8r6dj.js";
|
|
47
47
|
import {
|
|
48
48
|
AppExecutor,
|
|
49
49
|
LibExecutor,
|
|
50
50
|
PkgExecutor,
|
|
51
51
|
WorkspaceExecutor
|
|
52
|
-
} from "./index-
|
|
52
|
+
} from "./index-3g17wsqr.js";
|
|
53
53
|
import"./index-46tjzh6s.js";
|
|
54
54
|
import {
|
|
55
55
|
FileSys
|
|
56
56
|
} from "./index-67546d0j.js";
|
|
57
57
|
import"./index-bjpxzr6s.js";
|
|
58
|
+
import"./index-f39512t6.js";
|
|
58
59
|
import"./index-6pz1j0zj.js";
|
|
59
|
-
import"./index-
|
|
60
|
+
import"./index-yb2wsc7f.js";
|
|
60
61
|
|
|
61
62
|
// pkgs/@akanjs/cli/workspace/workspace.script.ts
|
|
62
63
|
import path2 from "path";
|
|
File without changes
|