code: async function buildLocalDepTree() {
    for (const packageName of await _list()) {
      tree.set(packageName, await exports.list(packageName, {
        includeTransitive: false,
        localOnly: true
      }));
    }
  }
docs: Walks all packages to generate a tree of direct dependencies