Skip to content

Repository script API / utils/workspace-discovery / dependencyClosure

Function: dependencyClosure() ​

dependencyClosure(packages, names, fields?): Set<any>

Defined in: utils/workspace-discovery.mjs:73

Collects the directories of the named workspace packages and of the workspace packages they depend on, transitively, through the given manifest fields.

Parameters ​

packages ​

any

names ​

any

fields? ​

string[] = DEPENDENCY_FIELDS

Returns ​

Set<any>

pumpkin-plugins documentation