UNPKG

@nx-plugins/astro

Version:

The Nx Plugin for Astro that contains executors, generators, and utilities for managing Astro applications and libraries within an Nx workspace.

14 lines (13 loc) 608 B
import { GeneratorCallback, Tree } from '@nrwl/devkit'; import { LibraryGeneratorSchema } from './schema'; export interface NormalizedSchema extends LibraryGeneratorSchema { name: string; fileName: string; projectRoot: string; routePath: string; projectDirectory: string; parsedTags: string[]; } export declare function libraryGenerator(host: Tree, schema: LibraryGeneratorSchema): Promise<GeneratorCallback>; export default libraryGenerator; export declare const librarySchematic: (generatorOptions: LibraryGeneratorSchema) => (tree: any, context: any) => Promise<any>;