Start looking for the manager config from here
Optional managerOverride: WorkspaceManagerWorkspace/monorepo manager to use instead of auto-detecting
Mapping from package name to package info. If no workspace config is found, it will return info for the root package.json if one exists. Will be empty on error (it logs verbose warnings instead of throwing).
Read all the package.json files in a monorepo and return a mapping from package name to info. Only works for monorepos which use a supported workspace/monorepo manager.
Notes:
cwdare cached internally, but the package contents are not.getWorkspaceInfosinstead.