monarch-code-graph 0.3.4 → 0.3.5
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.d.ts +0 -2
- package/dist/cli.js +2632 -96
- package/dist/index.d.ts +33 -6
- package/dist/index.js +1552 -7
- package/package.json +7 -5
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js.map +0 -1
- package/dist/commands/analyze.d.ts +0 -8
- package/dist/commands/analyze.d.ts.map +0 -1
- package/dist/commands/analyze.js +0 -76
- package/dist/commands/analyze.js.map +0 -1
- package/dist/commands/diff.d.ts +0 -8
- package/dist/commands/diff.d.ts.map +0 -1
- package/dist/commands/diff.js +0 -203
- package/dist/commands/diff.js.map +0 -1
- package/dist/commands/graph.d.ts +0 -12
- package/dist/commands/graph.d.ts.map +0 -1
- package/dist/commands/graph.js +0 -72
- package/dist/commands/graph.js.map +0 -1
- package/dist/commands/help.d.ts +0 -2
- package/dist/commands/help.d.ts.map +0 -1
- package/dist/commands/help.js +0 -234
- package/dist/commands/help.js.map +0 -1
- package/dist/commands/init.d.ts +0 -6
- package/dist/commands/init.d.ts.map +0 -1
- package/dist/commands/init.js +0 -37
- package/dist/commands/init.js.map +0 -1
- package/dist/commands/list.d.ts +0 -7
- package/dist/commands/list.d.ts.map +0 -1
- package/dist/commands/list.js +0 -148
- package/dist/commands/list.js.map +0 -1
- package/dist/commands/run.d.ts +0 -10
- package/dist/commands/run.d.ts.map +0 -1
- package/dist/commands/run.js +0 -388
- package/dist/commands/run.js.map +0 -1
- package/dist/commands/serve.d.ts +0 -8
- package/dist/commands/serve.d.ts.map +0 -1
- package/dist/commands/serve.js +0 -137
- package/dist/commands/serve.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/utils/ascii-graph.d.ts +0 -21
- package/dist/utils/ascii-graph.d.ts.map +0 -1
- package/dist/utils/ascii-graph.js +0 -431
- package/dist/utils/ascii-graph.js.map +0 -1
- package/dist/utils/output.d.ts +0 -12
- package/dist/utils/output.d.ts.map +0 -1
- package/dist/utils/output.js +0 -24
- package/dist/utils/output.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
interface AnalyzeOptions {
|
|
2
|
+
output: string;
|
|
3
|
+
exporter: string;
|
|
4
|
+
watch: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare function analyzeCommand(targetPath: string, options: AnalyzeOptions): Promise<void>;
|
|
7
|
+
|
|
8
|
+
interface DiffOptions {
|
|
9
|
+
format: 'text' | 'json' | 'markdown';
|
|
10
|
+
exitOnChanges: boolean;
|
|
11
|
+
only?: 'functions' | 'modules' | 'edges';
|
|
12
|
+
}
|
|
13
|
+
declare function diffCommand(baselinePath: string, currentPath: string, options: DiffOptions): Promise<void>;
|
|
14
|
+
|
|
15
|
+
interface ServeOptions {
|
|
16
|
+
port: string;
|
|
17
|
+
artifact: string;
|
|
18
|
+
open: boolean;
|
|
19
|
+
}
|
|
20
|
+
declare function serveCommand(options: ServeOptions): Promise<void>;
|
|
21
|
+
|
|
22
|
+
interface InitOptions {
|
|
23
|
+
force: boolean;
|
|
24
|
+
}
|
|
25
|
+
declare function initCommand(options: InitOptions): Promise<void>;
|
|
26
|
+
|
|
27
|
+
interface ListOptions {
|
|
28
|
+
type?: 'functions' | 'modules' | 'components' | 'edges';
|
|
29
|
+
json: boolean;
|
|
30
|
+
}
|
|
31
|
+
declare function listCommand(artifactPath: string, options: ListOptions): Promise<void>;
|
|
32
|
+
|
|
33
|
+
export { analyzeCommand, diffCommand, initCommand, listCommand, serveCommand };
|