@storm-software/workspace-tools
Version:
Tools for managing a Storm workspace, including various Nx generators and executors for common development tasks.
10 lines (7 loc) • 752 B
TypeScript
import { Tree, GeneratorCallback } from '@nx/devkit';
import { S as StormWorkspaceConfig } from '../../types-C3URiht7.js';
import { l as BaseGeneratorSchema, e as BaseGeneratorResult, d as BaseGeneratorOptions } from '../../types-CUnUfpKk.js';
import 'zod';
import 'tsup';
declare const withRunGenerator: <TGeneratorSchema extends BaseGeneratorSchema = BaseGeneratorSchema>(name: string, generatorFn: (tree: Tree, options: TGeneratorSchema, config?: StormWorkspaceConfig) => Promise<BaseGeneratorResult | null | undefined> | BaseGeneratorResult | null | undefined, generatorOptions?: BaseGeneratorOptions<TGeneratorSchema>) => (tree: Tree, _options: TGeneratorSchema) => Promise<GeneratorCallback | BaseGeneratorResult>;
export { withRunGenerator };