readWorkspaceGlobs
readWorkspaceGlobs(
workspaceYaml):WorkspaceGlobs
Defined in: workspace-globs.ts:54
The packages: list of a pnpm-workspace.yaml. A line-based read of the
plain block-list form, not a YAML parse – the same approach (and for the
same reason) as ensureRootWorkspaceMember(): the file routinely carries a
catalog:/catalogs:/overrides: block after packages: that nothing
here should have to round-trip. Quotes and trailing comments are stripped;
a missing packages: key, or the inline packages: [a, b] form, reads as no
globs (callers fall back to the default roots).
Parameters
Section titled “Parameters”workspaceYaml
Section titled “workspaceYaml”string