UNPKG

@notjustcoders/ioc-arise

Version:

Arise type-safe IoC containers from your code. Zero overhead, zero coupling.

23 lines 933 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.analyzeProject = analyzeProject; exports.analyzeProjectWithFactories = analyzeProjectWithFactories; const one_logger_client_sdk_1 = require("@notjustcoders/one-logger-client-sdk"); const project_analyzer_1 = require("./project-analyzer"); const ProjectAnalyzer = (0, one_logger_client_sdk_1.wrappedClass)("ProojectAnalyzer", project_analyzer_1.ProjectAnalyzer, (name, ...args) => ({ name, args })); async function analyzeProject(sourceDir, options) { const analyzer = new ProjectAnalyzer({ sourceDir, ...options }); const result = await analyzer.analyzeProject(); return result.classes; } async function analyzeProjectWithFactories(sourceDir, options) { const analyzer = new ProjectAnalyzer({ sourceDir, ...options }); return analyzer.analyzeProject(); } //# sourceMappingURL=index.js.map