@executablemd/cli 0.2.0 → 0.3.0
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/esm/deno.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"name": "@executablemd/cli",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"exports": "./src/cli.ts",
|
|
5
|
+
"imports": {
|
|
6
|
+
"@types/node": "npm:@types/node@^24.5.2",
|
|
7
|
+
"@durable-streams/client": "npm:@durable-streams/client@^0.2.2",
|
|
8
|
+
"@effectionx/bdd/node": "file:///Users/tarasmankovski/Repositories/taras/executable-markdown-agents/test-support/bdd.ts",
|
|
9
|
+
"@effectionx/bdd/expect": "file:///Users/tarasmankovski/Repositories/taras/executable-markdown-agents/test-support/expect.ts",
|
|
10
|
+
"@effectionx/test-adapter": "npm:@effectionx/test-adapter@0.7.4",
|
|
11
|
+
"effection": "npm:effection@4.1.0-alpha.7",
|
|
12
|
+
"effection/experimental": "npm:effection@4.1.0-alpha.7/experimental",
|
|
13
|
+
"@executablemd/durable-streams": "npm:@executablemd/durable-streams@^0.3.0",
|
|
14
|
+
"@executablemd/runtime": "npm:@executablemd/runtime@^0.3.0",
|
|
15
|
+
"@executablemd/runtime/test": "file:///Users/tarasmankovski/Repositories/taras/executable-markdown-agents/runtime/test/mod.ts",
|
|
16
|
+
"@executablemd/code-review-agent": "npm:@executablemd/code-review-agent@^0.3.0",
|
|
17
|
+
"@effectionx/context-api": "npm:@effectionx/context-api@0.6.0",
|
|
18
|
+
"@effectionx/converge": "npm:@effectionx/converge@0.1.4",
|
|
19
|
+
"@effectionx/fetch": "npm:@effectionx/fetch@0.2.0",
|
|
20
|
+
"@effectionx/fs": "npm:@effectionx/fs@0.3.0",
|
|
21
|
+
"@effectionx/middleware": "npm:@effectionx/middleware@0.1.1",
|
|
22
|
+
"@effectionx/node": "npm:@effectionx/node@0.2.4",
|
|
23
|
+
"@effectionx/process": "npm:@effectionx/process@0.8.1",
|
|
24
|
+
"@effectionx/scope-eval": "npm:@effectionx/scope-eval@0.1.3",
|
|
25
|
+
"@effectionx/stream-helpers": "npm:@effectionx/stream-helpers@0.8.3",
|
|
26
|
+
"@effectionx/timebox": "npm:@effectionx/timebox@0.4.3",
|
|
27
|
+
"configliere": "npm:configliere@^0.2.3",
|
|
28
|
+
"expect": "npm:expect@^30",
|
|
29
|
+
"@std/expect": "npm:expect@^30",
|
|
30
|
+
"@std/testing/bdd": "jsr:@std/testing@^1/bdd",
|
|
31
|
+
"oxlint": "npm:oxlint@^1",
|
|
32
|
+
"oxlint-tsgolint": "npm:oxlint-tsgolint@^0.17",
|
|
33
|
+
"unist-util-select": "npm:unist-util-select@^5",
|
|
34
|
+
"mdast-util-to-string": "npm:mdast-util-to-string@^4",
|
|
35
|
+
"@executablemd/core": "npm:@executablemd/core@^0.3.0",
|
|
36
|
+
"@executablemd/core/": "npm:@executablemd/core@^0.3.0/",
|
|
37
|
+
"@executablemd/durable-streams/": "npm:@executablemd/durable-streams@^0.3.0/",
|
|
38
|
+
"@executablemd/runtime/": "npm:@executablemd/runtime@^0.3.0/",
|
|
39
|
+
"@executablemd/code-review-agent/": "npm:@executablemd/code-review-agent@^0.3.0/"
|
|
40
|
+
}
|
|
41
|
+
};
|
|
@@ -21,6 +21,7 @@ import { program, object, field, cli, commands } from "configliere";
|
|
|
21
21
|
import { z } from "zod";
|
|
22
22
|
import { runDocument, useNormalizedOutput, useTerminalOutput } from "@executablemd/core";
|
|
23
23
|
import { FileStream } from "./file-stream.js";
|
|
24
|
+
import denoJson from "../deno.js";
|
|
24
25
|
// ---------------------------------------------------------------------------
|
|
25
26
|
// Workaround: field.default exists at runtime but is missing from the .d.ts
|
|
26
27
|
// ---------------------------------------------------------------------------
|
|
@@ -54,7 +55,7 @@ const runConfig = object({
|
|
|
54
55
|
});
|
|
55
56
|
const xmd = program({
|
|
56
57
|
name: "xmd",
|
|
57
|
-
version:
|
|
58
|
+
version: denoJson.version,
|
|
58
59
|
config: commands({ run: runConfig }, { default: "run" }),
|
|
59
60
|
});
|
|
60
61
|
// ---------------------------------------------------------------------------
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@executablemd/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "The xmd command-line interface for executable.md.",
|
|
5
5
|
"homepage": "https://executable.md",
|
|
6
6
|
"repository": {
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
},
|
|
14
14
|
"scripts": {},
|
|
15
15
|
"bin": {
|
|
16
|
-
"xmd": "./esm/cli.js"
|
|
16
|
+
"xmd": "./esm/src/cli.js"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@effectionx/stream-helpers": "0.8.3",
|
|
20
|
-
"@executablemd/core": "^0.
|
|
21
|
-
"@executablemd/durable-streams": "^0.
|
|
20
|
+
"@executablemd/core": "^0.3.0",
|
|
21
|
+
"@executablemd/durable-streams": "^0.3.0",
|
|
22
22
|
"configliere": "^0.2.3",
|
|
23
23
|
"effection": "4.1.0-alpha.7",
|
|
24
24
|
"zod": "^4.3.6"
|
package/types/deno.d.ts
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
let name: string;
|
|
3
|
+
let version: string;
|
|
4
|
+
let exports: string;
|
|
5
|
+
let imports: {
|
|
6
|
+
"@types/node": string;
|
|
7
|
+
"@durable-streams/client": string;
|
|
8
|
+
"@effectionx/bdd/node": string;
|
|
9
|
+
"@effectionx/bdd/expect": string;
|
|
10
|
+
"@effectionx/test-adapter": string;
|
|
11
|
+
effection: string;
|
|
12
|
+
"effection/experimental": string;
|
|
13
|
+
"@executablemd/durable-streams": string;
|
|
14
|
+
"@executablemd/runtime": string;
|
|
15
|
+
"@executablemd/runtime/test": string;
|
|
16
|
+
"@executablemd/code-review-agent": string;
|
|
17
|
+
"@effectionx/context-api": string;
|
|
18
|
+
"@effectionx/converge": string;
|
|
19
|
+
"@effectionx/fetch": string;
|
|
20
|
+
"@effectionx/fs": string;
|
|
21
|
+
"@effectionx/middleware": string;
|
|
22
|
+
"@effectionx/node": string;
|
|
23
|
+
"@effectionx/process": string;
|
|
24
|
+
"@effectionx/scope-eval": string;
|
|
25
|
+
"@effectionx/stream-helpers": string;
|
|
26
|
+
"@effectionx/timebox": string;
|
|
27
|
+
configliere: string;
|
|
28
|
+
expect: string;
|
|
29
|
+
"@std/expect": string;
|
|
30
|
+
"@std/testing/bdd": string;
|
|
31
|
+
oxlint: string;
|
|
32
|
+
"oxlint-tsgolint": string;
|
|
33
|
+
"unist-util-select": string;
|
|
34
|
+
"mdast-util-to-string": string;
|
|
35
|
+
"@executablemd/core": string;
|
|
36
|
+
"@executablemd/core/": string;
|
|
37
|
+
"@executablemd/durable-streams/": string;
|
|
38
|
+
"@executablemd/runtime/": string;
|
|
39
|
+
"@executablemd/code-review-agent/": string;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export default _default;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|