Skip to content

Repository script API / utils/generator-inputs / generatorInputs

Function: generatorInputs() ​

generatorInputs(workspace): object

Defined in: utils/generator-inputs.mjs:13

Finds the generator smoke test's inputs: the generator configuration and its templates, the workspace packages the templates and the root manifest depend on, root workspace configuration, the workflow job with its local actions, and the root scripts that job runs.

Parameters ​

workspace ​

any

Returns ​

object

directories ​

directories: Set<any> = relevantDirectories

files ​

files: Set<any> = relevantFiles

Throws ​

When no workflow has a generator job or the repository has no generator configuration.

pumpkin-plugins documentation