Function findWorkspacePath

  • Find the path for a particular package name from an array of info about packages within a workspace. (See ../getWorkspaces for why it's named this way.)

    Parameters

    • workspaces: WorkspaceInfo

      Array of info about packages within a workspace

    • packageName: string

      Package name to find

    Returns string | undefined

    Package path if found, or undefined

Generated using TypeDoc