Function getPackageManagerLockfile

  • returns the path to the package manager's lockfile. will search up from the cwd, stopping at the git-root

    Parameters

    • Optional cwd: string = ...

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

    Returns Promise<string>