Documentation for Simbo's Packages
    Preparing search index...

    Function getWorkspacePaths

    • Get the paths of all workspaces of the monorepo, sorted by path.

      The monorepo and its workspaces are found with @manypkg/get-packages, which supports npm, pnpm, Yarn, Bun, Lerna, and Rush.

      Parameters

      Returns Promise<string[]>

      An array of workspace paths.

      If no monorepo or no workspaces are found, or a manifest cannot be read.