<commit_before>'use strict';
var yeoman = require('yeoman-generator');
var chalk = require('chalk');
var yosay = require('yosay');

module.exports = yeoman.generators.Base.extend({
  prompting: function () {
    var done = this.async();

    // Have Yeoman greet the user.
    this.log(yosay(
      'Welcome to the luminous ' + chalk.red('generator-agendatransparencia') + ' generator!'
    ));

    var prompts = [
      {type: 'input', name: 'UserOrganization', message: 'Tu usuario u organización en github?', default: 'ciudadanointeligente' },
      {type: 'input', name: 'Repo', message: 'El repo', default: 'a_transparencia' },
      {type: 'input', name: 'Title', message: 'El título?', default: 'Agenda Transparencia' },
      {type: 'input', name: 'Slogan', message: 'El Slogan?', default: 'Todos los perritos se van al cielo' },
      {type: 'input', name: 'ActionCall', message: 'Cual es el llamado a la acción?', default: 'Ayudalos a llegar al cielo' },
      {type: 'input', name: 'AmountOfCards', message: 'Cuantas tarjetas deberían ser?', default: 9 },
      {type: 'input', name: 'Twitter', message: 'Usuario en Twitter', default: 'ciudadanoi' },
      {type: 'input', name: 'Facebook', message: 'Usuario en Facebook', default: 'ciudadanointeligente' }
    ];

    this.prompt(prompts, function (props) {
      this.props = props;
      // To access props later use this.props.someOption;
      done();
    }.bind(this));
  },
  createConfig: function () {
    this.fs.copyTpl(
      this.templatePath('_config.yml'),
      this.destinationPath(this.props.Repo + '/_config.yml'),
      { Title: this.props.Title }
    )
  },
  createBowerJson: function (){
    this.fs.copyTpl(
      this.templatePath('bower.json'),
      this.destinationPath(this.props.Repo + '/bower.json'),
      this.props
    )
  },

  writing: function () {
    this.createConfig();
    this.createBowerJson();
  },

  install: function () {
    this.installDependencies();
  },
  end: function () {
  }

});<commit_msg>Ya no hay problemas al instalar dependencias<commit_after>'use strict';
var yeoman = require('yeoman-generator');
var chalk = require('chalk');
var yosay = require('yosay');

module.exports = yeoman.generators.Base.extend({
  prompting: function () {
    var done = this.async();

    // Have Yeoman greet the user.
    this.log(yosay(
      'Welcome to the luminous ' + chalk.red('generator-agendatransparencia') + ' generator!'
    ));

    var prompts = [
      {type: 'input', name: 'UserOrganization', message: 'Tu usuario u organización en github?', default: 'ciudadanointeligente' },
      {type: 'input', name: 'Repo', message: 'El repo', default: 'a_transparencia' },
      {type: 'input', name: 'Title', message: 'El título?', default: 'Agenda Transparencia' },
      {type: 'input', name: 'Slogan', message: 'El Slogan?', default: 'Todos los perritos se van al cielo' },
      {type: 'input', name: 'ActionCall', message: 'Cual es el llamado a la acción?', default: 'Ayudalos a llegar al cielo' },
      {type: 'input', name: 'AmountOfCards', message: 'Cuantas tarjetas deberían ser?', default: 9 },
      {type: 'input', name: 'Twitter', message: 'Usuario en Twitter', default: 'ciudadanoi' },
      {type: 'input', name: 'Facebook', message: 'Usuario en Facebook', default: 'ciudadanointeligente' }
    ];

    this.prompt(prompts, function (props) {
      this.props = props;
      // To access props later use this.props.someOption;
      done();
    }.bind(this));
  },
  createConfig: function () {
    this.fs.copyTpl(
      this.templatePath('_config.yml'),
      this.destinationPath(this.props.Repo + '/_config.yml'),
      { Title: this.props.Title }
    )
  },
  createBowerJson: function (){
    this.fs.copyTpl(
      this.templatePath('bower.json'),
      this.destinationPath(this.props.Repo + '/bower.json'),
      this.props
    )
  },

  writing: function () {
    this.createConfig();
    this.createBowerJson();
  },

  install: function () {
    var elementDir = process.cwd() + '/' + this.props.Repo;
    process.chdir(elementDir);
    this.installDependencies({
      npm: false
    });
  },
  end: function () {
  }

});
{'fraction_non_alphanumeric': 0.16394623139702352, 'fraction_numerical': 0.00048007681228996637, 'mean_word_length': 3.3771008403361344, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6308461', 'n_tokens_mistral': 1412, 'n_tokens_neox': 1374, 'n_words': 343}