outfitter
Version:
Command-line tool for equipping your development journey with configurations and fieldguides
39 lines • 1.39 kB
TypeScript
export interface TerrainFeatures {
nextjs: boolean;
react: boolean;
vue: boolean;
svelte: boolean;
angular: boolean;
typescript: boolean;
javascript: boolean;
node: boolean;
python: boolean;
vitest: boolean;
jest: boolean;
playwright: boolean;
cypress: boolean;
zustand: boolean;
redux: boolean;
mobx: boolean;
vite: boolean;
webpack: boolean;
monorepo: boolean;
docker: boolean;
githubActions: boolean;
gitlabCi: boolean;
pnpm: boolean;
yarn: boolean;
npm: boolean;
bun: boolean;
}
/**
* Detects the presence of common frameworks, languages, tools, and features in a project directory.
*
* Inspects the specified directory for configuration files and package dependencies to determine which development environment features are present. Returns a {@link TerrainFeatures} object with boolean flags for each detected feature.
*
* @param cwd - The directory to analyze. Defaults to the current working directory.
* @returns An object indicating detected frameworks, languages, testing tools, state management libraries, build tools, project features, and package managers.
*/
export declare function detectTerrain(cwd?: string): Promise<TerrainFeatures>;
export declare function getTerrainSummary(terrain: TerrainFeatures): Array<string>;
//# sourceMappingURL=detect-terrain.d.ts.map