code: async function aggregateBoltDependencies(data) {
    let componentDependencies = [];
    let componentsWithoutDeps = data;
  
    componentsWithoutDeps.forEach(item => {
      if (item.deps) {
        componentDependencies.push([...item.deps]);
      }
    });
  
    componentDependencies = flattenDeep(componentDependencies);
  
    componentDependencies = componentDependencies.filter(function(x, i, a) {
      if (x !== '@bolt/build-tools' && a.indexOf(x) === i) {
        return x;
      }
    });
  
    let globalDepsSrc = await Promise.all(componentDependencies.map(getPkgInfo));
  
    componentsWithoutDeps = componentsWithoutDeps.concat(globalDepsSrc);
  
    var uniqueComponentsWithDeps = removeDuplicateObjectsFromArray(
      componentsWithoutDeps,
      'name',
    );
  
    return uniqueComponentsWithDeps;
  }
docs: loop through package-specific dependencies to merge and dedupe