UNPKG

markus-diff

Version:

A tool to analyze and reconstruct project structures

29 lines 753 B
export function scanProject(projectDir) { return { structure: { framework: 'unknown', hasTypescript: false, hasSrcDir: true, packageJson: { dependencies: {}, devDependencies: {} } }, files: [ { path: 'file1.js', type: 'javascript', size: 100, content: 'console.log("Modified content");' }, { path: 'file2.js', type: 'javascript', size: 100, content: 'console.log("Another file");' } ], dependencies: {}, devDependencies: {} }; }