@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 CHANGED
@@ -1 +1 @@
1
- a39c669b04132373380cce9a4d43a8a4fa028fbf2d14255e9f7b3a453a7d3c5d
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-m7e0f1sy.js";
14
+ } from "./index-a6c5pc4p.js";
15
15
  import"./index-xxe90kqy.js";
16
- import"./index-ctphds8v.js";
16
+ import"./index-9wtbw98m.js";
17
17
  import {
18
18
  AbstractDoc
19
19
  } from "./index-meh558jy.js";
@@ -10,7 +10,7 @@ import {
10
10
  SsrBaseArtifactBuilder
11
11
  } from "./index-z3c9mmw4.js";
12
12
  import"./index-x23688ar.js";
13
- import"./index-ctphds8v.js";
13
+ import"./index-9wtbw98m.js";
14
14
  import"./index-n68jx79w.js";
15
15
 
16
16
  // pkgs/@akanjs/devkit/applicationBuildRunner.ts
@@ -13,7 +13,7 @@ import {
13
13
  SsrBaseArtifactBuilder
14
14
  } from "./index-z3c9mmw4.js";
15
15
  import"./index-x23688ar.js";
16
- import"./index-ctphds8v.js";
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-m7e0f1sy.js";
12
+ import"./index-a6c5pc4p.js";
13
13
  import"./index-xxe90kqy.js";
14
- import"./index-ctphds8v.js";
14
+ import"./index-9wtbw98m.js";
15
15
  import"./index-mfm35dhh.js";
16
16
  import"./index-a8h184wr.js";
17
- import"./index-1tgp56ke.js";
17
+ import"./index-6c3ex9qw.js";
18
18
  import {
19
19
  CloudScript
20
- } from "./index-ypvdw8nr.js";
20
+ } from "./index-gz0c482j.js";
21
21
  import"./index-m9c7k0gm.js";
22
22
 
23
23
  // pkgs/@akanjs/cli/cloud/cloud.command.ts
@@ -15,7 +15,7 @@ import {
15
15
  import {
16
16
  HmrWatcher,
17
17
  WatchRootResolver
18
- } from "./index-ctphds8v.js";
18
+ } from "./index-9wtbw98m.js";
19
19
  import {
20
20
  prepareDevWatchBatch
21
21
  } from "./index-a5vmm6x4.js";
@@ -14,7 +14,7 @@ import {
14
14
  } from "./index-ft1sfjz0.js";
15
15
  import {
16
16
  openBrowser
17
- } from "./index-m7e0f1sy.js";
17
+ } from "./index-a6c5pc4p.js";
18
18
 
19
19
  // pkgs/@akanjs/cli/npmRegistry.ts
20
20
  var defaultNpmRegistry = "https://registry.npmjs.org";
@@ -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
- if (fs2.existsSync(resolved))
486
- set.add(resolved);
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-ctphds8v.js";
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-tavpx3fv.js")).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-m7e0f1sy.js";
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-1tgp56ke.js";
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-4ztb4fdh.js")).WorkspaceCommand,
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-4fq5pmdd.js")).ApplicationCommand,
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-gk773cte.js")).LocalRegistryCommand,
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-wm3mtfve.js")).CloudCommand,
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-m7e0f1sy.js";
15
+ } from "./index-a6c5pc4p.js";
16
16
  import"./index-xxe90kqy.js";
17
- import"./index-ctphds8v.js";
17
+ import"./index-9wtbw98m.js";
18
18
  import"./index-wet2ytnr.js";
19
19
  import {
20
20
  getNpmRegistryUrl,
21
21
  CloudRunner
22
- } from "./index-1tgp56ke.js";
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.84",
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.84",
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 --config-path=.husky/biome.precommit.json --no-errors-on-unmatched --diagnostic-level=error
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
@@ -3,7 +3,7 @@
3
3
  "editor.defaultFormatter": "biomejs.biome",
4
4
  "editor.formatOnSave": true,
5
5
  "editor.codeActionsOnSave": {
6
- "source.fixAll.biome": "never"
6
+ "source.fixAll.biome": "always"
7
7
  },
8
8
  "[typescript]": {
9
9
  "editor.defaultFormatter": "biomejs.biome"
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.5.8/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.5.12/schema.json",
3
3
  "extends": ["@akanjs/devkit/biome.base.json"],
4
4
  "files": {
5
5
  "includes": [
@@ -40,11 +40,11 @@ import {
40
40
  } from "./index-5n0hf8r9.js";
41
41
  import {
42
42
  ApplicationScript
43
- } from "./index-m7e0f1sy.js";
43
+ } from "./index-a6c5pc4p.js";
44
44
  import {
45
45
  LibraryScript
46
46
  } from "./index-xxe90kqy.js";
47
- import"./index-ctphds8v.js";
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-1tgp56ke.js";
55
+ } from "./index-6c3ex9qw.js";
56
56
  import {
57
57
  CloudScript
58
- } from "./index-ypvdw8nr.js";
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.8";
75
+ var biomeVersion = "2.5.12";
76
76
 
77
77
  // pkgs/@akanjs/cli/workspace/workspace.runner.ts
78
78
  var defaultWorkspacePeerDependencies = new Set([
@@ -1,10 +0,0 @@
1
- {
2
- "$schema": "https://biomejs.dev/schemas/2.5.8/schema.json",
3
- "extends": ["../biome.json"],
4
- "linter": {
5
- "domains": {
6
- "types": "all",
7
- "project": "recommended"
8
- }
9
- }
10
- }