@akanjs/cli 3.0.0-alpha.87 → 3.0.0-alpha.89
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-pwc6d6yk.js → abstractCompactor-cefxzggj.js} +2 -2
- package/{agent.command-180hh0ye.js → agent.command-r93wmq7m.js} +6 -6
- package/{application.command-v8dywdqh.js → application.command-5nqfqgdn.js} +9 -8
- package/{applicationBuildRunner-27wyznpv.js → applicationBuildRunner-b21m07fs.js} +4 -3
- package/{applicationReleasePackager-ktjt0erc.js → applicationReleasePackager-3wh58n2m.js} +2 -2
- package/buildBatch.proc.js +4 -4
- package/{capacitorApp-kwa67kzs.js → capacitorApp-gzcx6txb.js} +3 -3
- package/{cloud.command-12k4wy4x.js → cloud.command-g0pk0k60.js} +11 -11
- package/{context.command-dk2m2sjx.js → context.command-qd8kqrnh.js} +14 -14
- package/{dependencyScanner-c64m6fxp.js → dependencyScanner-shs82ynp.js} +2 -2
- package/devTui-2xf0meaq.js +552 -0
- package/devTuiView-7jy8f30g.js +9 -0
- package/{guideline.command-w6ddv13r.js → guideline.command-f38x8jhw.js} +4 -4
- package/guidelines/agentRule/agentRule.instruction.md +9 -1
- package/guidelines/conventions/conventions.instruction.md +30 -0
- package/guidelines/modelStore/modelStore.instruction.md +12 -0
- package/guidelines/modelTemplate/modelTemplate.instruction.md +5 -0
- package/guidelines/runtimeRule/runtimeRule.instruction.md +37 -0
- package/incrementalBuilder.proc.js +8 -5
- package/{index-5y7qba1c.js → index-0emb9eat.js} +3 -3
- package/{index-cd5x18qh.js → index-3vvbv974.js} +4 -4
- package/{index-v0s24t8j.js → index-5xdqxbn9.js} +3 -3
- package/{index-k86zc21w.js → index-9bwhxrqf.js} +6 -6
- package/{index-ft1sfjz0.js → index-cezy7yb3.js} +66 -7
- package/{index-a6c5pc4p.js → index-d61rcfa2.js} +614 -62
- package/{index-gz0c482j.js → index-deekbtkj.js} +6 -6
- package/{index-saheq2bs.js → index-e82dyeqy.js} +1 -1
- package/{index-j9vnq8tr.js → index-h759vjfa.js} +3 -3
- package/{index-z3c9mmw4.js → index-jydtyzva.js} +2 -2
- package/{index-mfm35dhh.js → index-kcxmv48c.js} +1 -1
- package/{index-6c3ex9qw.js → index-kfnr6c19.js} +4 -4
- package/{index-1kzsn94d.js → index-mpmyqm1y.js} +1 -1
- package/{index-wet2ytnr.js → index-n85fer99.js} +2 -2
- package/{index-b2nt0w0k.js → index-pgsswppj.js} +1 -1
- package/{index-m9c7k0gm.js → index-pvb4vdwr.js} +1 -1
- package/{index-ayy5ecax.js → index-q0y2jq9j.js} +13 -1
- package/{index-k1n0h7dk.js → index-q8sn827n.js} +254 -126
- package/{index-dq6wq1tv.js → index-r50qen0z.js} +10 -10
- package/{index-5n0hf8r9.js → index-rntcdss1.js} +3 -3
- package/{index-a8h184wr.js → index-sjak5v5b.js} +6 -6
- package/{index-x23688ar.js → index-w8kmx1b6.js} +8 -4
- package/{index-qcracvc9.js → index-y74k5anj.js} +3 -3
- package/{index-xxe90kqy.js → index-zkvpaggp.js} +2 -2
- package/index.js +20 -20
- package/{library.command-wpedct6c.js → library.command-em103wtn.js} +4 -4
- package/{localRegistry.command-3cew8f75.js → localRegistry.command-gz8apn4y.js} +10 -10
- package/{module.command-8n4kct3e.js → module.command-451pztkc.js} +7 -7
- package/{package.command-fcbd0b1d.js → package.command-rfhyf38t.js} +5 -5
- package/package.json +2 -2
- package/{page.command-x4379grq.js → page.command-kt19da5g.js} +4 -4
- package/{primitive.command-8etmnqhq.js → primitive.command-pgy69ere.js} +8 -8
- package/{quality.command-hfx7z8yr.js → quality.command-gpe2vqb5.js} +3 -3
- package/{repair.command-j0fs5qkz.js → repair.command-2sbrz187.js} +6 -6
- package/{scalar.command-2emk89eh.js → scalar.command-jcf4e5sv.js} +6 -6
- package/{subspace.command-nr32nm35.js → subspace.command-kqzqtk0p.js} +6 -6
- package/{workflow.command-cvpmzwjg.js → workflow.command-m4z25a2p.js} +11 -11
- package/{workspace.command-rqnms515.js → workspace.command-dqgj9zbk.js} +22 -22
|
@@ -3,22 +3,22 @@ import {
|
|
|
3
3
|
GlobalConfig,
|
|
4
4
|
CloudApi,
|
|
5
5
|
AiSession
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-n85fer99.js";
|
|
7
7
|
import {
|
|
8
8
|
PkgExecutor
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-q8sn827n.js";
|
|
10
10
|
import {
|
|
11
11
|
script
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-cezy7yb3.js";
|
|
13
13
|
import {
|
|
14
14
|
ApplicationScript
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-d61rcfa2.js";
|
|
16
16
|
import {
|
|
17
17
|
PackageScript
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-sjak5v5b.js";
|
|
19
19
|
import {
|
|
20
20
|
CloudRunner
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-kfnr6c19.js";
|
|
22
22
|
|
|
23
23
|
// pkgs/@akanjs/cli/cloud/cloud.script.ts
|
|
24
24
|
import { Logger } from "akanjs/common";
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
renderWorkflowApply,
|
|
21
21
|
renderWorkflowValidation,
|
|
22
22
|
renderWorkflowRunArtifact
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-e82dyeqy.js";
|
|
24
24
|
import {
|
|
25
25
|
AkanContextAnalyzer
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-0emb9eat.js";
|
|
27
27
|
import {
|
|
28
28
|
runner
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-cezy7yb3.js";
|
|
30
30
|
|
|
31
31
|
// pkgs/@akanjs/cli/workflow/workflow.runner.ts
|
|
32
32
|
import { mkdir, readFile, writeFile } from "fs/promises";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
AsyncDefaultExportDetector,
|
|
4
4
|
resolveSsrPageEntriesForApp
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-q8sn827n.js";
|
|
6
6
|
import {
|
|
7
7
|
BarrelAnalyzer,
|
|
8
8
|
createBarrelImportsPlugin,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
ClientEntriesBundler,
|
|
14
14
|
VENDOR_SPECIFIERS,
|
|
15
15
|
RouteClientBuilder
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-w8kmx1b6.js";
|
|
17
17
|
var __require = import.meta.require;
|
|
18
18
|
|
|
19
19
|
// pkgs/@akanjs/devkit/frontendBuild/allRoutesBuilder.ts
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
GlobalConfig,
|
|
5
5
|
CloudApi,
|
|
6
6
|
AiSession
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-n85fer99.js";
|
|
8
8
|
import {
|
|
9
9
|
WorkspaceExecutor,
|
|
10
10
|
AppExecutor
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-q8sn827n.js";
|
|
12
12
|
import {
|
|
13
13
|
runner
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-cezy7yb3.js";
|
|
15
15
|
import {
|
|
16
16
|
openBrowser
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-d61rcfa2.js";
|
|
18
18
|
|
|
19
19
|
// pkgs/@akanjs/cli/npmRegistry.ts
|
|
20
20
|
var defaultNpmRegistry = "https://registry.npmjs.org";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
FileSys
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-q0y2jq9j.js";
|
|
5
5
|
import {
|
|
6
6
|
Spinner
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-q8sn827n.js";
|
|
8
8
|
|
|
9
9
|
// pkgs/@akanjs/devkit/cloud/globalConfig.ts
|
|
10
10
|
import { chmod, mkdir } from "fs/promises";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
// pkgs/@akanjs/devkit/fileSys.ts
|
|
3
|
-
import { lstat, stat } from "fs/promises";
|
|
3
|
+
import { lstat, rename, rm, stat } from "fs/promises";
|
|
4
4
|
import { Logger } from "akanjs/common";
|
|
5
5
|
|
|
6
6
|
class FileSys {
|
|
@@ -34,6 +34,18 @@ class FileSys {
|
|
|
34
34
|
static async writeText(path, content) {
|
|
35
35
|
return await Bun.file(path).write(content);
|
|
36
36
|
}
|
|
37
|
+
static async writeTextAtomic(filePath, content) {
|
|
38
|
+
const temp = `${filePath}.${process.pid}.${Date.now().toString(36)}.tmp`;
|
|
39
|
+
try {
|
|
40
|
+
await Bun.write(temp, content);
|
|
41
|
+
await rename(temp, filePath);
|
|
42
|
+
} catch (error) {
|
|
43
|
+
await rm(temp, { force: true }).catch(() => {
|
|
44
|
+
return;
|
|
45
|
+
});
|
|
46
|
+
throw error;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
37
49
|
static async writeJson(path, content) {
|
|
38
50
|
return await Bun.file(path).write(`${JSON.stringify(content, null, 2)}
|
|
39
51
|
`);
|