@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.
23 lines (22 loc) • 1.04 kB
TypeScript
import { Tree } from '@nrwl/devkit';
import { AstroProjectGeneratorSchema } from './schema';
export declare type NormalizedSchema = ReturnType<typeof normalizeOptions>;
declare function normalizeOptions(tree: Tree, options: AstroProjectGeneratorSchema): {
projectName: string;
projectRoot: string;
name: string;
directory?: string;
e2eTestRunner: "playwright-test" | "none" | "cypress" | "playwright-vitest";
linter: any;
setParserOptionsProject: boolean;
unitTestRunner: "vitest" | "none" | "jest";
js: boolean;
skipFormat: boolean;
skipPackageJson: boolean;
standaloneConfig: boolean;
tags?: string;
};
export default function astroProjectGenerator(tree: Tree, schema: AstroProjectGeneratorSchema): Promise<import("@nrwl/devkit").GeneratorCallback>;
export declare const astroProjectSchematic: (generatorOptions: AstroProjectGeneratorSchema) => (tree: any, context: any) => Promise<any>;
export declare function filePathPrefix(directory: string): string;
export {};