UNPKG

@storm-software/workspace-tools

Version:

Tools for managing a Storm workspace, including various Nx generators and executors for common development tasks.

12 lines (9 loc) 811 B
import { Tree, GeneratorCallback } from '@nx/devkit'; import { S as StormWorkspaceConfig } from '../../types-Dug-2iKz.mjs'; import { e as BaseGeneratorSchema, d as BaseGeneratorResult, c as BaseGeneratorOptions } from '../../types-DLXcfy35.mjs'; import 'zod'; import 'zod/v4/mini'; import 'tsup'; import '../../types-D2zxYEAh.mjs'; 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 };