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.
@manypkg/get-packages
The options for getting workspace paths.
An array of workspace paths.
If no monorepo or no workspaces are found, or a manifest cannot be read.
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.