UNPKG

@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) 754 B
import { Tree, GeneratorCallback } from '@nx/devkit'; import { S as StormWorkspaceConfig } from '../../types-C3URiht7.mjs'; import { l as BaseGeneratorSchema, e as BaseGeneratorResult, d as BaseGeneratorOptions } from '../../types-dNjhGseA.mjs'; 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 };