Optional managerOverride: WorkspaceManagerWorkspace/monorepo manager to use instead of auto-detecting
Array of workspace package infos, or undefined if not found (not a monorepo) or there's any issue. (Logs verbose warnings instead of throwing on error.)
Get an array with names, paths, and package.json contents for each package ("workspace" in npm/yarn/pnpm terms) within a monorepo. The list of included packages is based on the workspace/monorepo manager's config file.
Notes:
cwdare cached internally, but the package contents are not.getPackageInfosinstead.