UNPKG

@storm-software/workspace-tools

Version:

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

11 lines (8 loc) 771 B
import { Tree, GeneratorCallback } from '@nx/devkit'; import { S as StormWorkspaceConfig } from '../../types-B0erLKyc.js'; import { n as BaseGeneratorSchema, c as BaseGeneratorResult, b as BaseGeneratorOptions } from '../../types-JAmmWnp1.js'; import 'zod'; import 'zod/mini'; 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 };