readWorkspacePackages
readWorkspacePackages(
repoRoot):WorkspacePackage[]
Defined in: cli/astromech/src/generators/codecov/codecov.ts:55
Every package the repo’s pnpm-workspace.yaml declares (the default roots
when it declares none), sorted by location, so each group folder (cli/, plugins/, …) stays together. Every one needs a
codecov component so codecov/patch/<slug> actually posts for each. A
package at <root>/<slug> carries dir: <root>; one that is itself a
workspace folder (observability) or sits deeper (docs/theme) carries its
path. Two packages with the same folder name are told apart by their full
path (docs-theme). [] when there are none.
Parameters
Section titled “Parameters”repoRoot
Section titled “repoRoot”string