@netlify/framework-info
Version:
Framework detection utility
7 lines (6 loc) • 412 B
TypeScript
import type { PathExists } from './context.js';
import type { FrameworkDefinition } from './types.js';
export declare const usesFramework: ({ detect: { npmDependencies: frameworkNpmDependencies, excludedNpmDependencies: frameworkExcludedNpmDependencies, configFiles, }, }: FrameworkDefinition, { pathExists, npmDependencies }: {
pathExists: PathExists;
npmDependencies: string[];
}) => Promise<boolean>;