Function getAllPackageJsonFiles

  • Get paths to every package.json in the monorepo, given a cwd, with caching.

    Parameters

    • cwd: string

    Returns string[] | undefined

    Array of package.json paths, or undefined if there's any issue (logs verbose warnings instead of throwing on error)