@yalehwang/archguard 0.1.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/README.md +537 -0
- package/dist/cli/cache/arch-json-disk-cache.d.ts +12 -0
- package/dist/cli/cache/arch-json-disk-cache.d.ts.map +1 -0
- package/dist/cli/cache/arch-json-disk-cache.js +51 -0
- package/dist/cli/cache/arch-json-disk-cache.js.map +1 -0
- package/dist/cli/cache-manager.d.ts +28 -0
- package/dist/cli/cache-manager.d.ts.map +1 -0
- package/dist/cli/cache-manager.js +126 -0
- package/dist/cli/cache-manager.js.map +1 -0
- package/dist/cli/commands/analyze.d.ts +7 -0
- package/dist/cli/commands/analyze.d.ts.map +1 -0
- package/dist/cli/commands/analyze.js +212 -0
- package/dist/cli/commands/analyze.js.map +1 -0
- package/dist/cli/commands/cache.d.ts +3 -0
- package/dist/cli/commands/cache.d.ts.map +1 -0
- package/dist/cli/commands/cache.js +56 -0
- package/dist/cli/commands/cache.js.map +1 -0
- package/dist/cli/commands/init.d.ts +3 -0
- package/dist/cli/commands/init.d.ts.map +1 -0
- package/dist/cli/commands/init.js +34 -0
- package/dist/cli/commands/init.js.map +1 -0
- package/dist/cli/config-loader.d.ts +701 -0
- package/dist/cli/config-loader.d.ts.map +1 -0
- package/dist/cli/config-loader.js +259 -0
- package/dist/cli/config-loader.js.map +1 -0
- package/dist/cli/error-handler.d.ts +15 -0
- package/dist/cli/error-handler.d.ts.map +1 -0
- package/dist/cli/error-handler.js +127 -0
- package/dist/cli/error-handler.js.map +1 -0
- package/dist/cli/errors.d.ts +15 -0
- package/dist/cli/errors.d.ts.map +1 -0
- package/dist/cli/errors.js +31 -0
- package/dist/cli/errors.js.map +1 -0
- package/dist/cli/index.d.ts +4 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +27 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/processors/diagram-processor.d.ts +61 -0
- package/dist/cli/processors/diagram-processor.d.ts.map +1 -0
- package/dist/cli/processors/diagram-processor.js +610 -0
- package/dist/cli/processors/diagram-processor.js.map +1 -0
- package/dist/cli/progress/parallel-progress.d.ts +16 -0
- package/dist/cli/progress/parallel-progress.d.ts.map +1 -0
- package/dist/cli/progress/parallel-progress.js +49 -0
- package/dist/cli/progress/parallel-progress.js.map +1 -0
- package/dist/cli/progress.d.ts +36 -0
- package/dist/cli/progress.d.ts.map +1 -0
- package/dist/cli/progress.js +127 -0
- package/dist/cli/progress.js.map +1 -0
- package/dist/cli/types.d.ts +37 -0
- package/dist/cli/types.d.ts.map +1 -0
- package/dist/cli/types.js +2 -0
- package/dist/cli/types.js.map +1 -0
- package/dist/cli/utils/cpp-project-structure-detector.d.ts +10 -0
- package/dist/cli/utils/cpp-project-structure-detector.d.ts.map +1 -0
- package/dist/cli/utils/cpp-project-structure-detector.js +99 -0
- package/dist/cli/utils/cpp-project-structure-detector.js.map +1 -0
- package/dist/cli/utils/diagram-index-generator.d.ts +12 -0
- package/dist/cli/utils/diagram-index-generator.d.ts.map +1 -0
- package/dist/cli/utils/diagram-index-generator.js +94 -0
- package/dist/cli/utils/diagram-index-generator.js.map +1 -0
- package/dist/cli/utils/file-discovery-service.d.ts +10 -0
- package/dist/cli/utils/file-discovery-service.d.ts.map +1 -0
- package/dist/cli/utils/file-discovery-service.js +56 -0
- package/dist/cli/utils/file-discovery-service.js.map +1 -0
- package/dist/cli/utils/output-path-resolver.d.ts +34 -0
- package/dist/cli/utils/output-path-resolver.d.ts.map +1 -0
- package/dist/cli/utils/output-path-resolver.js +91 -0
- package/dist/cli/utils/output-path-resolver.js.map +1 -0
- package/dist/cli/utils/project-structure-detector.d.ts +6 -0
- package/dist/cli/utils/project-structure-detector.d.ts.map +1 -0
- package/dist/cli/utils/project-structure-detector.js +159 -0
- package/dist/cli/utils/project-structure-detector.js.map +1 -0
- package/dist/core/interfaces/dependency.d.ts +14 -0
- package/dist/core/interfaces/dependency.d.ts.map +1 -0
- package/dist/core/interfaces/dependency.js +2 -0
- package/dist/core/interfaces/dependency.js.map +1 -0
- package/dist/core/interfaces/errors.d.ts +29 -0
- package/dist/core/interfaces/errors.d.ts.map +1 -0
- package/dist/core/interfaces/errors.js +59 -0
- package/dist/core/interfaces/errors.js.map +1 -0
- package/dist/core/interfaces/index.d.ts +6 -0
- package/dist/core/interfaces/index.d.ts.map +1 -0
- package/dist/core/interfaces/index.js +2 -0
- package/dist/core/interfaces/index.js.map +1 -0
- package/dist/core/interfaces/language-plugin.d.ts +34 -0
- package/dist/core/interfaces/language-plugin.d.ts.map +1 -0
- package/dist/core/interfaces/language-plugin.js +2 -0
- package/dist/core/interfaces/language-plugin.js.map +1 -0
- package/dist/core/interfaces/parser.d.ts +15 -0
- package/dist/core/interfaces/parser.d.ts.map +1 -0
- package/dist/core/interfaces/parser.js +2 -0
- package/dist/core/interfaces/parser.js.map +1 -0
- package/dist/core/interfaces/validation.d.ts +24 -0
- package/dist/core/interfaces/validation.d.ts.map +1 -0
- package/dist/core/interfaces/validation.js +2 -0
- package/dist/core/interfaces/validation.js.map +1 -0
- package/dist/core/plugin-registry.d.ts +19 -0
- package/dist/core/plugin-registry.d.ts.map +1 -0
- package/dist/core/plugin-registry.js +137 -0
- package/dist/core/plugin-registry.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -0
- package/dist/mermaid/auto-repair.d.ts +23 -0
- package/dist/mermaid/auto-repair.d.ts.map +1 -0
- package/dist/mermaid/auto-repair.js +197 -0
- package/dist/mermaid/auto-repair.js.map +1 -0
- package/dist/mermaid/comment-generator.d.ts +10 -0
- package/dist/mermaid/comment-generator.d.ts.map +1 -0
- package/dist/mermaid/comment-generator.js +213 -0
- package/dist/mermaid/comment-generator.js.map +1 -0
- package/dist/mermaid/cpp-package-flowchart-generator.d.ts +5 -0
- package/dist/mermaid/cpp-package-flowchart-generator.d.ts.map +1 -0
- package/dist/mermaid/cpp-package-flowchart-generator.js +33 -0
- package/dist/mermaid/cpp-package-flowchart-generator.js.map +1 -0
- package/dist/mermaid/diagram-generator.d.ts +31 -0
- package/dist/mermaid/diagram-generator.d.ts.map +1 -0
- package/dist/mermaid/diagram-generator.js +194 -0
- package/dist/mermaid/diagram-generator.js.map +1 -0
- package/dist/mermaid/external-dependencies.d.ts +3 -0
- package/dist/mermaid/external-dependencies.d.ts.map +1 -0
- package/dist/mermaid/external-dependencies.js +38 -0
- package/dist/mermaid/external-dependencies.js.map +1 -0
- package/dist/mermaid/generator.d.ts +44 -0
- package/dist/mermaid/generator.d.ts.map +1 -0
- package/dist/mermaid/generator.js +511 -0
- package/dist/mermaid/generator.js.map +1 -0
- package/dist/mermaid/grouper.d.ts +15 -0
- package/dist/mermaid/grouper.d.ts.map +1 -0
- package/dist/mermaid/grouper.js +194 -0
- package/dist/mermaid/grouper.js.map +1 -0
- package/dist/mermaid/index.d.ts +14 -0
- package/dist/mermaid/index.d.ts.map +1 -0
- package/dist/mermaid/index.js +13 -0
- package/dist/mermaid/index.js.map +1 -0
- package/dist/mermaid/progress.d.ts +15 -0
- package/dist/mermaid/progress.d.ts.map +1 -0
- package/dist/mermaid/progress.js +8 -0
- package/dist/mermaid/progress.js.map +1 -0
- package/dist/mermaid/render-worker-pool.d.ts +29 -0
- package/dist/mermaid/render-worker-pool.d.ts.map +1 -0
- package/dist/mermaid/render-worker-pool.js +73 -0
- package/dist/mermaid/render-worker-pool.js.map +1 -0
- package/dist/mermaid/render-worker.d.ts +2 -0
- package/dist/mermaid/render-worker.d.ts.map +1 -0
- package/dist/mermaid/render-worker.js +22 -0
- package/dist/mermaid/render-worker.js.map +1 -0
- package/dist/mermaid/renderer.d.ts +17 -0
- package/dist/mermaid/renderer.d.ts.map +1 -0
- package/dist/mermaid/renderer.js +204 -0
- package/dist/mermaid/renderer.js.map +1 -0
- package/dist/mermaid/ts-module-graph-renderer.d.ts +3 -0
- package/dist/mermaid/ts-module-graph-renderer.d.ts.map +1 -0
- package/dist/mermaid/ts-module-graph-renderer.js +180 -0
- package/dist/mermaid/ts-module-graph-renderer.js.map +1 -0
- package/dist/mermaid/types.d.ts +122 -0
- package/dist/mermaid/types.d.ts.map +1 -0
- package/dist/mermaid/types.js +2 -0
- package/dist/mermaid/types.js.map +1 -0
- package/dist/mermaid/validation-pipeline.d.ts +29 -0
- package/dist/mermaid/validation-pipeline.d.ts.map +1 -0
- package/dist/mermaid/validation-pipeline.js +163 -0
- package/dist/mermaid/validation-pipeline.js.map +1 -0
- package/dist/mermaid/validator-parse.d.ts +11 -0
- package/dist/mermaid/validator-parse.d.ts.map +1 -0
- package/dist/mermaid/validator-parse.js +130 -0
- package/dist/mermaid/validator-parse.js.map +1 -0
- package/dist/mermaid/validator-quality.d.ts +17 -0
- package/dist/mermaid/validator-quality.d.ts.map +1 -0
- package/dist/mermaid/validator-quality.js +187 -0
- package/dist/mermaid/validator-quality.js.map +1 -0
- package/dist/mermaid/validator-render.d.ts +12 -0
- package/dist/mermaid/validator-render.d.ts.map +1 -0
- package/dist/mermaid/validator-render.js +98 -0
- package/dist/mermaid/validator-render.js.map +1 -0
- package/dist/mermaid/validator-structural.d.ts +11 -0
- package/dist/mermaid/validator-structural.d.ts.map +1 -0
- package/dist/mermaid/validator-structural.js +116 -0
- package/dist/mermaid/validator-structural.js.map +1 -0
- package/dist/parser/archjson-aggregator.d.ts +11 -0
- package/dist/parser/archjson-aggregator.d.ts.map +1 -0
- package/dist/parser/archjson-aggregator.js +113 -0
- package/dist/parser/archjson-aggregator.js.map +1 -0
- package/dist/parser/base-extractor.d.ts +6 -0
- package/dist/parser/base-extractor.d.ts.map +1 -0
- package/dist/parser/base-extractor.js +13 -0
- package/dist/parser/base-extractor.js.map +1 -0
- package/dist/parser/class-extractor.d.ts +17 -0
- package/dist/parser/class-extractor.d.ts.map +1 -0
- package/dist/parser/class-extractor.js +144 -0
- package/dist/parser/class-extractor.js.map +1 -0
- package/dist/parser/enum-extractor.d.ts +9 -0
- package/dist/parser/enum-extractor.d.ts.map +1 -0
- package/dist/parser/enum-extractor.js +45 -0
- package/dist/parser/enum-extractor.js.map +1 -0
- package/dist/parser/errors.d.ts +7 -0
- package/dist/parser/errors.d.ts.map +1 -0
- package/dist/parser/errors.js +14 -0
- package/dist/parser/errors.js.map +1 -0
- package/dist/parser/function-extractor.d.ts +7 -0
- package/dist/parser/function-extractor.d.ts.map +1 -0
- package/dist/parser/function-extractor.js +59 -0
- package/dist/parser/function-extractor.js.map +1 -0
- package/dist/parser/index.d.ts +10 -0
- package/dist/parser/index.d.ts.map +1 -0
- package/dist/parser/index.js +9 -0
- package/dist/parser/index.js.map +1 -0
- package/dist/parser/interface-extractor.d.ts +14 -0
- package/dist/parser/interface-extractor.d.ts.map +1 -0
- package/dist/parser/interface-extractor.js +90 -0
- package/dist/parser/interface-extractor.js.map +1 -0
- package/dist/parser/metrics-calculator.d.ts +9 -0
- package/dist/parser/metrics-calculator.d.ts.map +1 -0
- package/dist/parser/metrics-calculator.js +84 -0
- package/dist/parser/metrics-calculator.js.map +1 -0
- package/dist/parser/parallel-parser.d.ts +38 -0
- package/dist/parser/parallel-parser.d.ts.map +1 -0
- package/dist/parser/parallel-parser.js +170 -0
- package/dist/parser/parallel-parser.js.map +1 -0
- package/dist/parser/parse-cache.d.ts +8 -0
- package/dist/parser/parse-cache.d.ts.map +1 -0
- package/dist/parser/parse-cache.js +25 -0
- package/dist/parser/parse-cache.js.map +1 -0
- package/dist/parser/relation-extractor.d.ts +14 -0
- package/dist/parser/relation-extractor.d.ts.map +1 -0
- package/dist/parser/relation-extractor.js +203 -0
- package/dist/parser/relation-extractor.js.map +1 -0
- package/dist/parser/typescript-parser.d.ts +19 -0
- package/dist/parser/typescript-parser.d.ts.map +1 -0
- package/dist/parser/typescript-parser.js +182 -0
- package/dist/parser/typescript-parser.js.map +1 -0
- package/dist/plugins/cpp/archjson-mapper.d.ts +13 -0
- package/dist/plugins/cpp/archjson-mapper.d.ts.map +1 -0
- package/dist/plugins/cpp/archjson-mapper.js +180 -0
- package/dist/plugins/cpp/archjson-mapper.js.map +1 -0
- package/dist/plugins/cpp/builders/class-builder.d.ts +15 -0
- package/dist/plugins/cpp/builders/class-builder.d.ts.map +1 -0
- package/dist/plugins/cpp/builders/class-builder.js +102 -0
- package/dist/plugins/cpp/builders/class-builder.js.map +1 -0
- package/dist/plugins/cpp/builders/header-merger.d.ts +8 -0
- package/dist/plugins/cpp/builders/header-merger.d.ts.map +1 -0
- package/dist/plugins/cpp/builders/header-merger.js +65 -0
- package/dist/plugins/cpp/builders/header-merger.js.map +1 -0
- package/dist/plugins/cpp/cpp-type-extractor.d.ts +13 -0
- package/dist/plugins/cpp/cpp-type-extractor.d.ts.map +1 -0
- package/dist/plugins/cpp/cpp-type-extractor.js +153 -0
- package/dist/plugins/cpp/cpp-type-extractor.js.map +1 -0
- package/dist/plugins/cpp/dependency-extractor.d.ts +5 -0
- package/dist/plugins/cpp/dependency-extractor.d.ts.map +1 -0
- package/dist/plugins/cpp/dependency-extractor.js +28 -0
- package/dist/plugins/cpp/dependency-extractor.js.map +1 -0
- package/dist/plugins/cpp/index.d.ts +21 -0
- package/dist/plugins/cpp/index.d.ts.map +1 -0
- package/dist/plugins/cpp/index.js +113 -0
- package/dist/plugins/cpp/index.js.map +1 -0
- package/dist/plugins/cpp/tree-sitter-bridge.d.ts +20 -0
- package/dist/plugins/cpp/tree-sitter-bridge.d.ts.map +1 -0
- package/dist/plugins/cpp/tree-sitter-bridge.js +258 -0
- package/dist/plugins/cpp/tree-sitter-bridge.js.map +1 -0
- package/dist/plugins/cpp/types.d.ts +75 -0
- package/dist/plugins/cpp/types.d.ts.map +1 -0
- package/dist/plugins/cpp/types.js +2 -0
- package/dist/plugins/cpp/types.js.map +1 -0
- package/dist/plugins/golang/archjson-mapper.d.ts +10 -0
- package/dist/plugins/golang/archjson-mapper.d.ts.map +1 -0
- package/dist/plugins/golang/archjson-mapper.js +121 -0
- package/dist/plugins/golang/archjson-mapper.js.map +1 -0
- package/dist/plugins/golang/atlas/behavior-analyzer.d.ts +16 -0
- package/dist/plugins/golang/atlas/behavior-analyzer.d.ts.map +1 -0
- package/dist/plugins/golang/atlas/behavior-analyzer.js +32 -0
- package/dist/plugins/golang/atlas/behavior-analyzer.js.map +1 -0
- package/dist/plugins/golang/atlas/builders/capability-graph-builder.d.ts +12 -0
- package/dist/plugins/golang/atlas/builders/capability-graph-builder.d.ts.map +1 -0
- package/dist/plugins/golang/atlas/builders/capability-graph-builder.js +219 -0
- package/dist/plugins/golang/atlas/builders/capability-graph-builder.js.map +1 -0
- package/dist/plugins/golang/atlas/builders/flow-graph-builder.d.ts +18 -0
- package/dist/plugins/golang/atlas/builders/flow-graph-builder.d.ts.map +1 -0
- package/dist/plugins/golang/atlas/builders/flow-graph-builder.js +300 -0
- package/dist/plugins/golang/atlas/builders/flow-graph-builder.js.map +1 -0
- package/dist/plugins/golang/atlas/builders/goroutine-topology-builder.d.ts +15 -0
- package/dist/plugins/golang/atlas/builders/goroutine-topology-builder.d.ts.map +1 -0
- package/dist/plugins/golang/atlas/builders/goroutine-topology-builder.js +254 -0
- package/dist/plugins/golang/atlas/builders/goroutine-topology-builder.js.map +1 -0
- package/dist/plugins/golang/atlas/builders/i-atlas-builder.d.ts +5 -0
- package/dist/plugins/golang/atlas/builders/i-atlas-builder.d.ts.map +1 -0
- package/dist/plugins/golang/atlas/builders/i-atlas-builder.js +2 -0
- package/dist/plugins/golang/atlas/builders/i-atlas-builder.js.map +1 -0
- package/dist/plugins/golang/atlas/builders/index.d.ts +6 -0
- package/dist/plugins/golang/atlas/builders/index.d.ts.map +1 -0
- package/dist/plugins/golang/atlas/builders/index.js +5 -0
- package/dist/plugins/golang/atlas/builders/index.js.map +1 -0
- package/dist/plugins/golang/atlas/builders/package-graph-builder.d.ts +14 -0
- package/dist/plugins/golang/atlas/builders/package-graph-builder.d.ts.map +1 -0
- package/dist/plugins/golang/atlas/builders/package-graph-builder.js +115 -0
- package/dist/plugins/golang/atlas/builders/package-graph-builder.js.map +1 -0
- package/dist/plugins/golang/atlas/framework-detector.d.ts +11 -0
- package/dist/plugins/golang/atlas/framework-detector.d.ts.map +1 -0
- package/dist/plugins/golang/atlas/framework-detector.js +82 -0
- package/dist/plugins/golang/atlas/framework-detector.js.map +1 -0
- package/dist/plugins/golang/atlas/go-mod-resolver.d.ts +21 -0
- package/dist/plugins/golang/atlas/go-mod-resolver.d.ts.map +1 -0
- package/dist/plugins/golang/atlas/go-mod-resolver.js +90 -0
- package/dist/plugins/golang/atlas/go-mod-resolver.js.map +1 -0
- package/dist/plugins/golang/atlas/index.d.ts +28 -0
- package/dist/plugins/golang/atlas/index.d.ts.map +1 -0
- package/dist/plugins/golang/atlas/index.js +166 -0
- package/dist/plugins/golang/atlas/index.js.map +1 -0
- package/dist/plugins/golang/atlas/renderers/atlas-renderer.d.ts +7 -0
- package/dist/plugins/golang/atlas/renderers/atlas-renderer.d.ts.map +1 -0
- package/dist/plugins/golang/atlas/renderers/atlas-renderer.js +62 -0
- package/dist/plugins/golang/atlas/renderers/atlas-renderer.js.map +1 -0
- package/dist/plugins/golang/atlas/renderers/mermaid-templates.d.ts +24 -0
- package/dist/plugins/golang/atlas/renderers/mermaid-templates.d.ts.map +1 -0
- package/dist/plugins/golang/atlas/renderers/mermaid-templates.js +688 -0
- package/dist/plugins/golang/atlas/renderers/mermaid-templates.js.map +1 -0
- package/dist/plugins/golang/atlas/types.d.ts +63 -0
- package/dist/plugins/golang/atlas/types.d.ts.map +1 -0
- package/dist/plugins/golang/atlas/types.js +2 -0
- package/dist/plugins/golang/atlas/types.js.map +1 -0
- package/dist/plugins/golang/dependency-extractor.d.ts +7 -0
- package/dist/plugins/golang/dependency-extractor.d.ts.map +1 -0
- package/dist/plugins/golang/dependency-extractor.js +100 -0
- package/dist/plugins/golang/dependency-extractor.js.map +1 -0
- package/dist/plugins/golang/gopls-client.d.ts +38 -0
- package/dist/plugins/golang/gopls-client.d.ts.map +1 -0
- package/dist/plugins/golang/gopls-client.js +354 -0
- package/dist/plugins/golang/gopls-client.js.map +1 -0
- package/dist/plugins/golang/index.d.ts +29 -0
- package/dist/plugins/golang/index.d.ts.map +1 -0
- package/dist/plugins/golang/index.js +242 -0
- package/dist/plugins/golang/index.js.map +1 -0
- package/dist/plugins/golang/interface-matcher.d.ts +14 -0
- package/dist/plugins/golang/interface-matcher.d.ts.map +1 -0
- package/dist/plugins/golang/interface-matcher.js +235 -0
- package/dist/plugins/golang/interface-matcher.js.map +1 -0
- package/dist/plugins/golang/tree-sitter-bridge.d.ts +32 -0
- package/dist/plugins/golang/tree-sitter-bridge.d.ts.map +1 -0
- package/dist/plugins/golang/tree-sitter-bridge.js +579 -0
- package/dist/plugins/golang/tree-sitter-bridge.js.map +1 -0
- package/dist/plugins/golang/types.d.ts +119 -0
- package/dist/plugins/golang/types.d.ts.map +1 -0
- package/dist/plugins/golang/types.js +2 -0
- package/dist/plugins/golang/types.js.map +1 -0
- package/dist/plugins/java/archjson-mapper.d.ts +15 -0
- package/dist/plugins/java/archjson-mapper.d.ts.map +1 -0
- package/dist/plugins/java/archjson-mapper.js +273 -0
- package/dist/plugins/java/archjson-mapper.js.map +1 -0
- package/dist/plugins/java/dependency-extractor.d.ts +9 -0
- package/dist/plugins/java/dependency-extractor.d.ts.map +1 -0
- package/dist/plugins/java/dependency-extractor.js +99 -0
- package/dist/plugins/java/dependency-extractor.js.map +1 -0
- package/dist/plugins/java/index.d.ts +21 -0
- package/dist/plugins/java/index.d.ts.map +1 -0
- package/dist/plugins/java/index.js +167 -0
- package/dist/plugins/java/index.js.map +1 -0
- package/dist/plugins/java/tree-sitter-bridge.d.ts +19 -0
- package/dist/plugins/java/tree-sitter-bridge.d.ts.map +1 -0
- package/dist/plugins/java/tree-sitter-bridge.js +334 -0
- package/dist/plugins/java/tree-sitter-bridge.js.map +1 -0
- package/dist/plugins/java/types.d.ts +81 -0
- package/dist/plugins/java/types.d.ts.map +1 -0
- package/dist/plugins/java/types.js +2 -0
- package/dist/plugins/java/types.js.map +1 -0
- package/dist/plugins/python/archjson-mapper.d.ts +19 -0
- package/dist/plugins/python/archjson-mapper.d.ts.map +1 -0
- package/dist/plugins/python/archjson-mapper.js +170 -0
- package/dist/plugins/python/archjson-mapper.js.map +1 -0
- package/dist/plugins/python/dependency-extractor.d.ts +11 -0
- package/dist/plugins/python/dependency-extractor.d.ts.map +1 -0
- package/dist/plugins/python/dependency-extractor.js +186 -0
- package/dist/plugins/python/dependency-extractor.js.map +1 -0
- package/dist/plugins/python/index.d.ts +21 -0
- package/dist/plugins/python/index.d.ts.map +1 -0
- package/dist/plugins/python/index.js +142 -0
- package/dist/plugins/python/index.js.map +1 -0
- package/dist/plugins/python/tree-sitter-bridge.d.ts +16 -0
- package/dist/plugins/python/tree-sitter-bridge.d.ts.map +1 -0
- package/dist/plugins/python/tree-sitter-bridge.js +352 -0
- package/dist/plugins/python/tree-sitter-bridge.js.map +1 -0
- package/dist/plugins/python/types.d.ts +86 -0
- package/dist/plugins/python/types.d.ts.map +1 -0
- package/dist/plugins/python/types.js +2 -0
- package/dist/plugins/python/types.js.map +1 -0
- package/dist/plugins/shared/mapper-utils.d.ts +4 -0
- package/dist/plugins/shared/mapper-utils.d.ts.map +1 -0
- package/dist/plugins/shared/mapper-utils.js +12 -0
- package/dist/plugins/shared/mapper-utils.js.map +1 -0
- package/dist/plugins/typescript/builders/module-graph-builder.d.ts +8 -0
- package/dist/plugins/typescript/builders/module-graph-builder.d.ts.map +1 -0
- package/dist/plugins/typescript/builders/module-graph-builder.js +175 -0
- package/dist/plugins/typescript/builders/module-graph-builder.js.map +1 -0
- package/dist/plugins/typescript/index.d.ts +26 -0
- package/dist/plugins/typescript/index.d.ts.map +1 -0
- package/dist/plugins/typescript/index.js +232 -0
- package/dist/plugins/typescript/index.js.map +1 -0
- package/dist/plugins/typescript/typescript-analyzer.d.ts +8 -0
- package/dist/plugins/typescript/typescript-analyzer.d.ts.map +1 -0
- package/dist/plugins/typescript/typescript-analyzer.js +13 -0
- package/dist/plugins/typescript/typescript-analyzer.js.map +1 -0
- package/dist/scripts/migrate-to-mermaid.js +214 -0
- package/dist/types/config.d.ts +140 -0
- package/dist/types/config.d.ts.map +1 -0
- package/dist/types/config.js +6 -0
- package/dist/types/config.js.map +1 -0
- package/dist/types/extensions.d.ts +224 -0
- package/dist/types/extensions.d.ts.map +1 -0
- package/dist/types/extensions.js +3 -0
- package/dist/types/extensions.js.map +1 -0
- package/dist/types/index.d.ts +89 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +3 -0
- package/dist/types/index.js.map +1 -0
- package/dist/utils/cli-detector.d.ts +8 -0
- package/dist/utils/cli-detector.d.ts.map +1 -0
- package/dist/utils/cli-detector.js +38 -0
- package/dist/utils/cli-detector.js.map +1 -0
- package/dist/utils/index.d.ts +4 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +3 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/tsconfig-finder.d.ts +7 -0
- package/dist/utils/tsconfig-finder.d.ts.map +1 -0
- package/dist/utils/tsconfig-finder.js +31 -0
- package/dist/utils/tsconfig-finder.js.map +1 -0
- package/package.json +95 -0
|
@@ -0,0 +1,701 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export type { ArchGuardConfig } from '../types/config.js';
|
|
3
|
+
declare const configSchema: z.ZodObject<{
|
|
4
|
+
outputDir: z.ZodDefault<z.ZodString>;
|
|
5
|
+
format: z.ZodDefault<z.ZodEnum<["mermaid", "json"]>>;
|
|
6
|
+
mermaid: z.ZodDefault<z.ZodObject<{
|
|
7
|
+
renderer: z.ZodDefault<z.ZodEnum<["isomorphic", "cli"]>>;
|
|
8
|
+
theme: z.ZodDefault<z.ZodEnum<["default", "forest", "dark", "neutral"]>>;
|
|
9
|
+
transparentBackground: z.ZodDefault<z.ZodBoolean>;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
renderer?: "isomorphic" | "cli";
|
|
12
|
+
theme?: "default" | "forest" | "dark" | "neutral";
|
|
13
|
+
transparentBackground?: boolean;
|
|
14
|
+
}, {
|
|
15
|
+
renderer?: "isomorphic" | "cli";
|
|
16
|
+
theme?: "default" | "forest" | "dark" | "neutral";
|
|
17
|
+
transparentBackground?: boolean;
|
|
18
|
+
}>>;
|
|
19
|
+
exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
20
|
+
cli: z.ZodDefault<z.ZodObject<{
|
|
21
|
+
command: z.ZodDefault<z.ZodString>;
|
|
22
|
+
args: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
23
|
+
timeout: z.ZodDefault<z.ZodNumber>;
|
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
|
25
|
+
timeout?: number;
|
|
26
|
+
command?: string;
|
|
27
|
+
args?: string[];
|
|
28
|
+
}, {
|
|
29
|
+
timeout?: number;
|
|
30
|
+
command?: string;
|
|
31
|
+
args?: string[];
|
|
32
|
+
}>>;
|
|
33
|
+
cache: z.ZodDefault<z.ZodObject<{
|
|
34
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
35
|
+
ttl: z.ZodDefault<z.ZodNumber>;
|
|
36
|
+
}, "strip", z.ZodTypeAny, {
|
|
37
|
+
enabled?: boolean;
|
|
38
|
+
ttl?: number;
|
|
39
|
+
}, {
|
|
40
|
+
enabled?: boolean;
|
|
41
|
+
ttl?: number;
|
|
42
|
+
}>>;
|
|
43
|
+
concurrency: z.ZodDefault<z.ZodNumber>;
|
|
44
|
+
verbose: z.ZodDefault<z.ZodBoolean>;
|
|
45
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
46
|
+
title: z.ZodOptional<z.ZodString>;
|
|
47
|
+
description: z.ZodOptional<z.ZodString>;
|
|
48
|
+
system: z.ZodOptional<z.ZodString>;
|
|
49
|
+
author: z.ZodOptional<z.ZodString>;
|
|
50
|
+
projectUrl: z.ZodOptional<z.ZodString>;
|
|
51
|
+
keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
title?: string;
|
|
54
|
+
description?: string;
|
|
55
|
+
system?: string;
|
|
56
|
+
author?: string;
|
|
57
|
+
projectUrl?: string;
|
|
58
|
+
keywords?: string[];
|
|
59
|
+
}, {
|
|
60
|
+
title?: string;
|
|
61
|
+
description?: string;
|
|
62
|
+
system?: string;
|
|
63
|
+
author?: string;
|
|
64
|
+
projectUrl?: string;
|
|
65
|
+
keywords?: string[];
|
|
66
|
+
}>>;
|
|
67
|
+
diagrams: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
68
|
+
name: z.ZodString;
|
|
69
|
+
sources: z.ZodArray<z.ZodString, "many">;
|
|
70
|
+
level: z.ZodEnum<["package", "class", "method"]>;
|
|
71
|
+
description: z.ZodOptional<z.ZodString>;
|
|
72
|
+
format: z.ZodOptional<z.ZodEnum<["mermaid", "json"]>>;
|
|
73
|
+
exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
74
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
75
|
+
title: z.ZodOptional<z.ZodString>;
|
|
76
|
+
subtitle: z.ZodOptional<z.ZodString>;
|
|
77
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
78
|
+
primaryActors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
79
|
+
input: z.ZodOptional<z.ZodObject<{
|
|
80
|
+
type: z.ZodString;
|
|
81
|
+
description: z.ZodOptional<z.ZodString>;
|
|
82
|
+
example: z.ZodOptional<z.ZodString>;
|
|
83
|
+
}, "strip", z.ZodTypeAny, {
|
|
84
|
+
type?: string;
|
|
85
|
+
description?: string;
|
|
86
|
+
example?: string;
|
|
87
|
+
}, {
|
|
88
|
+
type?: string;
|
|
89
|
+
description?: string;
|
|
90
|
+
example?: string;
|
|
91
|
+
}>>;
|
|
92
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
93
|
+
description: z.ZodString;
|
|
94
|
+
formats: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
95
|
+
example: z.ZodOptional<z.ZodString>;
|
|
96
|
+
}, "strip", z.ZodTypeAny, {
|
|
97
|
+
description?: string;
|
|
98
|
+
example?: string;
|
|
99
|
+
formats?: string[];
|
|
100
|
+
}, {
|
|
101
|
+
description?: string;
|
|
102
|
+
example?: string;
|
|
103
|
+
formats?: string[];
|
|
104
|
+
}>>;
|
|
105
|
+
}, "strip", z.ZodTypeAny, {
|
|
106
|
+
title?: string;
|
|
107
|
+
subtitle?: string;
|
|
108
|
+
purpose?: string;
|
|
109
|
+
input?: {
|
|
110
|
+
type?: string;
|
|
111
|
+
description?: string;
|
|
112
|
+
example?: string;
|
|
113
|
+
};
|
|
114
|
+
output?: {
|
|
115
|
+
description?: string;
|
|
116
|
+
example?: string;
|
|
117
|
+
formats?: string[];
|
|
118
|
+
};
|
|
119
|
+
primaryActors?: string[];
|
|
120
|
+
}, {
|
|
121
|
+
title?: string;
|
|
122
|
+
subtitle?: string;
|
|
123
|
+
purpose?: string;
|
|
124
|
+
input?: {
|
|
125
|
+
type?: string;
|
|
126
|
+
description?: string;
|
|
127
|
+
example?: string;
|
|
128
|
+
};
|
|
129
|
+
output?: {
|
|
130
|
+
description?: string;
|
|
131
|
+
example?: string;
|
|
132
|
+
formats?: string[];
|
|
133
|
+
};
|
|
134
|
+
primaryActors?: string[];
|
|
135
|
+
}>>;
|
|
136
|
+
design: z.ZodOptional<z.ZodObject<{
|
|
137
|
+
architectureStyle: z.ZodOptional<z.ZodEnum<["layered", "event-driven", "microkernel", "serverless"]>>;
|
|
138
|
+
patterns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
139
|
+
name: z.ZodString;
|
|
140
|
+
category: z.ZodEnum<["creational", "structural", "behavioral", "concurrency"]>;
|
|
141
|
+
participants: z.ZodArray<z.ZodString, "many">;
|
|
142
|
+
description: z.ZodString;
|
|
143
|
+
codeExample: z.ZodOptional<z.ZodString>;
|
|
144
|
+
}, "strip", z.ZodTypeAny, {
|
|
145
|
+
description?: string;
|
|
146
|
+
name?: string;
|
|
147
|
+
category?: "creational" | "structural" | "behavioral" | "concurrency";
|
|
148
|
+
participants?: string[];
|
|
149
|
+
codeExample?: string;
|
|
150
|
+
}, {
|
|
151
|
+
description?: string;
|
|
152
|
+
name?: string;
|
|
153
|
+
category?: "creational" | "structural" | "behavioral" | "concurrency";
|
|
154
|
+
participants?: string[];
|
|
155
|
+
codeExample?: string;
|
|
156
|
+
}>, "many">>;
|
|
157
|
+
principles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
158
|
+
decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
159
|
+
topic: z.ZodString;
|
|
160
|
+
decision: z.ZodString;
|
|
161
|
+
rationale: z.ZodString;
|
|
162
|
+
alternatives: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
163
|
+
}, "strip", z.ZodTypeAny, {
|
|
164
|
+
topic?: string;
|
|
165
|
+
decision?: string;
|
|
166
|
+
rationale?: string;
|
|
167
|
+
alternatives?: string[];
|
|
168
|
+
}, {
|
|
169
|
+
topic?: string;
|
|
170
|
+
decision?: string;
|
|
171
|
+
rationale?: string;
|
|
172
|
+
alternatives?: string[];
|
|
173
|
+
}>, "many">>;
|
|
174
|
+
}, "strip", z.ZodTypeAny, {
|
|
175
|
+
patterns?: {
|
|
176
|
+
description?: string;
|
|
177
|
+
name?: string;
|
|
178
|
+
category?: "creational" | "structural" | "behavioral" | "concurrency";
|
|
179
|
+
participants?: string[];
|
|
180
|
+
codeExample?: string;
|
|
181
|
+
}[];
|
|
182
|
+
principles?: string[];
|
|
183
|
+
architectureStyle?: "layered" | "event-driven" | "microkernel" | "serverless";
|
|
184
|
+
decisions?: {
|
|
185
|
+
topic?: string;
|
|
186
|
+
decision?: string;
|
|
187
|
+
rationale?: string;
|
|
188
|
+
alternatives?: string[];
|
|
189
|
+
}[];
|
|
190
|
+
}, {
|
|
191
|
+
patterns?: {
|
|
192
|
+
description?: string;
|
|
193
|
+
name?: string;
|
|
194
|
+
category?: "creational" | "structural" | "behavioral" | "concurrency";
|
|
195
|
+
participants?: string[];
|
|
196
|
+
codeExample?: string;
|
|
197
|
+
}[];
|
|
198
|
+
principles?: string[];
|
|
199
|
+
architectureStyle?: "layered" | "event-driven" | "microkernel" | "serverless";
|
|
200
|
+
decisions?: {
|
|
201
|
+
topic?: string;
|
|
202
|
+
decision?: string;
|
|
203
|
+
rationale?: string;
|
|
204
|
+
alternatives?: string[];
|
|
205
|
+
}[];
|
|
206
|
+
}>>;
|
|
207
|
+
process: z.ZodOptional<z.ZodObject<{
|
|
208
|
+
stages: z.ZodOptional<z.ZodNumber>;
|
|
209
|
+
stageList: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
210
|
+
order: z.ZodNumber;
|
|
211
|
+
name: z.ZodString;
|
|
212
|
+
description: z.ZodString;
|
|
213
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
214
|
+
patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
215
|
+
}, "strip", z.ZodTypeAny, {
|
|
216
|
+
patterns?: string[];
|
|
217
|
+
description?: string;
|
|
218
|
+
name?: string;
|
|
219
|
+
order?: number;
|
|
220
|
+
namespace?: string;
|
|
221
|
+
}, {
|
|
222
|
+
patterns?: string[];
|
|
223
|
+
description?: string;
|
|
224
|
+
name?: string;
|
|
225
|
+
order?: number;
|
|
226
|
+
namespace?: string;
|
|
227
|
+
}>, "many">>;
|
|
228
|
+
dataFlow: z.ZodOptional<z.ZodString>;
|
|
229
|
+
keyDependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
230
|
+
}, "strip", z.ZodTypeAny, {
|
|
231
|
+
stages?: number;
|
|
232
|
+
stageList?: {
|
|
233
|
+
patterns?: string[];
|
|
234
|
+
description?: string;
|
|
235
|
+
name?: string;
|
|
236
|
+
order?: number;
|
|
237
|
+
namespace?: string;
|
|
238
|
+
}[];
|
|
239
|
+
dataFlow?: string;
|
|
240
|
+
keyDependencies?: string[];
|
|
241
|
+
}, {
|
|
242
|
+
stages?: number;
|
|
243
|
+
stageList?: {
|
|
244
|
+
patterns?: string[];
|
|
245
|
+
description?: string;
|
|
246
|
+
name?: string;
|
|
247
|
+
order?: number;
|
|
248
|
+
namespace?: string;
|
|
249
|
+
}[];
|
|
250
|
+
dataFlow?: string;
|
|
251
|
+
keyDependencies?: string[];
|
|
252
|
+
}>>;
|
|
253
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
254
|
+
enableComments: z.ZodOptional<z.ZodBoolean>;
|
|
255
|
+
highlightPatterns: z.ZodOptional<z.ZodBoolean>;
|
|
256
|
+
showExternalDeps: z.ZodOptional<z.ZodBoolean>;
|
|
257
|
+
includeUsageExample: z.ZodOptional<z.ZodBoolean>;
|
|
258
|
+
enableVisibleTitle: z.ZodOptional<z.ZodBoolean>;
|
|
259
|
+
visibleTitleSections: z.ZodOptional<z.ZodArray<z.ZodEnum<["title", "subtitle", "purpose", "input", "output", "patterns", "principles", "process"]>, "many">>;
|
|
260
|
+
titlePosition: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
|
|
261
|
+
}, "strip", z.ZodTypeAny, {
|
|
262
|
+
enableComments?: boolean;
|
|
263
|
+
highlightPatterns?: boolean;
|
|
264
|
+
showExternalDeps?: boolean;
|
|
265
|
+
includeUsageExample?: boolean;
|
|
266
|
+
enableVisibleTitle?: boolean;
|
|
267
|
+
visibleTitleSections?: ("title" | "subtitle" | "purpose" | "input" | "output" | "patterns" | "principles" | "process")[];
|
|
268
|
+
titlePosition?: "top" | "bottom";
|
|
269
|
+
}, {
|
|
270
|
+
enableComments?: boolean;
|
|
271
|
+
highlightPatterns?: boolean;
|
|
272
|
+
showExternalDeps?: boolean;
|
|
273
|
+
includeUsageExample?: boolean;
|
|
274
|
+
enableVisibleTitle?: boolean;
|
|
275
|
+
visibleTitleSections?: ("title" | "subtitle" | "purpose" | "input" | "output" | "patterns" | "principles" | "process")[];
|
|
276
|
+
titlePosition?: "top" | "bottom";
|
|
277
|
+
}>>;
|
|
278
|
+
classes: z.ZodOptional<z.ZodObject<{
|
|
279
|
+
highlightClasses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
280
|
+
annotateClasses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
281
|
+
className: z.ZodString;
|
|
282
|
+
note: z.ZodOptional<z.ZodString>;
|
|
283
|
+
stereotypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
284
|
+
responsibility: z.ZodOptional<z.ZodString>;
|
|
285
|
+
}, "strip", z.ZodTypeAny, {
|
|
286
|
+
className?: string;
|
|
287
|
+
note?: string;
|
|
288
|
+
stereotypes?: string[];
|
|
289
|
+
responsibility?: string;
|
|
290
|
+
}, {
|
|
291
|
+
className?: string;
|
|
292
|
+
note?: string;
|
|
293
|
+
stereotypes?: string[];
|
|
294
|
+
responsibility?: string;
|
|
295
|
+
}>, "many">>;
|
|
296
|
+
visibility: z.ZodOptional<z.ZodObject<{
|
|
297
|
+
show: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
298
|
+
hide: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
299
|
+
}, "strip", z.ZodTypeAny, {
|
|
300
|
+
show?: string[];
|
|
301
|
+
hide?: string[];
|
|
302
|
+
}, {
|
|
303
|
+
show?: string[];
|
|
304
|
+
hide?: string[];
|
|
305
|
+
}>>;
|
|
306
|
+
}, "strip", z.ZodTypeAny, {
|
|
307
|
+
highlightClasses?: string[];
|
|
308
|
+
annotateClasses?: {
|
|
309
|
+
className?: string;
|
|
310
|
+
note?: string;
|
|
311
|
+
stereotypes?: string[];
|
|
312
|
+
responsibility?: string;
|
|
313
|
+
}[];
|
|
314
|
+
visibility?: {
|
|
315
|
+
show?: string[];
|
|
316
|
+
hide?: string[];
|
|
317
|
+
};
|
|
318
|
+
}, {
|
|
319
|
+
highlightClasses?: string[];
|
|
320
|
+
annotateClasses?: {
|
|
321
|
+
className?: string;
|
|
322
|
+
note?: string;
|
|
323
|
+
stereotypes?: string[];
|
|
324
|
+
responsibility?: string;
|
|
325
|
+
}[];
|
|
326
|
+
visibility?: {
|
|
327
|
+
show?: string[];
|
|
328
|
+
hide?: string[];
|
|
329
|
+
};
|
|
330
|
+
}>>;
|
|
331
|
+
}, "strip", z.ZodTypeAny, {
|
|
332
|
+
process?: {
|
|
333
|
+
stages?: number;
|
|
334
|
+
stageList?: {
|
|
335
|
+
patterns?: string[];
|
|
336
|
+
description?: string;
|
|
337
|
+
name?: string;
|
|
338
|
+
order?: number;
|
|
339
|
+
namespace?: string;
|
|
340
|
+
}[];
|
|
341
|
+
dataFlow?: string;
|
|
342
|
+
keyDependencies?: string[];
|
|
343
|
+
};
|
|
344
|
+
description?: string;
|
|
345
|
+
name?: string;
|
|
346
|
+
format?: "mermaid" | "json";
|
|
347
|
+
exclude?: string[];
|
|
348
|
+
metadata?: {
|
|
349
|
+
title?: string;
|
|
350
|
+
subtitle?: string;
|
|
351
|
+
purpose?: string;
|
|
352
|
+
input?: {
|
|
353
|
+
type?: string;
|
|
354
|
+
description?: string;
|
|
355
|
+
example?: string;
|
|
356
|
+
};
|
|
357
|
+
output?: {
|
|
358
|
+
description?: string;
|
|
359
|
+
example?: string;
|
|
360
|
+
formats?: string[];
|
|
361
|
+
};
|
|
362
|
+
primaryActors?: string[];
|
|
363
|
+
};
|
|
364
|
+
sources?: string[];
|
|
365
|
+
level?: "package" | "class" | "method";
|
|
366
|
+
design?: {
|
|
367
|
+
patterns?: {
|
|
368
|
+
description?: string;
|
|
369
|
+
name?: string;
|
|
370
|
+
category?: "creational" | "structural" | "behavioral" | "concurrency";
|
|
371
|
+
participants?: string[];
|
|
372
|
+
codeExample?: string;
|
|
373
|
+
}[];
|
|
374
|
+
principles?: string[];
|
|
375
|
+
architectureStyle?: "layered" | "event-driven" | "microkernel" | "serverless";
|
|
376
|
+
decisions?: {
|
|
377
|
+
topic?: string;
|
|
378
|
+
decision?: string;
|
|
379
|
+
rationale?: string;
|
|
380
|
+
alternatives?: string[];
|
|
381
|
+
}[];
|
|
382
|
+
};
|
|
383
|
+
annotations?: {
|
|
384
|
+
enableComments?: boolean;
|
|
385
|
+
highlightPatterns?: boolean;
|
|
386
|
+
showExternalDeps?: boolean;
|
|
387
|
+
includeUsageExample?: boolean;
|
|
388
|
+
enableVisibleTitle?: boolean;
|
|
389
|
+
visibleTitleSections?: ("title" | "subtitle" | "purpose" | "input" | "output" | "patterns" | "principles" | "process")[];
|
|
390
|
+
titlePosition?: "top" | "bottom";
|
|
391
|
+
};
|
|
392
|
+
classes?: {
|
|
393
|
+
highlightClasses?: string[];
|
|
394
|
+
annotateClasses?: {
|
|
395
|
+
className?: string;
|
|
396
|
+
note?: string;
|
|
397
|
+
stereotypes?: string[];
|
|
398
|
+
responsibility?: string;
|
|
399
|
+
}[];
|
|
400
|
+
visibility?: {
|
|
401
|
+
show?: string[];
|
|
402
|
+
hide?: string[];
|
|
403
|
+
};
|
|
404
|
+
};
|
|
405
|
+
}, {
|
|
406
|
+
process?: {
|
|
407
|
+
stages?: number;
|
|
408
|
+
stageList?: {
|
|
409
|
+
patterns?: string[];
|
|
410
|
+
description?: string;
|
|
411
|
+
name?: string;
|
|
412
|
+
order?: number;
|
|
413
|
+
namespace?: string;
|
|
414
|
+
}[];
|
|
415
|
+
dataFlow?: string;
|
|
416
|
+
keyDependencies?: string[];
|
|
417
|
+
};
|
|
418
|
+
description?: string;
|
|
419
|
+
name?: string;
|
|
420
|
+
format?: "mermaid" | "json";
|
|
421
|
+
exclude?: string[];
|
|
422
|
+
metadata?: {
|
|
423
|
+
title?: string;
|
|
424
|
+
subtitle?: string;
|
|
425
|
+
purpose?: string;
|
|
426
|
+
input?: {
|
|
427
|
+
type?: string;
|
|
428
|
+
description?: string;
|
|
429
|
+
example?: string;
|
|
430
|
+
};
|
|
431
|
+
output?: {
|
|
432
|
+
description?: string;
|
|
433
|
+
example?: string;
|
|
434
|
+
formats?: string[];
|
|
435
|
+
};
|
|
436
|
+
primaryActors?: string[];
|
|
437
|
+
};
|
|
438
|
+
sources?: string[];
|
|
439
|
+
level?: "package" | "class" | "method";
|
|
440
|
+
design?: {
|
|
441
|
+
patterns?: {
|
|
442
|
+
description?: string;
|
|
443
|
+
name?: string;
|
|
444
|
+
category?: "creational" | "structural" | "behavioral" | "concurrency";
|
|
445
|
+
participants?: string[];
|
|
446
|
+
codeExample?: string;
|
|
447
|
+
}[];
|
|
448
|
+
principles?: string[];
|
|
449
|
+
architectureStyle?: "layered" | "event-driven" | "microkernel" | "serverless";
|
|
450
|
+
decisions?: {
|
|
451
|
+
topic?: string;
|
|
452
|
+
decision?: string;
|
|
453
|
+
rationale?: string;
|
|
454
|
+
alternatives?: string[];
|
|
455
|
+
}[];
|
|
456
|
+
};
|
|
457
|
+
annotations?: {
|
|
458
|
+
enableComments?: boolean;
|
|
459
|
+
highlightPatterns?: boolean;
|
|
460
|
+
showExternalDeps?: boolean;
|
|
461
|
+
includeUsageExample?: boolean;
|
|
462
|
+
enableVisibleTitle?: boolean;
|
|
463
|
+
visibleTitleSections?: ("title" | "subtitle" | "purpose" | "input" | "output" | "patterns" | "principles" | "process")[];
|
|
464
|
+
titlePosition?: "top" | "bottom";
|
|
465
|
+
};
|
|
466
|
+
classes?: {
|
|
467
|
+
highlightClasses?: string[];
|
|
468
|
+
annotateClasses?: {
|
|
469
|
+
className?: string;
|
|
470
|
+
note?: string;
|
|
471
|
+
stereotypes?: string[];
|
|
472
|
+
responsibility?: string;
|
|
473
|
+
}[];
|
|
474
|
+
visibility?: {
|
|
475
|
+
show?: string[];
|
|
476
|
+
hide?: string[];
|
|
477
|
+
};
|
|
478
|
+
};
|
|
479
|
+
}>, "many">>;
|
|
480
|
+
}, "strip", z.ZodTypeAny, {
|
|
481
|
+
cli?: {
|
|
482
|
+
timeout?: number;
|
|
483
|
+
command?: string;
|
|
484
|
+
args?: string[];
|
|
485
|
+
};
|
|
486
|
+
mermaid?: {
|
|
487
|
+
renderer?: "isomorphic" | "cli";
|
|
488
|
+
theme?: "default" | "forest" | "dark" | "neutral";
|
|
489
|
+
transparentBackground?: boolean;
|
|
490
|
+
};
|
|
491
|
+
concurrency?: number;
|
|
492
|
+
cache?: {
|
|
493
|
+
enabled?: boolean;
|
|
494
|
+
ttl?: number;
|
|
495
|
+
};
|
|
496
|
+
outputDir?: string;
|
|
497
|
+
format?: "mermaid" | "json";
|
|
498
|
+
exclude?: string[];
|
|
499
|
+
verbose?: boolean;
|
|
500
|
+
metadata?: {
|
|
501
|
+
title?: string;
|
|
502
|
+
description?: string;
|
|
503
|
+
system?: string;
|
|
504
|
+
author?: string;
|
|
505
|
+
projectUrl?: string;
|
|
506
|
+
keywords?: string[];
|
|
507
|
+
};
|
|
508
|
+
diagrams?: {
|
|
509
|
+
process?: {
|
|
510
|
+
stages?: number;
|
|
511
|
+
stageList?: {
|
|
512
|
+
patterns?: string[];
|
|
513
|
+
description?: string;
|
|
514
|
+
name?: string;
|
|
515
|
+
order?: number;
|
|
516
|
+
namespace?: string;
|
|
517
|
+
}[];
|
|
518
|
+
dataFlow?: string;
|
|
519
|
+
keyDependencies?: string[];
|
|
520
|
+
};
|
|
521
|
+
description?: string;
|
|
522
|
+
name?: string;
|
|
523
|
+
format?: "mermaid" | "json";
|
|
524
|
+
exclude?: string[];
|
|
525
|
+
metadata?: {
|
|
526
|
+
title?: string;
|
|
527
|
+
subtitle?: string;
|
|
528
|
+
purpose?: string;
|
|
529
|
+
input?: {
|
|
530
|
+
type?: string;
|
|
531
|
+
description?: string;
|
|
532
|
+
example?: string;
|
|
533
|
+
};
|
|
534
|
+
output?: {
|
|
535
|
+
description?: string;
|
|
536
|
+
example?: string;
|
|
537
|
+
formats?: string[];
|
|
538
|
+
};
|
|
539
|
+
primaryActors?: string[];
|
|
540
|
+
};
|
|
541
|
+
sources?: string[];
|
|
542
|
+
level?: "package" | "class" | "method";
|
|
543
|
+
design?: {
|
|
544
|
+
patterns?: {
|
|
545
|
+
description?: string;
|
|
546
|
+
name?: string;
|
|
547
|
+
category?: "creational" | "structural" | "behavioral" | "concurrency";
|
|
548
|
+
participants?: string[];
|
|
549
|
+
codeExample?: string;
|
|
550
|
+
}[];
|
|
551
|
+
principles?: string[];
|
|
552
|
+
architectureStyle?: "layered" | "event-driven" | "microkernel" | "serverless";
|
|
553
|
+
decisions?: {
|
|
554
|
+
topic?: string;
|
|
555
|
+
decision?: string;
|
|
556
|
+
rationale?: string;
|
|
557
|
+
alternatives?: string[];
|
|
558
|
+
}[];
|
|
559
|
+
};
|
|
560
|
+
annotations?: {
|
|
561
|
+
enableComments?: boolean;
|
|
562
|
+
highlightPatterns?: boolean;
|
|
563
|
+
showExternalDeps?: boolean;
|
|
564
|
+
includeUsageExample?: boolean;
|
|
565
|
+
enableVisibleTitle?: boolean;
|
|
566
|
+
visibleTitleSections?: ("title" | "subtitle" | "purpose" | "input" | "output" | "patterns" | "principles" | "process")[];
|
|
567
|
+
titlePosition?: "top" | "bottom";
|
|
568
|
+
};
|
|
569
|
+
classes?: {
|
|
570
|
+
highlightClasses?: string[];
|
|
571
|
+
annotateClasses?: {
|
|
572
|
+
className?: string;
|
|
573
|
+
note?: string;
|
|
574
|
+
stereotypes?: string[];
|
|
575
|
+
responsibility?: string;
|
|
576
|
+
}[];
|
|
577
|
+
visibility?: {
|
|
578
|
+
show?: string[];
|
|
579
|
+
hide?: string[];
|
|
580
|
+
};
|
|
581
|
+
};
|
|
582
|
+
}[];
|
|
583
|
+
}, {
|
|
584
|
+
cli?: {
|
|
585
|
+
timeout?: number;
|
|
586
|
+
command?: string;
|
|
587
|
+
args?: string[];
|
|
588
|
+
};
|
|
589
|
+
mermaid?: {
|
|
590
|
+
renderer?: "isomorphic" | "cli";
|
|
591
|
+
theme?: "default" | "forest" | "dark" | "neutral";
|
|
592
|
+
transparentBackground?: boolean;
|
|
593
|
+
};
|
|
594
|
+
concurrency?: number;
|
|
595
|
+
cache?: {
|
|
596
|
+
enabled?: boolean;
|
|
597
|
+
ttl?: number;
|
|
598
|
+
};
|
|
599
|
+
outputDir?: string;
|
|
600
|
+
format?: "mermaid" | "json";
|
|
601
|
+
exclude?: string[];
|
|
602
|
+
verbose?: boolean;
|
|
603
|
+
metadata?: {
|
|
604
|
+
title?: string;
|
|
605
|
+
description?: string;
|
|
606
|
+
system?: string;
|
|
607
|
+
author?: string;
|
|
608
|
+
projectUrl?: string;
|
|
609
|
+
keywords?: string[];
|
|
610
|
+
};
|
|
611
|
+
diagrams?: {
|
|
612
|
+
process?: {
|
|
613
|
+
stages?: number;
|
|
614
|
+
stageList?: {
|
|
615
|
+
patterns?: string[];
|
|
616
|
+
description?: string;
|
|
617
|
+
name?: string;
|
|
618
|
+
order?: number;
|
|
619
|
+
namespace?: string;
|
|
620
|
+
}[];
|
|
621
|
+
dataFlow?: string;
|
|
622
|
+
keyDependencies?: string[];
|
|
623
|
+
};
|
|
624
|
+
description?: string;
|
|
625
|
+
name?: string;
|
|
626
|
+
format?: "mermaid" | "json";
|
|
627
|
+
exclude?: string[];
|
|
628
|
+
metadata?: {
|
|
629
|
+
title?: string;
|
|
630
|
+
subtitle?: string;
|
|
631
|
+
purpose?: string;
|
|
632
|
+
input?: {
|
|
633
|
+
type?: string;
|
|
634
|
+
description?: string;
|
|
635
|
+
example?: string;
|
|
636
|
+
};
|
|
637
|
+
output?: {
|
|
638
|
+
description?: string;
|
|
639
|
+
example?: string;
|
|
640
|
+
formats?: string[];
|
|
641
|
+
};
|
|
642
|
+
primaryActors?: string[];
|
|
643
|
+
};
|
|
644
|
+
sources?: string[];
|
|
645
|
+
level?: "package" | "class" | "method";
|
|
646
|
+
design?: {
|
|
647
|
+
patterns?: {
|
|
648
|
+
description?: string;
|
|
649
|
+
name?: string;
|
|
650
|
+
category?: "creational" | "structural" | "behavioral" | "concurrency";
|
|
651
|
+
participants?: string[];
|
|
652
|
+
codeExample?: string;
|
|
653
|
+
}[];
|
|
654
|
+
principles?: string[];
|
|
655
|
+
architectureStyle?: "layered" | "event-driven" | "microkernel" | "serverless";
|
|
656
|
+
decisions?: {
|
|
657
|
+
topic?: string;
|
|
658
|
+
decision?: string;
|
|
659
|
+
rationale?: string;
|
|
660
|
+
alternatives?: string[];
|
|
661
|
+
}[];
|
|
662
|
+
};
|
|
663
|
+
annotations?: {
|
|
664
|
+
enableComments?: boolean;
|
|
665
|
+
highlightPatterns?: boolean;
|
|
666
|
+
showExternalDeps?: boolean;
|
|
667
|
+
includeUsageExample?: boolean;
|
|
668
|
+
enableVisibleTitle?: boolean;
|
|
669
|
+
visibleTitleSections?: ("title" | "subtitle" | "purpose" | "input" | "output" | "patterns" | "principles" | "process")[];
|
|
670
|
+
titlePosition?: "top" | "bottom";
|
|
671
|
+
};
|
|
672
|
+
classes?: {
|
|
673
|
+
highlightClasses?: string[];
|
|
674
|
+
annotateClasses?: {
|
|
675
|
+
className?: string;
|
|
676
|
+
note?: string;
|
|
677
|
+
stereotypes?: string[];
|
|
678
|
+
responsibility?: string;
|
|
679
|
+
}[];
|
|
680
|
+
visibility?: {
|
|
681
|
+
show?: string[];
|
|
682
|
+
hide?: string[];
|
|
683
|
+
};
|
|
684
|
+
};
|
|
685
|
+
}[];
|
|
686
|
+
}>;
|
|
687
|
+
export type Config = z.infer<typeof configSchema>;
|
|
688
|
+
export declare class ConfigLoader {
|
|
689
|
+
private configDir;
|
|
690
|
+
constructor(configDir?: string);
|
|
691
|
+
load(cliOptions?: Partial<Config>, configPath?: string): Promise<Config>;
|
|
692
|
+
private normalizeConfig;
|
|
693
|
+
private deepMerge;
|
|
694
|
+
private isObject;
|
|
695
|
+
private loadFromFile;
|
|
696
|
+
init(options?: {
|
|
697
|
+
format?: 'json' | 'js';
|
|
698
|
+
}): Promise<void>;
|
|
699
|
+
getConfigPath(): Promise<string | null>;
|
|
700
|
+
}
|
|
701
|
+
//# sourceMappingURL=config-loader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-loader.d.ts","sourceRoot":"","sources":["../../src/cli/config-loader.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,YAAY,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAkI1D,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoFhB,CAAC;AAEH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAqDlD,qBAAa,YAAY;IACvB,OAAO,CAAC,SAAS,CAAS;gBAEd,SAAS,GAAE,MAAsB;IAUvC,IAAI,CAAC,UAAU,GAAE,OAAO,CAAC,MAAM,CAAM,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IA2BlF,OAAO,CAAC,eAAe;IAYvB,OAAO,CAAC,SAAS;IAiCjB,OAAO,CAAC,QAAQ;YAUF,YAAY;IA4CpB,IAAI,CAAC,OAAO,GAAE;QAAE,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAuB7D,aAAa,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;CAa9C"}
|