docs: function resolveNames(pkg, parentName) {
      var external = [];
      _.forEach(pkg.assetNames, function (name) {
        if (!_.isString(name)) {
          return;
        }
        var base = path.normalize(name).split('/')[0];
        if (_.indexOf(newAssetsNames, base) < 0) {
          return;
        }
        if (pkg.name === base) {
          return;
        }
        var a = assets[_.indexOf(newAssetsNames, base)];
        if (a.type === 'package') {
          if (parentName !== a.name) {
            external = external.concat(resolveNames(a, parentName));
          }
        } else if (a.type === 'folder') {
          if (name !== base) {
            external.push(name);
          }
        } else {
          external.push(a.name);
        }
      });
      return _.uniq(external);
    }