Function getPackageDependencies

  • Gets the workspace package dependencies for a given package (excluding file: or npm: versions). It only considers dependencies unless options specify otherwise.

    Parameters

    • info: PackageInfo

      The package information containing dependencies

    • internalPackages: Set<string>

      Set of in-repo package names to consider.

    • options: PackageDependenciesOptions = ...

      Configuration options for which dependency types to include

    Returns string[]

    Subset of packages that are dependencies of the given package