@akanjs/cli 3.1.1-rc.4 → 3.1.1-rc.6
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-8hfzq1zs.js → CodeAgent-y6ppa10x.js} +2 -2
- package/{CodeTui-kj6ng91g.js → CodeTui-dy37zz3j.js} +1 -1
- package/TunnelShare-mnn0jxnp.js +14 -0
- package/{agent.command-2gay26y4.js → agent.command-ydftceda.js} +5 -5
- package/akanCode.js +2 -2
- package/{application.command-a3aepayy.js → application.command-fdghyjfj.js} +9 -9
- package/{applicationBuildRunner-xye2sqrm.js → applicationBuildRunner-t2r84sz6.js} +72 -26
- package/buildBatch.proc.js +5 -5
- package/{cloud.command-t2zdcw87.js → cloud.command-eyxwxnrn.js} +13 -13
- package/cloud.script-c9f92bev.js +24 -0
- package/{code.command-184jfjtk.js → code.command-4kqbrjt9.js} +6 -6
- package/{context.command-kx0kzz3t.js → context.command-h56yvjay.js} +16 -16
- package/context.runner-cf11819z.js +25 -0
- package/{guideline.command-72psmnpx.js → guideline.command-snh85ctf.js} +2 -2
- package/guidelines/agentRule/agentRule.instruction.md +5 -2
- package/guidelines/conventions/conventions.instruction.md +10 -7
- package/guidelines/pageRule/pageRule.instruction.md +8 -0
- package/guidelines/queryRule/queryRule.instruction.md +10 -1
- package/guidelines/runtimeRule/runtimeRule.instruction.md +12 -0
- package/guidelines/workspaceOnboarding/workspaceOnboarding.instruction.md +2 -1
- package/incrementalBuilder.proc.js +3 -3
- package/{index-0fpeb7x7.js → index-0fz95kxe.js} +1 -1
- package/{index-jn8gfj2b.js → index-12ny6e0x.js} +9 -9
- package/{index-sxqjxb4j.js → index-2xcc2ax5.js} +2 -2
- package/{index-md6026rp.js → index-31es1yev.js} +24 -2
- package/{index-azrhhgtb.js → index-3wypz6xj.js} +59 -8
- package/{index-kb51mayy.js → index-40brg4px.js} +3 -3
- package/{index-mtf0cx8t.js → index-42j4a8zq.js} +2 -2
- package/{index-x6c29k5m.js → index-44hh6bx2.js} +7 -7
- package/{index-qp73c26e.js → index-4vgbysa0.js} +3 -3
- package/{index-5anqj3bm.js → index-74tjjsnc.js} +4 -4
- package/{index-q0e6604h.js → index-905qdgqp.js} +1 -1
- package/{index-0dnv1039.js → index-b70zct19.js} +7 -7
- package/{index-bxjacq5c.js → index-bksa6cqh.js} +3 -3
- package/{index-s28awecf.js → index-ds2tmxgx.js} +3 -3
- package/{index-hrc7q2e6.js → index-e9b3zh22.js} +2 -2
- package/{index-eyhqttvh.js → index-espk51ah.js} +2 -2
- package/{index-3wfw8jb8.js → index-hmt54t45.js} +4 -4
- package/{index-zz5731qs.js → index-j9vyj3dj.js} +3 -3
- package/{index-xhnw8n74.js → index-jg2xev75.js} +2 -1
- package/{index-rqcmr940.js → index-jhbkzc8c.js} +4 -4
- package/{index-hqaa4y3y.js → index-kr9vpvdn.js} +8 -8
- package/{index-v1gz5vja.js → index-krz4bcg5.js} +1 -1
- package/{index-yaz7yks8.js → index-pcwzkdqb.js} +1 -1
- package/{index-ssseyt0n.js → index-secyhsjs.js} +4 -4
- package/{index-4q1amb3p.js → index-skk9zc1x.js} +2 -2
- package/{index-trjhp735.js → index-wcej7g4z.js} +5 -5
- package/{index-4g6te8sa.js → index-xb8809yb.js} +2 -2
- package/{index-9z37veck.js → index-xjf5j657.js} +1 -1
- package/{index-ggfjqpp4.js → index-zz4vrw85.js} +1 -1
- package/index.js +22 -22
- package/{library.command-tnxw0yb4.js → library.command-gycrwhf1.js} +3 -3
- package/{localRegistry.command-dy0byd6z.js → localRegistry.command-bajag7gm.js} +12 -12
- package/{module.command-8pjk6vmm.js → module.command-v6hgs1bc.js} +5 -5
- package/{package.command-b831nx2n.js → package.command-shzpcfph.js} +3 -3
- package/package.json +2 -2
- package/{page.command-earjccmn.js → page.command-ptxn5kqk.js} +3 -3
- package/{pipeline.command-yt8bq91c.js → pipeline.command-zz31pgax.js} +2 -2
- package/{primitive.command-8dw8ra1x.js → primitive.command-a1vse91z.js} +6 -6
- package/{projectTypecheck-btbw3nyf.js → projectTypecheck-2ztky9cf.js} +1 -1
- package/{quality.command-j2c4a2zg.js → quality.command-ah8qcakd.js} +2 -2
- package/{repair.command-7jv7bgc4.js → repair.command-cvazbz99.js} +5 -5
- package/{scalar.command-vwjk94zr.js → scalar.command-0acvyp26.js} +4 -4
- package/{subspace.command-xjw4tc0p.js → subspace.command-dzpfbc99.js} +8 -8
- package/templates/app/tsconfig.json.template +2 -7
- package/templates/workspaceRoot/bunfig.toml.template +0 -4
- package/{tunnel.command-zm29dgkr.js → tunnel.command-cfw6f0vz.js} +7 -7
- package/{workflow.command-nyjc1mxx.js → workflow.command-abb1d5xy.js} +10 -10
- package/{workspace.command-rq7mgq6f.js → workspace.command-5rc8f0wt.js} +30 -31
- package/TunnelShare-ycmz33ve.js +0 -14
- package/cloud.script-mm636g83.js +0 -24
- package/context.runner-d7dhvbc7.js +0 -25
|
@@ -3,20 +3,20 @@ import {
|
|
|
3
3
|
Workspace,
|
|
4
4
|
script,
|
|
5
5
|
command
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-3wypz6xj.js";
|
|
7
7
|
import"./index-52w0fvh8.js";
|
|
8
|
-
import"./index-
|
|
8
|
+
import"./index-wcej7g4z.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-xjf5j657.js";
|
|
11
|
+
import"./index-31es1yev.js";
|
|
12
|
+
import"./index-905qdgqp.js";
|
|
13
|
+
import"./index-hmt54t45.js";
|
|
14
|
+
import"./index-74tjjsnc.js";
|
|
15
|
+
import"./index-j9vyj3dj.js";
|
|
16
|
+
import"./index-skk9zc1x.js";
|
|
17
17
|
import {
|
|
18
18
|
WorkflowRunner
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-b70zct19.js";
|
|
20
20
|
|
|
21
21
|
// pkgs/@akanjs/cli/workflow/workflow.script.ts
|
|
22
22
|
import { Logger } from "akanjs/common";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
runner,
|
|
6
6
|
script,
|
|
7
7
|
command
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-3wypz6xj.js";
|
|
9
9
|
import {
|
|
10
10
|
FileSys2
|
|
11
11
|
} from "./index-52w0fvh8.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
AppExecutor,
|
|
20
20
|
LibExecutor,
|
|
21
21
|
PkgExecutor
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-wcej7g4z.js";
|
|
23
23
|
import {
|
|
24
24
|
countBlocking,
|
|
25
25
|
formatStyleContract,
|
|
@@ -29,48 +29,48 @@ import {
|
|
|
29
29
|
collectRecipeSources2,
|
|
30
30
|
scanRecipes2
|
|
31
31
|
} from "./index-hj6w4ka1.js";
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
32
|
+
import"./index-xjf5j657.js";
|
|
33
|
+
import"./index-31es1yev.js";
|
|
34
34
|
import"./index-zzvvc845.js";
|
|
35
35
|
import {
|
|
36
36
|
AgentScript
|
|
37
|
-
} from "./index-
|
|
37
|
+
} from "./index-4vgbysa0.js";
|
|
38
38
|
import"./index-5nd1wtkv.js";
|
|
39
|
-
import"./index-
|
|
39
|
+
import"./index-jg2xev75.js";
|
|
40
40
|
import"./index-m9jj544v.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
41
|
+
import"./index-ds2tmxgx.js";
|
|
42
|
+
import"./index-xb8809yb.js";
|
|
43
|
+
import"./index-0fz95kxe.js";
|
|
44
44
|
import {
|
|
45
45
|
LibraryScript
|
|
46
|
-
} from "./index-
|
|
46
|
+
} from "./index-2xcc2ax5.js";
|
|
47
47
|
import {
|
|
48
48
|
ApplicationScript
|
|
49
|
-
} from "./index-
|
|
49
|
+
} from "./index-12ny6e0x.js";
|
|
50
50
|
import"./index-7md2g9vw.js";
|
|
51
|
-
import"./index-
|
|
51
|
+
import"./index-e9b3zh22.js";
|
|
52
52
|
import"./index-tvehn2sp.js";
|
|
53
53
|
import {
|
|
54
54
|
PackageScript
|
|
55
|
-
} from "./index-
|
|
55
|
+
} from "./index-42j4a8zq.js";
|
|
56
56
|
import {
|
|
57
57
|
getNpmRegistryUrl,
|
|
58
58
|
getLatestPackageVersion
|
|
59
|
-
} from "./index-
|
|
59
|
+
} from "./index-jhbkzc8c.js";
|
|
60
60
|
import {
|
|
61
61
|
CloudScript2
|
|
62
|
-
} from "./index-
|
|
63
|
-
import"./index-
|
|
64
|
-
import"./index-
|
|
65
|
-
import"./index-
|
|
66
|
-
import"./index-
|
|
67
|
-
import"./index-
|
|
68
|
-
import"./index-
|
|
69
|
-
import"./index-
|
|
62
|
+
} from "./index-44hh6bx2.js";
|
|
63
|
+
import"./index-kr9vpvdn.js";
|
|
64
|
+
import"./index-j9vyj3dj.js";
|
|
65
|
+
import"./index-905qdgqp.js";
|
|
66
|
+
import"./index-hmt54t45.js";
|
|
67
|
+
import"./index-74tjjsnc.js";
|
|
68
|
+
import"./index-skk9zc1x.js";
|
|
69
|
+
import"./index-b70zct19.js";
|
|
70
70
|
import {
|
|
71
71
|
ContextScript
|
|
72
|
-
} from "./index-
|
|
73
|
-
import"./index-
|
|
72
|
+
} from "./index-secyhsjs.js";
|
|
73
|
+
import"./index-pcwzkdqb.js";
|
|
74
74
|
|
|
75
75
|
// pkgs/@akanjs/cli/workspace/workspace.runner.ts
|
|
76
76
|
import { mkdir, writeFile } from "fs/promises";
|
|
@@ -134,10 +134,10 @@ class WorkspaceRunner extends runner("workspace") {
|
|
|
134
134
|
owner = ""
|
|
135
135
|
}) {
|
|
136
136
|
const cwdPath = process.cwd();
|
|
137
|
-
const workspaceRoot = path.
|
|
137
|
+
const workspaceRoot = path.resolve(cwdPath, dirname, repoName);
|
|
138
138
|
const normalizedRegistryUrl = registryUrl ? getNpmRegistryUrl(registryUrl) : undefined;
|
|
139
139
|
const workspace = WorkspaceExecutor.fromRoot({ workspaceRoot, repoName });
|
|
140
|
-
const templateSpinner = workspace.spinning(`Creating workspace template files in ${
|
|
140
|
+
const templateSpinner = workspace.spinning(`Creating workspace template files in ${workspaceRoot}...`);
|
|
141
141
|
const latestTypesBunVersion = await getLatestPackageVersion("@types/bun", "latest", normalizedRegistryUrl);
|
|
142
142
|
await workspace.applyTemplate({
|
|
143
143
|
basePath: ".",
|
|
@@ -147,7 +147,7 @@ class WorkspaceRunner extends runner("workspace") {
|
|
|
147
147
|
if (normalizedRegistryUrl)
|
|
148
148
|
await workspace.writeFile(".npmrc", `registry=${normalizedRegistryUrl}/
|
|
149
149
|
`);
|
|
150
|
-
templateSpinner.succeed(`Workspace files created in ${
|
|
150
|
+
templateSpinner.succeed(`Workspace files created in ${workspaceRoot}`);
|
|
151
151
|
const [rootPackageJson, peerDependencies] = await Promise.all([
|
|
152
152
|
workspace.getPackageJson(),
|
|
153
153
|
this.#getAkanPeerDependencies()
|
|
@@ -166,6 +166,7 @@ class WorkspaceRunner extends runner("workspace") {
|
|
|
166
166
|
"@types/bun": latestTypesBunVersion,
|
|
167
167
|
...defaultWorkspaceTypeDependencies,
|
|
168
168
|
"@akanjs/devkit": akanVersion,
|
|
169
|
+
"@akanjs/cli": akanVersion,
|
|
169
170
|
...typescript ? { typescript } : {}
|
|
170
171
|
}
|
|
171
172
|
};
|
|
@@ -319,7 +320,6 @@ AKAN_PUBLIC_LOG_LEVEL=debug
|
|
|
319
320
|
}
|
|
320
321
|
|
|
321
322
|
// pkgs/@akanjs/cli/workspace/workspace.script.ts
|
|
322
|
-
import path2 from "path";
|
|
323
323
|
import { Logger } from "akanjs/common";
|
|
324
324
|
class WorkspaceScript extends script("workspace", [
|
|
325
325
|
WorkspaceRunner,
|
|
@@ -372,10 +372,9 @@ class WorkspaceScript extends script("workspace", [
|
|
|
372
372
|
} catch (_) {
|
|
373
373
|
gitSpinner.fail("Git repository initialization failed. It's not fatal, you can commit manually");
|
|
374
374
|
}
|
|
375
|
-
const workspacePath = path2.join(dirname, repoName);
|
|
376
375
|
Logger.rawLog(`
|
|
377
|
-
\uD83C\uDF89 Welcome aboard! Workspace created in ${
|
|
378
|
-
Logger.rawLog(`\uD83D\uDE80 Run \`cd ${
|
|
376
|
+
\uD83C\uDF89 Welcome aboard! Workspace created in ${workspace.workspaceRoot}`);
|
|
377
|
+
Logger.rawLog(`\uD83D\uDE80 Run \`cd ${workspace.workspaceRoot} && akan start ${appName}\` to start the development server.`);
|
|
379
378
|
Logger.rawLog(`
|
|
380
379
|
\uD83D\uDC4B Happy coding!`);
|
|
381
380
|
}
|
package/TunnelShare-ycmz33ve.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
TunnelShare2
|
|
4
|
-
} from "./index-ggfjqpp4.js";
|
|
5
|
-
import"./index-hrc7q2e6.js";
|
|
6
|
-
import"./index-s28awecf.js";
|
|
7
|
-
import"./index-m9jj544v.js";
|
|
8
|
-
import"./index-4g6te8sa.js";
|
|
9
|
-
import"./index-0fpeb7x7.js";
|
|
10
|
-
import"./index-trjhp735.js";
|
|
11
|
-
import"./index-52w0fvh8.js";
|
|
12
|
-
export {
|
|
13
|
-
TunnelShare2 as TunnelShare
|
|
14
|
-
};
|
package/cloud.script-mm636g83.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
CloudScript2
|
|
4
|
-
} from "./index-x6c29k5m.js";
|
|
5
|
-
import"./index-rqcmr940.js";
|
|
6
|
-
import"./index-jn8gfj2b.js";
|
|
7
|
-
import"./index-yaz7yks8.js";
|
|
8
|
-
import"./index-sxqjxb4j.js";
|
|
9
|
-
import"./index-mtf0cx8t.js";
|
|
10
|
-
import"./index-xhnw8n74.js";
|
|
11
|
-
import"./index-hrc7q2e6.js";
|
|
12
|
-
import"./index-s28awecf.js";
|
|
13
|
-
import"./index-m9jj544v.js";
|
|
14
|
-
import"./index-azrhhgtb.js";
|
|
15
|
-
import"./index-7md2g9vw.js";
|
|
16
|
-
import"./index-4g6te8sa.js";
|
|
17
|
-
import"./index-5nd1wtkv.js";
|
|
18
|
-
import"./index-0fpeb7x7.js";
|
|
19
|
-
import"./index-trjhp735.js";
|
|
20
|
-
import"./index-tvehn2sp.js";
|
|
21
|
-
import"./index-52w0fvh8.js";
|
|
22
|
-
export {
|
|
23
|
-
CloudScript2 as CloudScript
|
|
24
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
ContextRunner2
|
|
4
|
-
} from "./index-hqaa4y3y.js";
|
|
5
|
-
import"./index-0dnv1039.js";
|
|
6
|
-
import"./index-4q1amb3p.js";
|
|
7
|
-
import"./index-5anqj3bm.js";
|
|
8
|
-
import"./index-zz5731qs.js";
|
|
9
|
-
import"./index-3wfw8jb8.js";
|
|
10
|
-
import"./index-q0e6604h.js";
|
|
11
|
-
import"./index-xhnw8n74.js";
|
|
12
|
-
import"./index-s28awecf.js";
|
|
13
|
-
import"./index-m9jj544v.js";
|
|
14
|
-
import"./index-md6026rp.js";
|
|
15
|
-
import"./index-9z37veck.js";
|
|
16
|
-
import"./index-zzvvc845.js";
|
|
17
|
-
import"./index-azrhhgtb.js";
|
|
18
|
-
import"./index-4g6te8sa.js";
|
|
19
|
-
import"./index-0fpeb7x7.js";
|
|
20
|
-
import"./index-trjhp735.js";
|
|
21
|
-
import"./index-hj6w4ka1.js";
|
|
22
|
-
import"./index-52w0fvh8.js";
|
|
23
|
-
export {
|
|
24
|
-
ContextRunner2 as ContextRunner
|
|
25
|
-
};
|