Expand description
Workspace detection and listing (package.json “workspaces” field).
Functions§
- list_
workspace_ roots - List workspace package roots from package.json in dir. Returns paths relative to dir. Supports “workspaces”: [“packages/”] or “workspaces”: { “packages”: [“packages/”] }.