UNPKG

@dkoul/auto-testid-core

Version:

Core AST parsing and transformation logic for React and Vue.js attribute generation

20 lines 782 B
import { Framework, ScanOptions, FileScanner as IFileScanner } from '../index'; export declare class FileScanner implements IFileScanner { private logger; private readonly FRAMEWORK_EXTENSIONS; private readonly DEFAULT_SCAN_OPTIONS; scan(directory: string, options?: Partial<ScanOptions>): Promise<string[]>; isSupported(filePath: string): boolean; detectFramework(filePath: string, packageJson?: any): Framework; private buildGlobPatterns; private filterByFramework; private findPackageJson; getProjectInfo(directory: string): Promise<{ framework: Framework; packageJson: any; tsConfig: any; }>; private findTsConfig; } export declare const fileScanner: FileScanner; //# sourceMappingURL=file-scanner.d.ts.map