UNPKG

@nxext/stencil

Version:

Nx plugin for stenciljs

15 lines (14 loc) 823 B
import { GeneratorCallback, Tree } from '@nx/devkit'; import { StorybookConfigureSchema } from './schema'; /** * With Nx `npmScope` (eg: nx-workspace) and `projectName` (eg: nx-project), returns a path portion to be used for import statements or * a tsconfig.json `paths` entry. * * @example `@nx-workspace/nx-project` * @returns path portion of an import statement */ export declare function getProjectTsImportPath(tree: Tree, projectName: string): string; export declare function storybookConfigurationGenerator(host: Tree, rawSchema: StorybookConfigureSchema): Promise<GeneratorCallback>; export declare function createProjectStorybookDir(tree: Tree, projectName: string, uiFramework: string): void; export declare function createRootStorybookDir(tree: Tree): void; export default storybookConfigurationGenerator;