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) 755 B
import { Tree, GeneratorCallback } from '@nx/devkit'; import { S as StormWorkspaceConfig } from '../../types-DARKEZG9.js'; import { l as BaseGeneratorSchema, e as BaseGeneratorResult, d as BaseGeneratorOptions } from '../../types-DpaeUKVh.js'; import 'zod/v4'; 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 };