pub fn detect_workspaces(project_dir: &Path) -> Result<Vec<Workspace>>Expand description
Detect workspaces in a monorepo.
Checks for:
workspacesfield in package.jsonpnpm-workspace.yamllerna.json
Returns a list of workspaces with their scripts loaded.