@yalehwang/archguard 0.1.15 → 0.1.16
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/mermaid/generator-formatting.d.ts +20 -0
- package/dist/mermaid/generator-formatting.d.ts.map +1 -0
- package/dist/mermaid/generator-formatting.js +166 -0
- package/dist/mermaid/generator-formatting.js.map +1 -0
- package/dist/mermaid/generator-grouping.d.ts +4 -0
- package/dist/mermaid/generator-grouping.d.ts.map +1 -0
- package/dist/mermaid/generator-grouping.js +17 -0
- package/dist/mermaid/generator-grouping.js.map +1 -0
- package/dist/mermaid/generator-validation.d.ts +3 -0
- package/dist/mermaid/generator-validation.d.ts.map +1 -0
- package/dist/mermaid/generator-validation.js +40 -0
- package/dist/mermaid/generator-validation.js.map +1 -0
- package/dist/mermaid/generator.d.ts +0 -1
- package/dist/mermaid/generator.d.ts.map +1 -1
- package/dist/mermaid/generator.js +7 -46
- package/dist/mermaid/generator.js.map +1 -1
- package/dist/plugins/cpp/archjson-mapper.d.ts +2 -1
- package/dist/plugins/cpp/archjson-mapper.d.ts.map +1 -1
- package/dist/plugins/cpp/archjson-mapper.js +10 -14
- package/dist/plugins/cpp/archjson-mapper.js.map +1 -1
- package/dist/plugins/golang/archjson-mapper.d.ts +2 -1
- package/dist/plugins/golang/archjson-mapper.d.ts.map +1 -1
- package/dist/plugins/golang/archjson-mapper.js +18 -31
- package/dist/plugins/golang/archjson-mapper.js.map +1 -1
- package/dist/plugins/golang/atlas/builders/goroutine-topology-builder.d.ts.map +1 -1
- package/dist/plugins/golang/atlas/builders/goroutine-topology-builder.js.map +1 -1
- package/dist/plugins/golang/atlas/renderers/capability-mermaid-template.d.ts +3 -0
- package/dist/plugins/golang/atlas/renderers/capability-mermaid-template.d.ts.map +1 -0
- package/dist/plugins/golang/atlas/renderers/capability-mermaid-template.js +83 -0
- package/dist/plugins/golang/atlas/renderers/capability-mermaid-template.js.map +1 -0
- package/dist/plugins/golang/atlas/renderers/flow-mermaid-template.d.ts +3 -0
- package/dist/plugins/golang/atlas/renderers/flow-mermaid-template.d.ts.map +1 -0
- package/dist/plugins/golang/atlas/renderers/flow-mermaid-template.js +123 -0
- package/dist/plugins/golang/atlas/renderers/flow-mermaid-template.js.map +1 -0
- package/dist/plugins/golang/atlas/renderers/goroutine-mermaid-template.d.ts +3 -0
- package/dist/plugins/golang/atlas/renderers/goroutine-mermaid-template.d.ts.map +1 -0
- package/dist/plugins/golang/atlas/renderers/goroutine-mermaid-template.js +119 -0
- package/dist/plugins/golang/atlas/renderers/goroutine-mermaid-template.js.map +1 -0
- package/dist/plugins/golang/atlas/renderers/mermaid-templates.d.ts +3 -13
- package/dist/plugins/golang/atlas/renderers/mermaid-templates.d.ts.map +1 -1
- package/dist/plugins/golang/atlas/renderers/mermaid-templates.js +19 -673
- package/dist/plugins/golang/atlas/renderers/mermaid-templates.js.map +1 -1
- package/dist/plugins/golang/atlas/renderers/package-mermaid-template.d.ts +3 -0
- package/dist/plugins/golang/atlas/renderers/package-mermaid-template.d.ts.map +1 -0
- package/dist/plugins/golang/atlas/renderers/package-mermaid-template.js +80 -0
- package/dist/plugins/golang/atlas/renderers/package-mermaid-template.js.map +1 -0
- package/dist/plugins/golang/atlas/renderers/template-shared.d.ts +39 -0
- package/dist/plugins/golang/atlas/renderers/template-shared.d.ts.map +1 -0
- package/dist/plugins/golang/atlas/renderers/template-shared.js +285 -0
- package/dist/plugins/golang/atlas/renderers/template-shared.js.map +1 -0
- package/dist/plugins/java/archjson-mapper.d.ts +3 -2
- package/dist/plugins/java/archjson-mapper.d.ts.map +1 -1
- package/dist/plugins/java/archjson-mapper.js +14 -65
- package/dist/plugins/java/archjson-mapper.js.map +1 -1
- package/dist/plugins/python/archjson-mapper.d.ts +2 -1
- package/dist/plugins/python/archjson-mapper.d.ts.map +1 -1
- package/dist/plugins/python/archjson-mapper.js +17 -31
- package/dist/plugins/python/archjson-mapper.js.map +1 -1
- package/dist/plugins/shared/mapper-utils.d.ts +16 -1
- package/dist/plugins/shared/mapper-utils.d.ts.map +1 -1
- package/dist/plugins/shared/mapper-utils.js +48 -0
- package/dist/plugins/shared/mapper-utils.js.map +1 -1
- package/dist/types/config-cli.d.ts +29 -0
- package/dist/types/config-cli.d.ts.map +1 -0
- package/dist/types/config-cli.js +2 -0
- package/dist/types/config-cli.js.map +1 -0
- package/dist/types/config-diagram.d.ts +90 -0
- package/dist/types/config-diagram.d.ts.map +1 -0
- package/dist/types/config-diagram.js +2 -0
- package/dist/types/config-diagram.js.map +1 -0
- package/dist/types/config-global.d.ts +26 -0
- package/dist/types/config-global.d.ts.map +1 -0
- package/dist/types/config-global.js +2 -0
- package/dist/types/config-global.js.map +1 -0
- package/dist/types/config-mermaid.d.ts +9 -0
- package/dist/types/config-mermaid.d.ts.map +1 -0
- package/dist/types/config-mermaid.js +6 -0
- package/dist/types/config-mermaid.js.map +1 -0
- package/dist/types/config.d.ts +4 -144
- package/dist/types/config.d.ts.map +1 -1
- package/dist/types/config.js +4 -5
- package/dist/types/config.js.map +1 -1
- package/package.json +1 -1
package/dist/types/config.d.ts
CHANGED
|
@@ -1,145 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
transparentBackground?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const defaultMermaidConfig: MermaidConfig;
|
|
8
|
-
export type OutputFormat = 'mermaid' | 'json';
|
|
9
|
-
export interface DiagramMetadata {
|
|
10
|
-
title?: string;
|
|
11
|
-
subtitle?: string;
|
|
12
|
-
purpose?: string;
|
|
13
|
-
primaryActors?: string[];
|
|
14
|
-
input?: {
|
|
15
|
-
type: string;
|
|
16
|
-
description?: string;
|
|
17
|
-
example?: string;
|
|
18
|
-
};
|
|
19
|
-
output?: {
|
|
20
|
-
description: string;
|
|
21
|
-
formats?: string[];
|
|
22
|
-
example?: string;
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
export interface DesignInfo {
|
|
26
|
-
architectureStyle?: 'layered' | 'event-driven' | 'microkernel' | 'serverless';
|
|
27
|
-
patterns?: DesignPatternInfo[];
|
|
28
|
-
principles?: string[];
|
|
29
|
-
decisions?: ArchitecturalDecision[];
|
|
30
|
-
}
|
|
31
|
-
export interface DesignPatternInfo {
|
|
32
|
-
name: string;
|
|
33
|
-
category: PatternCategory;
|
|
34
|
-
participants: string[];
|
|
35
|
-
description: string;
|
|
36
|
-
codeExample?: string;
|
|
37
|
-
}
|
|
38
|
-
export type PatternCategory = 'creational' | 'structural' | 'behavioral' | 'concurrency';
|
|
39
|
-
export interface ArchitecturalDecision {
|
|
40
|
-
topic: string;
|
|
41
|
-
decision: string;
|
|
42
|
-
rationale: string;
|
|
43
|
-
alternatives?: string[];
|
|
44
|
-
}
|
|
45
|
-
export interface ProcessInfo {
|
|
46
|
-
stages?: number;
|
|
47
|
-
stageList?: ProcessStage[];
|
|
48
|
-
dataFlow?: string;
|
|
49
|
-
keyDependencies?: string[];
|
|
50
|
-
}
|
|
51
|
-
export interface ProcessStage {
|
|
52
|
-
order: number;
|
|
53
|
-
name: string;
|
|
54
|
-
description: string;
|
|
55
|
-
namespace?: string;
|
|
56
|
-
patterns?: string[];
|
|
57
|
-
}
|
|
58
|
-
export interface AnnotationConfig {
|
|
59
|
-
enableComments?: boolean;
|
|
60
|
-
highlightPatterns?: boolean;
|
|
61
|
-
showExternalDeps?: boolean;
|
|
62
|
-
includeUsageExample?: boolean;
|
|
63
|
-
enableVisibleTitle?: boolean;
|
|
64
|
-
visibleTitleSections?: ('title' | 'subtitle' | 'purpose' | 'input' | 'output' | 'patterns' | 'principles' | 'process')[];
|
|
65
|
-
titlePosition?: 'top' | 'bottom';
|
|
66
|
-
}
|
|
67
|
-
export interface ClassHighlightConfig {
|
|
68
|
-
highlightClasses?: string[];
|
|
69
|
-
annotateClasses?: ClassAnnotation[];
|
|
70
|
-
visibility?: {
|
|
71
|
-
show?: string[];
|
|
72
|
-
hide?: string[];
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
export interface ClassAnnotation {
|
|
76
|
-
className: string;
|
|
77
|
-
note?: string;
|
|
78
|
-
stereotypes?: string[];
|
|
79
|
-
responsibility?: string;
|
|
80
|
-
}
|
|
81
|
-
export interface DiagramConfig {
|
|
82
|
-
name: string;
|
|
83
|
-
sources: string[];
|
|
84
|
-
level: DetailLevel;
|
|
85
|
-
description?: string;
|
|
86
|
-
format?: OutputFormat;
|
|
87
|
-
exclude?: string[];
|
|
88
|
-
language?: string;
|
|
89
|
-
languageSpecific?: Record<string, unknown>;
|
|
90
|
-
queryRole?: 'primary' | 'secondary';
|
|
91
|
-
metadata?: DiagramMetadata;
|
|
92
|
-
design?: DesignInfo;
|
|
93
|
-
process?: ProcessInfo;
|
|
94
|
-
annotations?: AnnotationConfig;
|
|
95
|
-
classes?: ClassHighlightConfig;
|
|
96
|
-
}
|
|
97
|
-
export interface GlobalConfig {
|
|
98
|
-
workDir?: string;
|
|
99
|
-
outputDir: string;
|
|
100
|
-
format: OutputFormat;
|
|
101
|
-
mermaid?: MermaidConfig;
|
|
102
|
-
exclude: string[];
|
|
103
|
-
cli: {
|
|
104
|
-
command: string;
|
|
105
|
-
args: string[];
|
|
106
|
-
timeout: number;
|
|
107
|
-
};
|
|
108
|
-
cache: {
|
|
109
|
-
enabled: boolean;
|
|
110
|
-
ttl: number;
|
|
111
|
-
dir?: string;
|
|
112
|
-
};
|
|
113
|
-
concurrency: number;
|
|
114
|
-
verbose: boolean;
|
|
115
|
-
maxNodesPerDiagram?: number;
|
|
116
|
-
}
|
|
117
|
-
export interface ArchGuardConfig extends GlobalConfig {
|
|
118
|
-
diagrams: DiagramConfig[];
|
|
119
|
-
}
|
|
120
|
-
export interface CLIOptions {
|
|
121
|
-
config?: string;
|
|
122
|
-
diagrams?: string[];
|
|
123
|
-
sources?: string[];
|
|
124
|
-
lang?: string;
|
|
125
|
-
format?: OutputFormat;
|
|
126
|
-
outputDir?: string;
|
|
127
|
-
workDir?: string;
|
|
128
|
-
cacheDir?: string;
|
|
129
|
-
exclude?: string[];
|
|
130
|
-
cache?: boolean;
|
|
131
|
-
concurrency?: number;
|
|
132
|
-
verbose?: boolean;
|
|
133
|
-
cliCommand?: string;
|
|
134
|
-
cliArgs?: string;
|
|
135
|
-
mermaidTheme?: 'default' | 'forest' | 'dark' | 'neutral';
|
|
136
|
-
mermaidRenderer?: 'isomorphic' | 'cli';
|
|
137
|
-
atlas?: boolean;
|
|
138
|
-
noAtlas?: boolean;
|
|
139
|
-
atlasLayers?: string;
|
|
140
|
-
atlasStrategy?: string;
|
|
141
|
-
atlasNoTests?: boolean;
|
|
142
|
-
atlasIncludeTests?: boolean;
|
|
143
|
-
atlasProtocols?: string;
|
|
144
|
-
}
|
|
1
|
+
export * from './config-mermaid.js';
|
|
2
|
+
export * from './config-diagram.js';
|
|
3
|
+
export * from './config-global.js';
|
|
4
|
+
export * from './config-cli.js';
|
|
145
5
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/types/config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/types/config.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC"}
|
package/dist/types/config.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
};
|
|
1
|
+
export * from './config-mermaid.js';
|
|
2
|
+
export * from './config-diagram.js';
|
|
3
|
+
export * from './config-global.js';
|
|
4
|
+
export * from './config-cli.js';
|
|
6
5
|
//# sourceMappingURL=config.js.map
|
package/dist/types/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/types/config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/types/config.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC"}
|