UNPKG

@nx/react

Version:

The React plugin for Nx contains executors and generators for managing React applications and libraries within an Nx workspace. It provides: - Integration with libraries such as Jest, Vitest, Playwright, Cypress, and Storybook. - Generators for applica

14 lines (13 loc) 801 B
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;