@akanjs/cli 3.0.0-alpha.84 → 3.0.0-alpha.86
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-4fq5pmdd.js → application.command-v8dywdqh.js} +2 -2
- package/{applicationBuildRunner-tavpx3fv.js → applicationBuildRunner-27wyznpv.js} +1 -1
- package/buildBatch.proc.js +1 -1
- package/{cloud.command-wm3mtfve.js → cloud.command-12k4wy4x.js} +4 -4
- package/incrementalBuilder.proc.js +1 -1
- package/{index-1tgp56ke.js → index-6c3ex9qw.js} +1 -1
- package/{index-ctphds8v.js → index-9wtbw98m.js} +5 -2
- package/{index-m7e0f1sy.js → index-a6c5pc4p.js} +2 -2
- package/{index-ypvdw8nr.js → index-gz0c482j.js} +2 -2
- package/index.js +4 -4
- package/{localRegistry.command-gk773cte.js → localRegistry.command-3cew8f75.js} +3 -3
- package/package.json +2 -2
- package/templates/workspaceRoot/.husky/pre-commit.template +1 -1
- package/templates/workspaceRoot/.vscode/settings.json.template +1 -1
- package/templates/workspaceRoot/biome.json.template +1 -1
- package/{workspace.command-4ztb4fdh.js → workspace.command-rqnms515.js} +5 -5
- package/templates/workspaceRoot/.husky/biome.precommit.json.template +0 -10
package/.build-stamp
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
169e323afe5a7e6bf4276d8071f93c99103aaddde428f66dba2778d13aaaf2bf
|
|
@@ -11,9 +11,9 @@ import"./index-ayy5ecax.js";
|
|
|
11
11
|
import"./index-6wwzs1bc.js";
|
|
12
12
|
import {
|
|
13
13
|
ApplicationScript
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-a6c5pc4p.js";
|
|
15
15
|
import"./index-xxe90kqy.js";
|
|
16
|
-
import"./index-
|
|
16
|
+
import"./index-9wtbw98m.js";
|
|
17
17
|
import {
|
|
18
18
|
AbstractDoc
|
|
19
19
|
} from "./index-meh558jy.js";
|
package/buildBatch.proc.js
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
SsrBaseArtifactBuilder
|
|
14
14
|
} from "./index-z3c9mmw4.js";
|
|
15
15
|
import"./index-x23688ar.js";
|
|
16
|
-
import"./index-
|
|
16
|
+
import"./index-9wtbw98m.js";
|
|
17
17
|
import"./index-n68jx79w.js";
|
|
18
18
|
|
|
19
19
|
// pkgs/@akanjs/devkit/incrementalBuilder/buildBatch.proc.ts
|
|
@@ -9,15 +9,15 @@ import {
|
|
|
9
9
|
} from "./index-ft1sfjz0.js";
|
|
10
10
|
import"./index-k1n0h7dk.js";
|
|
11
11
|
import"./index-6wwzs1bc.js";
|
|
12
|
-
import"./index-
|
|
12
|
+
import"./index-a6c5pc4p.js";
|
|
13
13
|
import"./index-xxe90kqy.js";
|
|
14
|
-
import"./index-
|
|
14
|
+
import"./index-9wtbw98m.js";
|
|
15
15
|
import"./index-mfm35dhh.js";
|
|
16
16
|
import"./index-a8h184wr.js";
|
|
17
|
-
import"./index-
|
|
17
|
+
import"./index-6c3ex9qw.js";
|
|
18
18
|
import {
|
|
19
19
|
CloudScript
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-gz0c482j.js";
|
|
21
21
|
import"./index-m9c7k0gm.js";
|
|
22
22
|
|
|
23
23
|
// pkgs/@akanjs/cli/cloud/cloud.command.ts
|
|
@@ -472,6 +472,8 @@ class WatchRootResolver {
|
|
|
472
472
|
}
|
|
473
473
|
async resolve() {
|
|
474
474
|
const tsconfig = await this.#app.getTsConfig();
|
|
475
|
+
const appDir = path4.resolve(this.#app.cwdPath);
|
|
476
|
+
const appsContainer = path4.dirname(appDir);
|
|
475
477
|
const set = new Set;
|
|
476
478
|
set.add(path4.resolve(`${this.#app.cwdPath}/page`));
|
|
477
479
|
for (const targets of Object.values(tsconfig.compilerOptions.paths ?? {})) {
|
|
@@ -482,8 +484,9 @@ class WatchRootResolver {
|
|
|
482
484
|
continue;
|
|
483
485
|
const cleaned = target.replace(/\/?\*+.*$/, "").replace(/\/[^/]+\.[^/]+$/, "");
|
|
484
486
|
const resolved = path4.resolve(this.#app.workspace.workspaceRoot, cleaned);
|
|
485
|
-
|
|
486
|
-
|
|
487
|
+
const root = resolved === appsContainer ? appDir : resolved;
|
|
488
|
+
if (fs2.existsSync(root))
|
|
489
|
+
set.add(root);
|
|
487
490
|
}
|
|
488
491
|
}
|
|
489
492
|
return [...set];
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
HmrWatcher,
|
|
17
17
|
WatchRootResolver
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-9wtbw98m.js";
|
|
19
19
|
import {
|
|
20
20
|
SlicePlanner,
|
|
21
21
|
formatSlicePlan
|
|
@@ -1916,7 +1916,7 @@ function openBrowser(url) {
|
|
|
1916
1916
|
}
|
|
1917
1917
|
|
|
1918
1918
|
// pkgs/@akanjs/cli/application/application.runner.ts
|
|
1919
|
-
var loadBuildRunner = async () => (await import("./applicationBuildRunner-
|
|
1919
|
+
var loadBuildRunner = async () => (await import("./applicationBuildRunner-27wyznpv.js")).ApplicationBuildRunner;
|
|
1920
1920
|
var loadReleasePackager = async () => (await import("./applicationReleasePackager-ktjt0erc.js")).ApplicationReleasePackager;
|
|
1921
1921
|
var loadCapacitorApp = async () => (await import("./capacitorApp-kwa67kzs.js")).CapacitorApp;
|
|
1922
1922
|
var loadAbstractCompactor = async () => (await import("./abstractCompactor-pwc6d6yk.js")).AbstractCompactor;
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
} from "./index-ft1sfjz0.js";
|
|
13
13
|
import {
|
|
14
14
|
ApplicationScript
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-a6c5pc4p.js";
|
|
16
16
|
import {
|
|
17
17
|
PackageScript
|
|
18
18
|
} from "./index-a8h184wr.js";
|
|
19
19
|
import {
|
|
20
20
|
CloudRunner
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-6c3ex9qw.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-rqnms515.js")).WorkspaceCommand,
|
|
18
18
|
agent: async () => (await import("./agent.command-180hh0ye.js")).AgentCommand,
|
|
19
|
-
application: async () => (await import("./application.command-
|
|
19
|
+
application: async () => (await import("./application.command-v8dywdqh.js")).ApplicationCommand,
|
|
20
20
|
library: async () => (await import("./library.command-wpedct6c.js")).LibraryCommand,
|
|
21
|
-
localRegistry: async () => (await import("./localRegistry.command-
|
|
21
|
+
localRegistry: async () => (await import("./localRegistry.command-3cew8f75.js")).LocalRegistryCommand,
|
|
22
22
|
package: async () => (await import("./package.command-fcbd0b1d.js")).PackageCommand,
|
|
23
23
|
module: async () => (await import("./module.command-8n4kct3e.js")).ModuleCommand,
|
|
24
24
|
page: async () => (await import("./page.command-x4379grq.js")).PageCommand,
|
|
25
25
|
context: async () => (await import("./context.command-dk2m2sjx.js")).ContextCommand,
|
|
26
|
-
cloud: async () => (await import("./cloud.command-
|
|
26
|
+
cloud: async () => (await import("./cloud.command-12k4wy4x.js")).CloudCommand,
|
|
27
27
|
subspace: async () => (await import("./subspace.command-nr32nm35.js")).SubspaceCommand,
|
|
28
28
|
guideline: async () => (await import("./guideline.command-w6ddv13r.js")).GuidelineCommand,
|
|
29
29
|
scalar: async () => (await import("./scalar.command-2emk89eh.js")).ScalarCommand,
|
|
@@ -12,14 +12,14 @@ import"./index-ayy5ecax.js";
|
|
|
12
12
|
import"./index-6wwzs1bc.js";
|
|
13
13
|
import {
|
|
14
14
|
ApplicationScript
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-a6c5pc4p.js";
|
|
16
16
|
import"./index-xxe90kqy.js";
|
|
17
|
-
import"./index-
|
|
17
|
+
import"./index-9wtbw98m.js";
|
|
18
18
|
import"./index-wet2ytnr.js";
|
|
19
19
|
import {
|
|
20
20
|
getNpmRegistryUrl,
|
|
21
21
|
CloudRunner
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-6c3ex9qw.js";
|
|
23
23
|
import"./index-mfm35dhh.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.86",
|
|
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.86",
|
|
37
37
|
"chalk": "^5.6.2",
|
|
38
38
|
"commander": "^14.0.3",
|
|
39
39
|
"dayjs": "^1.11.20",
|
|
@@ -11,6 +11,6 @@ LINT_FILES=$(echo "$FILES" | grep -E '(\.ts|\.tsx)$' || true)
|
|
|
11
11
|
echo "Checking commit files with Biome..."
|
|
12
12
|
# Run Biome autofix if there are lint files. Any remaining errors fail the commit.
|
|
13
13
|
if [ -n "$LINT_FILES" ]; then
|
|
14
|
-
echo "$LINT_FILES" | xargs ./node_modules/.bin/biome check --write --
|
|
14
|
+
echo "$LINT_FILES" | xargs ./node_modules/.bin/biome check --write --no-errors-on-unmatched --diagnostic-level=error
|
|
15
15
|
echo "$LINT_FILES" | xargs git add --
|
|
16
16
|
fi
|
|
@@ -40,11 +40,11 @@ import {
|
|
|
40
40
|
} from "./index-5n0hf8r9.js";
|
|
41
41
|
import {
|
|
42
42
|
ApplicationScript
|
|
43
|
-
} from "./index-
|
|
43
|
+
} from "./index-a6c5pc4p.js";
|
|
44
44
|
import {
|
|
45
45
|
LibraryScript
|
|
46
46
|
} from "./index-xxe90kqy.js";
|
|
47
|
-
import"./index-
|
|
47
|
+
import"./index-9wtbw98m.js";
|
|
48
48
|
import"./index-mfm35dhh.js";
|
|
49
49
|
import {
|
|
50
50
|
PackageScript
|
|
@@ -52,10 +52,10 @@ import {
|
|
|
52
52
|
import {
|
|
53
53
|
getNpmRegistryUrl,
|
|
54
54
|
getLatestPackageVersion
|
|
55
|
-
} from "./index-
|
|
55
|
+
} from "./index-6c3ex9qw.js";
|
|
56
56
|
import {
|
|
57
57
|
CloudScript
|
|
58
|
-
} from "./index-
|
|
58
|
+
} from "./index-gz0c482j.js";
|
|
59
59
|
import {
|
|
60
60
|
ContextScript
|
|
61
61
|
} from "./index-dq6wq1tv.js";
|
|
@@ -72,7 +72,7 @@ import"./index-m9c7k0gm.js";
|
|
|
72
72
|
import path from "path";
|
|
73
73
|
|
|
74
74
|
// pkgs/@akanjs/devkit/biomeBase.ts
|
|
75
|
-
var biomeVersion = "2.5.
|
|
75
|
+
var biomeVersion = "2.5.12";
|
|
76
76
|
|
|
77
77
|
// pkgs/@akanjs/cli/workspace/workspace.runner.ts
|
|
78
78
|
var defaultWorkspacePeerDependencies = new Set([
|