Function getPackageInfosAsync

  • Read all the package.json files in a monorepo. Only works for monorepos which use a supported workspace manager.

    NOTE: As of writing, this will start promises to read all package.json files in parallel, without direct concurrency control.

    Parameters

    • cwd: string

      Start looking for the workspace manager config from here

    Returns Promise<PackageInfos>