Function getWorkspaceRoot

  • Get the root directory of a workspace/monorepo, defined as the directory where the workspace manager config file is located.

    Parameters

    • cwd: string

      Start searching from here

    • Optional preferredManager: WorkspaceManager

      Search for only this manager's config file

    Returns string | undefined

Generated using TypeDoc