@nx-plugins/slidev
Version:
The Nx Plugin for Slidev that contains executors, generators, and utilities for managing Slidev applications within an Nx workspace.
19 lines (18 loc) • 846 B
TypeScript
import { SlidevGeneratorSchema } from './schema';
import { Tree } from '@nrwl/devkit';
export declare type NormalizedSchema = ReturnType<typeof normalizeOptions>;
declare function normalizeOptions(tree: Tree, options: SlidevGeneratorSchema): {
projectName: string;
projectRoot: string;
offsetFromRoot: string;
name: string;
directory?: string;
skipPackageJson?: boolean;
skipFormat?: boolean;
standaloneConfig?: boolean;
tags?: string;
};
export default function slidevProjectGenerator(tree: Tree, schema: SlidevGeneratorSchema): Promise<import("@nrwl/devkit").GeneratorCallback>;
export declare const slidevProjectSchematic: (generatorOptions: SlidevGeneratorSchema) => (tree: any, context: any) => Promise<any>;
export declare function filePathPrefix(directory: string): string;
export {};