@akanjs/cli 3.1.1-rc.0 → 3.1.1-rc.10
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-4pnxwptq.js → CodeAgent-8d5qs787.js} +2 -2
- package/{CodeTui-hhndze8h.js → CodeTui-z5vkm9ea.js} +1 -1
- package/TunnelShare-qkm8zp03.js +14 -0
- package/{agent.command-p02330r6.js → agent.command-ydftceda.js} +5 -5
- package/akanCode.js +2 -2
- package/{application.command-ywks5ywm.js → application.command-wthg8nn9.js} +18 -13
- package/{applicationBuildRunner-9cnnsdm5.js → applicationBuildRunner-t2r84sz6.js} +72 -26
- package/buildBatch.proc.js +5 -5
- package/{cloud.command-1tzkvje1.js → cloud.command-sz11hpre.js} +22 -17
- package/cloud.script-nqevg5qw.js +24 -0
- package/{code.command-16pm1p2v.js → code.command-9h3yrzhe.js} +6 -6
- package/{context.command-6ys86sqf.js → context.command-15j9b7c0.js} +16 -16
- package/context.runner-8gg030b0.js +25 -0
- package/{guideline.command-3zay3d8g.js → guideline.command-snh85ctf.js} +2 -2
- package/guidelines/agentRule/agentRule.instruction.md +21 -4
- package/guidelines/conventions/conventions.instruction.md +17 -10
- package/guidelines/mcpRule/mcpRule.instruction.md +13 -6
- package/guidelines/pageRule/pageRule.instruction.md +21 -5
- package/guidelines/queryRule/queryRule.instruction.md +13 -1
- package/guidelines/runtimeRule/runtimeRule.instruction.md +20 -2
- package/guidelines/ssrRule/ssrRule.instruction.md +6 -1
- package/guidelines/transportRule/transportRule.instruction.md +12 -5
- package/guidelines/workspaceOnboarding/workspaceOnboarding.instruction.md +2 -1
- package/incrementalBuilder.proc.js +3 -3
- package/{index-jgs8z8xb.js → index-0fz95kxe.js} +1 -1
- package/{index-1f33g2z5.js → index-2azahjaw.js} +81 -28
- package/{index-kcbq2qcf.js → index-2mwc0g0d.js} +1 -1
- package/{index-qkcwsg6r.js → index-2xcc2ax5.js} +2 -2
- package/{index-68c3gzvg.js → index-301pdbzz.js} +56 -9
- package/{index-z6v7k9sb.js → index-31es1yev.js} +24 -2
- package/{index-p4dnj2wc.js → index-3wypz6xj.js} +59 -8
- package/{index-e9e9cebg.js → index-40brg4px.js} +3 -3
- package/{index-tk3jg2bm.js → index-42j4a8zq.js} +2 -2
- package/{index-1mfyyxh5.js → index-4vgbysa0.js} +3 -3
- package/{index-9hbhm6cs.js → index-55j120r8.js} +1 -1
- package/{index-vg28jsf9.js → index-6txx6a9p.js} +214 -71
- package/{index-zn6bn1s2.js → index-74tjjsnc.js} +4 -4
- package/{index-g2s33373.js → index-905qdgqp.js} +1 -1
- package/{index-qtkycaqn.js → index-9th4gszy.js} +38 -21
- package/{index-bb4hj03s.js → index-a58emady.js} +10 -10
- package/{index-4w3skd33.js → index-a5dhqkdr.js} +3 -3
- package/{index-sh9mmp5v.js → index-b70zct19.js} +7 -7
- package/{index-z9xepn8t.js → index-bt438yxm.js} +556 -142
- package/{index-ngpn9hzy.js → index-espk51ah.js} +2 -2
- package/{index-b5vptvnt.js → index-hmt54t45.js} +4 -4
- package/{index-qfzfaq96.js → index-j9vyj3dj.js} +3 -3
- package/{index-ekpp5tax.js → index-js6geqjn.js} +4 -97
- package/{index-fmder14z.js → index-pcwzkdqb.js} +1 -1
- package/{index-jaa81e9r.js → index-qfp55x1y.js} +4 -4
- package/{index-sng3vt0p.js → index-skk9zc1x.js} +2 -2
- package/{index-rr7jk14m.js → index-wcej7g4z.js} +13 -10
- package/{index-q8age5az.js → index-xb8809yb.js} +2 -2
- package/{index-ynqxpwx6.js → index-xjf5j657.js} +1 -1
- package/index.js +22 -22
- package/{library.command-a8n9h8j4.js → library.command-gycrwhf1.js} +3 -3
- package/{localRegistry.command-1e6m7w2f.js → localRegistry.command-jtd8gaes.js} +12 -12
- package/{module.command-b6f1p1xa.js → module.command-v6hgs1bc.js} +5 -5
- package/{package.command-tc27ftmy.js → package.command-shzpcfph.js} +3 -3
- package/package.json +2 -2
- package/{page.command-m5wyqfkd.js → page.command-ptxn5kqk.js} +3 -3
- package/{pipeline.command-4qxyafpz.js → pipeline.command-zz31pgax.js} +2 -2
- package/{primitive.command-9yaatk0d.js → primitive.command-a1vse91z.js} +6 -6
- package/{projectTypecheck-87k6z6ab.js → projectTypecheck-2ztky9cf.js} +1 -1
- package/{quality.command-ht1wjhv8.js → quality.command-ah8qcakd.js} +387 -73
- package/{repair.command-evg9g911.js → repair.command-cvazbz99.js} +5 -5
- package/{scalar.command-xsejjeq1.js → scalar.command-0acvyp26.js} +4 -4
- package/{subspace.command-ps12q5y7.js → subspace.command-822qx2bx.js} +8 -8
- package/templates/app/tsconfig.json.template +2 -7
- package/templates/env/_env.server.type.ts +10 -5
- package/templates/facetIndex/index.ts +2 -2
- package/templates/workspaceRoot/bunfig.toml.template +0 -4
- package/{tunnel.command-khzgvrj8.js → tunnel.command-ycmja19q.js} +7 -7
- package/{workflow.command-qpyq0ya5.js → workflow.command-abb1d5xy.js} +10 -10
- package/{workspace.command-3dq7e9g2.js → workspace.command-qm7cw29v.js} +33 -32
- package/TunnelShare-zmq6bbar.js +0 -14
- package/cloud.script-8g83xqdg.js +0 -24
- package/context.runner-3jrypwe3.js +0 -25
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
CsrDevPaths,
|
|
20
20
|
PagesEntrySourceGenerator,
|
|
21
21
|
PagesBundleBuilder
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-0fz95kxe.js";
|
|
23
23
|
import {
|
|
24
24
|
AsyncDefaultExportDetector,
|
|
25
25
|
resolveSsrPageEntriesForApp
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-wcej7g4z.js";
|
|
27
27
|
|
|
28
28
|
// pkgs/@akanjs/devkit/frontendBuild/autoImportSync.ts
|
|
29
29
|
import { readdir, readFile, stat } from "fs/promises";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
runner,
|
|
4
4
|
script
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-3wypz6xj.js";
|
|
6
6
|
import {
|
|
7
7
|
ModuleExecutor
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-wcej7g4z.js";
|
|
9
9
|
import {
|
|
10
10
|
sourceFile,
|
|
11
11
|
moduleSourcePaths,
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
createPassedPrimitiveReport,
|
|
14
14
|
bilingualLabelForField,
|
|
15
15
|
bilingualDescriptionForField
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-xjf5j657.js";
|
|
17
17
|
import {
|
|
18
18
|
PageScript
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-905qdgqp.js";
|
|
20
20
|
import {
|
|
21
21
|
pluralizeName
|
|
22
22
|
} from "./index-nz8prx9g.js";
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
writeGeneratedSyncState,
|
|
6
6
|
createRepairReport,
|
|
7
7
|
renderRepairReport
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-xjf5j657.js";
|
|
9
9
|
import {
|
|
10
10
|
AkanContextAnalyzer
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-31es1yev.js";
|
|
12
12
|
import {
|
|
13
13
|
runner
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-3wypz6xj.js";
|
|
15
15
|
|
|
16
16
|
// pkgs/@akanjs/cli/repair/repair.runner.ts
|
|
17
17
|
var spawnShell = async (workspace, command) => await workspace.spawn("bash", ["-lc", command.startsWith("akan ") ? `bun run ${command}` : command], {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
DesktopBin
|
|
4
|
-
|
|
5
|
-
} from "./index-z9xepn8t.js";
|
|
3
|
+
DesktopBin
|
|
4
|
+
} from "./index-bt438yxm.js";
|
|
6
5
|
// pkgs/@akanjs/devkit/mobile/desktopServerStage.ts
|
|
7
6
|
import { cp, mkdir, readdir, rm, writeFile } from "fs/promises";
|
|
8
7
|
import path from "path";
|
|
@@ -12,6 +11,7 @@ class DesktopServerStage {
|
|
|
12
11
|
static uncarried = new Set([
|
|
13
12
|
"Dockerfile",
|
|
14
13
|
"package.json",
|
|
14
|
+
"bun.lock",
|
|
15
15
|
"rscWorker.js",
|
|
16
16
|
"console.js",
|
|
17
17
|
"console-runtime.js",
|
|
@@ -145,97 +145,4 @@ var isPlaceholderAppId = (appId) => {
|
|
|
145
145
|
return true;
|
|
146
146
|
return normalized.split(".").some((segment) => placeholderAppIdSegment.test(segment));
|
|
147
147
|
};
|
|
148
|
-
|
|
149
|
-
import { readdir as readdir2 } from "fs/promises";
|
|
150
|
-
import path2 from "path";
|
|
151
|
-
import { isRecord, trimTrailingSlashes } from "akanjs/common";
|
|
152
|
-
class UpdateUploader {
|
|
153
|
-
bucket;
|
|
154
|
-
prefix;
|
|
155
|
-
static #manifest = /\.json(?:\.sig)?$/;
|
|
156
|
-
static parseTarget(target) {
|
|
157
|
-
const match = /^s3:\/\/([^/]+)(?:\/(.*))?$/.exec(target.trim());
|
|
158
|
-
if (!match?.[1])
|
|
159
|
-
throw new Error(`--upload takes s3://<bucket>/<prefix>, not ${JSON.stringify(target)}.`);
|
|
160
|
-
return { bucket: match[1], prefix: trimTrailingSlashes(match[2] ?? "") };
|
|
161
|
-
}
|
|
162
|
-
static order(files) {
|
|
163
|
-
const manifests = files.filter((file) => UpdateUploader.#manifest.test(file));
|
|
164
|
-
return {
|
|
165
|
-
releases: files.filter((file) => !UpdateUploader.#manifest.test(file)).sort((a, b) => a.localeCompare(b)),
|
|
166
|
-
manifests: manifests.sort((a, b) => Number(a.endsWith(".json")) - Number(b.endsWith(".json")) || a.localeCompare(b))
|
|
167
|
-
};
|
|
168
|
-
}
|
|
169
|
-
static async releaseFiles(updatesDir, { dir, channel, bundle }) {
|
|
170
|
-
const keyOf = (file) => UpdateUploader.#keyOf(updatesDir, dir, file);
|
|
171
|
-
const desktop = await UpdateUploader.#read(path2.join(dir, `${channel}.json`));
|
|
172
|
-
if (desktop?.bundle === bundle) {
|
|
173
|
-
const archive = desktop.archive?.url;
|
|
174
|
-
const patches = UpdateUploader.#field(desktop.patches, "url");
|
|
175
|
-
return [archive, ...patches, `${channel}.json.sig`, `${channel}.json`].map(keyOf);
|
|
176
|
-
}
|
|
177
|
-
const names = await readdir2(path2.join(dir, channel)).catch(() => []);
|
|
178
|
-
for (const name of names.filter((name) => name.endsWith(".json"))) {
|
|
179
|
-
const envelope = await UpdateUploader.#read(path2.join(dir, channel, name));
|
|
180
|
-
const manifest = typeof envelope?.manifest === "string" ? UpdateUploader.#parse(Buffer.from(envelope.manifest, "base64").toString("utf8")) : null;
|
|
181
|
-
if (manifest?.bundle !== bundle)
|
|
182
|
-
continue;
|
|
183
|
-
const hashes = [...new Set(UpdateUploader.#field(manifest.files, "sha256"))];
|
|
184
|
-
if (!hashes.every((hash) => typeof hash === "string" && /^[0-9a-f]{64}$/.test(hash)))
|
|
185
|
-
throw new Error(`${path2.join(dir, channel, name)} lists a file whose sha256 is not 64 hex digits; nothing was uploaded.`);
|
|
186
|
-
return [...hashes.map((hash) => `${UpdatePackFolder.filesDir}/${hash}`), `${channel}/${name}`].map(keyOf);
|
|
187
|
-
}
|
|
188
|
-
throw new Error(`${dir} holds no ${channel} manifest of release ${bundle}; nothing was uploaded.`);
|
|
189
|
-
}
|
|
190
|
-
static #keyOf(updatesDir, dir, file) {
|
|
191
|
-
const resolved = typeof file === "string" ? path2.resolve(dir, file) : "";
|
|
192
|
-
const key = path2.relative(updatesDir, resolved);
|
|
193
|
-
if (!resolved.startsWith(`${path2.resolve(dir)}${path2.sep}`) || key.startsWith("..") || path2.isAbsolute(key))
|
|
194
|
-
throw new Error(`The release in ${dir} names ${typeof file === "string" ? JSON.stringify(file) : "a file with no path"}, which is not inside that folder; nothing was uploaded.`);
|
|
195
|
-
return key.split(path2.sep).join("/");
|
|
196
|
-
}
|
|
197
|
-
static #field(list, key) {
|
|
198
|
-
return Array.isArray(list) ? list.map((item) => isRecord(item) ? item[key] : undefined) : [];
|
|
199
|
-
}
|
|
200
|
-
static async#read(file) {
|
|
201
|
-
const text = await Bun.file(file).text().catch(() => "");
|
|
202
|
-
return UpdateUploader.#parse(text);
|
|
203
|
-
}
|
|
204
|
-
static #parse(text) {
|
|
205
|
-
try {
|
|
206
|
-
const value = JSON.parse(text);
|
|
207
|
-
return isRecord(value) ? value : null;
|
|
208
|
-
} catch {
|
|
209
|
-
return null;
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
constructor(bucket, prefix) {
|
|
213
|
-
this.bucket = bucket;
|
|
214
|
-
this.prefix = prefix;
|
|
215
|
-
}
|
|
216
|
-
static forTarget(target) {
|
|
217
|
-
const { bucket, prefix } = UpdateUploader.parseTarget(target);
|
|
218
|
-
return new UpdateUploader(new Bun.S3Client({ bucket }), prefix);
|
|
219
|
-
}
|
|
220
|
-
async upload(updatesDir, release) {
|
|
221
|
-
const { releases, manifests } = UpdateUploader.order(await UpdateUploader.releaseFiles(updatesDir, release));
|
|
222
|
-
const keyOf = (file) => this.prefix ? `${this.prefix}/${file}` : file;
|
|
223
|
-
let uploaded = 0;
|
|
224
|
-
let skipped = 0;
|
|
225
|
-
for (const file of releases) {
|
|
226
|
-
if (await this.bucket.exists(keyOf(file))) {
|
|
227
|
-
skipped++;
|
|
228
|
-
continue;
|
|
229
|
-
}
|
|
230
|
-
await this.bucket.write(keyOf(file), Bun.file(path2.join(updatesDir, file)));
|
|
231
|
-
uploaded++;
|
|
232
|
-
}
|
|
233
|
-
for (const file of manifests) {
|
|
234
|
-
const type = file.endsWith(".json") ? "application/json" : "text/plain";
|
|
235
|
-
await this.bucket.write(keyOf(file), Bun.file(path2.join(updatesDir, file)), { type });
|
|
236
|
-
uploaded++;
|
|
237
|
-
}
|
|
238
|
-
return { uploaded, skipped };
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
export { DesktopServerStage, isPlaceholderAppId, UpdateUploader };
|
|
148
|
+
export { DesktopServerStage, isPlaceholderAppId };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
jsonText
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-xjf5j657.js";
|
|
5
5
|
import {
|
|
6
6
|
akanMcpInstallTargets
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-31es1yev.js";
|
|
8
8
|
import {
|
|
9
9
|
script
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-3wypz6xj.js";
|
|
11
11
|
import {
|
|
12
12
|
ContextRunner2
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-a58emady.js";
|
|
14
14
|
|
|
15
15
|
// pkgs/@akanjs/cli/context/context.script.ts
|
|
16
16
|
import { Logger } from "akanjs/common";
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
runner,
|
|
4
4
|
script
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-3wypz6xj.js";
|
|
6
6
|
import {
|
|
7
7
|
generatedFilesForSync,
|
|
8
8
|
createPassedPrimitiveReport,
|
|
9
9
|
scalarChangedFiles
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-xjf5j657.js";
|
|
11
11
|
import {
|
|
12
12
|
pluralizeName
|
|
13
13
|
} from "./index-nz8prx9g.js";
|
|
@@ -997,10 +997,10 @@ class AkanAppConfig {
|
|
|
997
997
|
...this.web.csr ? {} : { AKAN_CSR: "false" }
|
|
998
998
|
};
|
|
999
999
|
}
|
|
1000
|
-
dockerfileFor(environment) {
|
|
1001
|
-
return this.#makeDockerfile(environment);
|
|
1000
|
+
dockerfileFor(environment, { lockfile = true } = {}) {
|
|
1001
|
+
return this.#makeDockerfile(environment, lockfile);
|
|
1002
1002
|
}
|
|
1003
|
-
#makeDockerfile(environment) {
|
|
1003
|
+
#makeDockerfile(environment, lockfile = true) {
|
|
1004
1004
|
if (typeof this.docker === "string")
|
|
1005
1005
|
return this.docker;
|
|
1006
1006
|
const { image, preRuns, postRuns, command } = this.docker;
|
|
@@ -1016,8 +1016,8 @@ ${preRunScripts.join(`
|
|
|
1016
1016
|
`)}
|
|
1017
1017
|
RUN mkdir -p /workspace
|
|
1018
1018
|
WORKDIR /workspace
|
|
1019
|
-
COPY ./package.json ./package.json
|
|
1020
|
-
RUN bun install --production
|
|
1019
|
+
${lockfile ? "COPY ./package.json ./bun.lock ./" : "COPY ./package.json ./package.json"}
|
|
1020
|
+
RUN bun install --production${lockfile ? " --frozen-lockfile" : ""}
|
|
1021
1021
|
${postRunScripts.join(`
|
|
1022
1022
|
`)}
|
|
1023
1023
|
COPY . .
|
|
@@ -1853,15 +1853,17 @@ var emptyResult = (filePath) => ({
|
|
|
1853
1853
|
});
|
|
1854
1854
|
|
|
1855
1855
|
class Linter {
|
|
1856
|
-
static
|
|
1856
|
+
static biomeCommand(root) {
|
|
1857
|
+
const wrapper = path9.join(root, "node_modules", "@biomejs", "biome", "bin", "biome");
|
|
1858
|
+
return existsSync2(wrapper) ? [process.execPath, wrapper] : ["biome"];
|
|
1859
|
+
}
|
|
1857
1860
|
lintRoot;
|
|
1858
1861
|
configPath;
|
|
1859
|
-
#
|
|
1862
|
+
#biomeCommand;
|
|
1860
1863
|
constructor(cwdPath) {
|
|
1861
1864
|
this.lintRoot = this.#findBiomeRootPath(cwdPath);
|
|
1862
1865
|
this.configPath = Linter.#configPathIn(this.lintRoot) ?? path9.join(this.lintRoot, "biome.json");
|
|
1863
|
-
|
|
1864
|
-
this.#biomeBin = existsSync2(localBiomeBin) ? localBiomeBin : "biome";
|
|
1866
|
+
this.#biomeCommand = Linter.biomeCommand(this.lintRoot);
|
|
1865
1867
|
}
|
|
1866
1868
|
static #configPathIn(dir) {
|
|
1867
1869
|
for (const fileName of BIOME_CONFIG_FILES) {
|
|
@@ -1890,7 +1892,8 @@ class Linter {
|
|
|
1890
1892
|
}
|
|
1891
1893
|
async#runBiome(args, input) {
|
|
1892
1894
|
return await new Promise((resolve, reject) => {
|
|
1893
|
-
const
|
|
1895
|
+
const [command, ...prefixArgs] = this.#biomeCommand;
|
|
1896
|
+
const proc = spawn(command, [...prefixArgs, ...args], {
|
|
1894
1897
|
cwd: this.lintRoot,
|
|
1895
1898
|
stdio: ["pipe", "pipe", "pipe"]
|
|
1896
1899
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
resolveSsrPageEntriesForApp
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-wcej7g4z.js";
|
|
5
5
|
import {
|
|
6
6
|
bundleDefine,
|
|
7
7
|
CsrEntryFiles,
|
|
8
8
|
PagesEntrySourceGenerator,
|
|
9
9
|
PagesBundleBuilder
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-0fz95kxe.js";
|
|
11
11
|
|
|
12
12
|
// pkgs/@akanjs/devkit/frontendBuild/csrArtifactBuilder.ts
|
|
13
13
|
import { mkdir as mkdir2, rm as rm2, unlink as unlink2 } from "fs/promises";
|
package/index.js
CHANGED
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
getTargetMetas,
|
|
5
5
|
getTargetCommandNames,
|
|
6
6
|
runCommands
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-3wypz6xj.js";
|
|
8
8
|
import"./index-52w0fvh8.js";
|
|
9
|
-
import"./index-
|
|
9
|
+
import"./index-wcej7g4z.js";
|
|
10
10
|
|
|
11
11
|
// pkgs/@akanjs/cli/bunVersionGuard.ts
|
|
12
12
|
class BunVersionGuard {
|
|
@@ -22,26 +22,26 @@ import path from "path";
|
|
|
22
22
|
|
|
23
23
|
// pkgs/@akanjs/cli/commandModules.ts
|
|
24
24
|
var commandModules = {
|
|
25
|
-
workspace: async () => (await import("./workspace.command-
|
|
26
|
-
agent: async () => (await import("./agent.command-
|
|
27
|
-
code: async () => (await import("./code.command-
|
|
28
|
-
application: async () => (await import("./application.command-
|
|
29
|
-
library: async () => (await import("./library.command-
|
|
30
|
-
localRegistry: async () => (await import("./localRegistry.command-
|
|
31
|
-
package: async () => (await import("./package.command-
|
|
32
|
-
module: async () => (await import("./module.command-
|
|
33
|
-
page: async () => (await import("./page.command-
|
|
34
|
-
context: async () => (await import("./context.command-
|
|
35
|
-
cloud: async () => (await import("./cloud.command-
|
|
36
|
-
subspace: async () => (await import("./subspace.command-
|
|
37
|
-
guideline: async () => (await import("./guideline.command-
|
|
38
|
-
scalar: async () => (await import("./scalar.command-
|
|
39
|
-
primitive: async () => (await import("./primitive.command-
|
|
40
|
-
quality: async () => (await import("./quality.command-
|
|
41
|
-
repair: async () => (await import("./repair.command-
|
|
42
|
-
workflow: async () => (await import("./workflow.command-
|
|
43
|
-
pipeline: async () => (await import("./pipeline.command-
|
|
44
|
-
tunnel: async () => (await import("./tunnel.command-
|
|
25
|
+
workspace: async () => (await import("./workspace.command-qm7cw29v.js")).WorkspaceCommand,
|
|
26
|
+
agent: async () => (await import("./agent.command-ydftceda.js")).AgentCommand,
|
|
27
|
+
code: async () => (await import("./code.command-9h3yrzhe.js")).CodeCommand,
|
|
28
|
+
application: async () => (await import("./application.command-wthg8nn9.js")).ApplicationCommand,
|
|
29
|
+
library: async () => (await import("./library.command-gycrwhf1.js")).LibraryCommand,
|
|
30
|
+
localRegistry: async () => (await import("./localRegistry.command-jtd8gaes.js")).LocalRegistryCommand,
|
|
31
|
+
package: async () => (await import("./package.command-shzpcfph.js")).PackageCommand,
|
|
32
|
+
module: async () => (await import("./module.command-v6hgs1bc.js")).ModuleCommand,
|
|
33
|
+
page: async () => (await import("./page.command-ptxn5kqk.js")).PageCommand,
|
|
34
|
+
context: async () => (await import("./context.command-15j9b7c0.js")).ContextCommand,
|
|
35
|
+
cloud: async () => (await import("./cloud.command-sz11hpre.js")).CloudCommand,
|
|
36
|
+
subspace: async () => (await import("./subspace.command-822qx2bx.js")).SubspaceCommand,
|
|
37
|
+
guideline: async () => (await import("./guideline.command-snh85ctf.js")).GuidelineCommand,
|
|
38
|
+
scalar: async () => (await import("./scalar.command-0acvyp26.js")).ScalarCommand,
|
|
39
|
+
primitive: async () => (await import("./primitive.command-a1vse91z.js")).PrimitiveCommand,
|
|
40
|
+
quality: async () => (await import("./quality.command-ah8qcakd.js")).QualityCommand,
|
|
41
|
+
repair: async () => (await import("./repair.command-cvazbz99.js")).RepairCommand,
|
|
42
|
+
workflow: async () => (await import("./workflow.command-abb1d5xy.js")).WorkflowCommand,
|
|
43
|
+
pipeline: async () => (await import("./pipeline.command-zz31pgax.js")).PipelineCommand,
|
|
44
|
+
tunnel: async () => (await import("./tunnel.command-ycmja19q.js")).TunnelCommand
|
|
45
45
|
};
|
|
46
46
|
var commandModuleIds = Object.keys(commandModules);
|
|
47
47
|
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
Lib,
|
|
4
4
|
Workspace,
|
|
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 {
|
|
10
10
|
LibraryScript
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-2xcc2ax5.js";
|
|
12
12
|
|
|
13
13
|
// pkgs/@akanjs/cli/library/library.command.ts
|
|
14
14
|
class LibraryCommand extends command("library", [LibraryScript], ({ public: target }) => ({
|
|
@@ -4,32 +4,32 @@ import {
|
|
|
4
4
|
runner,
|
|
5
5
|
script,
|
|
6
6
|
command
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-3wypz6xj.js";
|
|
8
8
|
import"./index-52w0fvh8.js";
|
|
9
9
|
import {
|
|
10
10
|
PkgExecutor
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-wcej7g4z.js";
|
|
12
12
|
import"./index-5nd1wtkv.js";
|
|
13
|
-
import"./index-
|
|
13
|
+
import"./index-bt438yxm.js";
|
|
14
|
+
import"./index-js6geqjn.js";
|
|
14
15
|
import"./index-m9jj544v.js";
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-qkcwsg6r.js";
|
|
16
|
+
import"./index-xb8809yb.js";
|
|
17
|
+
import"./index-0fz95kxe.js";
|
|
18
|
+
import"./index-2xcc2ax5.js";
|
|
19
19
|
import {
|
|
20
20
|
ApplicationScript
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-9th4gszy.js";
|
|
22
22
|
import"./index-7md2g9vw.js";
|
|
23
|
-
import"./index-
|
|
23
|
+
import"./index-2azahjaw.js";
|
|
24
24
|
import {
|
|
25
25
|
getNpmRegistryUrl,
|
|
26
26
|
CloudRunner
|
|
27
|
-
} from "./index-
|
|
27
|
+
} from "./index-6txx6a9p.js";
|
|
28
28
|
import"./index-tvehn2sp.js";
|
|
29
29
|
import {
|
|
30
30
|
PackageScript
|
|
31
|
-
} from "./index-
|
|
32
|
-
import"./index-
|
|
31
|
+
} from "./index-42j4a8zq.js";
|
|
32
|
+
import"./index-pcwzkdqb.js";
|
|
33
33
|
|
|
34
34
|
// pkgs/@akanjs/cli/localRegistry/localRegistry.runner.ts
|
|
35
35
|
import { mkdir, rm } from "fs/promises";
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
Sys,
|
|
4
4
|
Module,
|
|
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 {
|
|
10
10
|
renderPrimitiveReport
|
|
11
|
-
} from "./index-
|
|
12
|
-
import"./index-
|
|
11
|
+
} from "./index-xjf5j657.js";
|
|
12
|
+
import"./index-905qdgqp.js";
|
|
13
13
|
import {
|
|
14
14
|
ModuleScript
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-hmt54t45.js";
|
|
16
16
|
|
|
17
17
|
// pkgs/@akanjs/cli/module/module.command.ts
|
|
18
18
|
import { Logger, lowerlize } from "akanjs/common";
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
Pkg,
|
|
4
4
|
Workspace,
|
|
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-tvehn2sp.js";
|
|
10
10
|
import {
|
|
11
11
|
PackageScript
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-42j4a8zq.js";
|
|
13
13
|
|
|
14
14
|
// pkgs/@akanjs/cli/package/package.command.ts
|
|
15
15
|
class PackageCommand extends command("package", [PackageScript], ({ public: target }) => ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akanjs/cli",
|
|
3
|
-
"version": "3.1.1-rc.
|
|
3
|
+
"version": "3.1.1-rc.10",
|
|
4
4
|
"sourceType": "module",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@earendil-works/pi-tui": "1.3.0",
|
|
40
40
|
"@inquirer/prompts": "^8.7.3",
|
|
41
41
|
"@tailwindcss/node": "^4.3.3",
|
|
42
|
-
"akanjs": "3.1.1-rc.
|
|
42
|
+
"akanjs": "3.1.1-rc.10",
|
|
43
43
|
"chalk": "^6.0.1",
|
|
44
44
|
"commander": "^15.0.0",
|
|
45
45
|
"dayjs": "^1.11.23",
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
App,
|
|
4
4
|
Module,
|
|
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 {
|
|
10
10
|
PageScript
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-905qdgqp.js";
|
|
12
12
|
|
|
13
13
|
// pkgs/@akanjs/cli/page/page.command.ts
|
|
14
14
|
class PageCommand extends command("page", [PageScript], ({ public: target }) => ({
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
runner,
|
|
5
5
|
script,
|
|
6
6
|
command
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-3wypz6xj.js";
|
|
8
8
|
import {
|
|
9
9
|
FileSys2
|
|
10
10
|
} from "./index-52w0fvh8.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
AkanAppConfig,
|
|
13
13
|
AkanWorkspaceConfig,
|
|
14
14
|
AppExecutor
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-wcej7g4z.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveMobileTargets
|
|
18
18
|
} from "./index-m9jj544v.js";
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Workspace,
|
|
4
4
|
command
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-3wypz6xj.js";
|
|
6
6
|
import"./index-52w0fvh8.js";
|
|
7
|
-
import"./index-
|
|
7
|
+
import"./index-wcej7g4z.js";
|
|
8
8
|
import {
|
|
9
9
|
renderPrimitiveReport
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
10
|
+
} from "./index-xjf5j657.js";
|
|
11
|
+
import"./index-905qdgqp.js";
|
|
12
|
+
import"./index-hmt54t45.js";
|
|
13
13
|
import {
|
|
14
14
|
PrimitiveScript
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-74tjjsnc.js";
|
|
16
16
|
|
|
17
17
|
// pkgs/@akanjs/cli/primitive/primitive.command.ts
|
|
18
18
|
import { Logger } from "akanjs/common";
|