Skip to content

relizy / getPackageManagerWorkspaces

Function: getPackageManagerWorkspaces() ​

getPackageManagerWorkspaces(cwd): string[]

Defined in: src/core/commitlint/workspace.ts:57

Package globs declared by the tools of the monorepo: the workspaces of the package.json (npm, yarn, bun, and Turborepo or Nx on top of them), pnpm-workspace.yaml, lerna.json, rush.json and the workspace of deno.json.

Parameters ​

cwd ​

string

Returns ​

string[]

Released under the MIT License.