wiki-graph 0.4.1 → 0.5.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/dist/cli.js +916 -579
- package/dist/cli.js.map +1 -1
- package/dist/data/help/commands/library-predicate.jinja +18 -18
- package/dist/data/help/commands/library.jinja +8 -5
- package/dist/data/help/commands/predicate.jinja +108 -98
- package/dist/data/help/commands/root.jinja +1 -1
- package/dist/data/help/commands/uri.jinja +46 -19
- package/dist/data/help/topics/config.jinja +27 -0
- package/dist/data/help/topics/library.jinja +11 -7
- package/dist/data/help/topics/readiness.jinja +71 -34
- package/dist/data/help/topics/recipe.jinja +11 -8
- package/dist/data/help/topics/uri.jinja +10 -3
- package/dist/gc-worker.js +109 -84
- package/dist/gc-worker.js.map +1 -1
- package/dist/index.cjs +3657 -2517
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3658 -2504
- package/dist/index.js.map +1 -1
- package/dist/queue-worker.js +571 -355
- package/dist/queue-worker.js.map +1 -1
- package/package.json +3 -3
- package/dist/cli.d.ts +0 -1
- package/dist/gc-worker.d.ts +0 -1
- package/dist/index.d.cts +0 -36
- package/dist/queue-worker.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wiki-graph",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "CLI for building and querying .wikg knowledge-base archives from long-form text and ebooks.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wiki-graph",
|
|
@@ -65,10 +65,10 @@
|
|
|
65
65
|
"zod": "^4.3.6"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"wiki-graph-core": "0.
|
|
68
|
+
"wiki-graph-core": "0.5.0"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
|
-
"wiki-graph-core": "^0.
|
|
71
|
+
"wiki-graph-core": "^0.5.0"
|
|
72
72
|
},
|
|
73
73
|
"peerDependenciesMeta": {
|
|
74
74
|
"wiki-graph-core": {
|
package/dist/cli.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
package/dist/gc-worker.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
package/dist/index.d.cts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export * from 'wiki-graph-core';
|
|
2
|
-
|
|
3
|
-
interface RunWikiGraphCLIInput {
|
|
4
|
-
/**
|
|
5
|
-
* CLI arguments without the executable name. For example, `["--help"]`
|
|
6
|
-
* simulates `wg --help`.
|
|
7
|
-
*/
|
|
8
|
-
readonly argv?: readonly string[] | undefined;
|
|
9
|
-
readonly cwd?: string | undefined;
|
|
10
|
-
readonly devProjectRoot?: string | undefined;
|
|
11
|
-
readonly env?: NodeJS.ProcessEnv | undefined;
|
|
12
|
-
readonly signal?: AbortSignal | undefined;
|
|
13
|
-
readonly stateDir?: string | undefined;
|
|
14
|
-
readonly stderr?: NodeJS.WritableStream | undefined;
|
|
15
|
-
readonly stderrIsTTY?: boolean | undefined;
|
|
16
|
-
readonly stdin?: NodeJS.ReadableStream | Uint8Array | string | undefined;
|
|
17
|
-
readonly stdinIsTTY?: boolean | undefined;
|
|
18
|
-
readonly stdout?: NodeJS.WritableStream | undefined;
|
|
19
|
-
readonly stdoutIsTTY?: boolean | undefined;
|
|
20
|
-
}
|
|
21
|
-
interface RunWikiGraphCLIResult {
|
|
22
|
-
readonly exitCode: number;
|
|
23
|
-
}
|
|
24
|
-
interface RunWikiGraphCLICapturedResult extends RunWikiGraphCLIResult {
|
|
25
|
-
readonly stderr: string;
|
|
26
|
-
readonly stdout: string;
|
|
27
|
-
}
|
|
28
|
-
interface WikiGraphCLI {
|
|
29
|
-
run(argv?: readonly string[], overrides?: RunWikiGraphCLIInput): Promise<RunWikiGraphCLIResult>;
|
|
30
|
-
runCaptured(argv?: readonly string[], overrides?: RunWikiGraphCLIInput): Promise<RunWikiGraphCLICapturedResult>;
|
|
31
|
-
}
|
|
32
|
-
declare function runWikiGraphCLI(input?: RunWikiGraphCLIInput): Promise<RunWikiGraphCLIResult>;
|
|
33
|
-
declare function runWikiGraphCLICaptured(input?: RunWikiGraphCLIInput): Promise<RunWikiGraphCLICapturedResult>;
|
|
34
|
-
declare function createWikiGraphCLI(defaults?: RunWikiGraphCLIInput): WikiGraphCLI;
|
|
35
|
-
|
|
36
|
-
export { type RunWikiGraphCLICapturedResult, type RunWikiGraphCLIInput, type RunWikiGraphCLIResult, type WikiGraphCLI, createWikiGraphCLI, runWikiGraphCLI, runWikiGraphCLICaptured };
|
package/dist/queue-worker.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|