Function getWorkspacePatterns

  • Get the original glob patterns from the manager's workspaces config. (Calculation of the workspace manager and root for cwd is cached internally.)

    Parameters

    • cwd: string
    • Optional managerOverride: WorkspaceManager

      Workspace/monorepo manager to use instead of auto-detecting

    Returns string[] | undefined

    Array of patterns, or undefined if not available (logs verbose warnings instead of throwing on error)