'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _consumerComponent;

function _load_consumerComponent() {
  return _consumerComponent = _interopRequireDefault(require('../../consumer/component/consumer-component'));
}

var _constants;

function _load_constants() {
  return _constants = require('../../constants');
}

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.default = function (components) {
  function paintBareComponent(component) {
    return `${component.scope}/${component.name}${(_constants || _load_constants()).VERSION_DELIMITER}${component.version}`;
  }

  return components.map(paintBareComponent).join('\n');
};