Function getWorkspaces

  • Returns a list of workspace packages in the monorepo.

    Supports:

    • yarn workspaces
    • pnpm workspaces

    TODO:

    • npm workspaces

    Parameters

    • Optional cwd: string = ...

      directory to start the search in. defaults to process.cwd();

    Returns Promise<string[]>

    list of workspaces

Generated using TypeDoc