@nx/react
Version:
14 lines (13 loc) • 801 B
TypeScript
import { ProjectConfiguration, Tree } from '@nx/devkit';
export interface StorybookStoriesSchema {
project: string;
interactionTests?: boolean;
js?: boolean;
ignorePaths?: string[];
skipFormat?: boolean;
}
export declare function projectRootPath(tree: Tree, config: ProjectConfiguration): Promise<string>;
export declare function containsComponentDeclaration(tree: Tree, componentPath: string): boolean;
export declare function createAllStories(tree: Tree, projectName: string, interactionTests: boolean, js: boolean, projects: Map<string, ProjectConfiguration>, projectConfiguration: ProjectConfiguration, ignorePaths?: string[]): Promise<void>;
export declare function storiesGenerator(host: Tree, schema: StorybookStoriesSchema): Promise<void>;
export default storiesGenerator;