code: function normalizePackage(parent) {
      parent.packages = parent.packages && parent.packages.map(function (item) {
        if (typeof item === 'string') {
          item = {
            name: item
          };
        }
  
        var folder = item.location || item.name;
  
        item.isFISID = isFISID(folder);
        item.folder = item.isFISID ? folder : path.join(baseUrl, item.location || item.name);
        pkgs[item.name] = item;
  
        if (item.packages) {
          normalizePackage(item)
        }
  
        return item;
      });
    }
docs: normalize packages. 规整，方便后续查找