<commit_before>'use strict';

const generator = require('yeoman-generator');
const _ = require('lodash');
const extend = _.merge;

module.exports = generator.extend({
  initializing: function() {
    this.props = {
      plugins: this.config.get('plugins') || [],
      alias: this.config.get('alias') || {}
    };

    const newAlias = extend(this.props.alias, {
      components: './components',
      componentsShare: './components/share'
    });
    this.config.set('alias', newAlias);
  },
<commit_msg>fix react bug<commit_after>'use strict';

const generator = require('yeoman-generator');
const _ = require('lodash');
const extend = _.merge;

module.exports = generator.extend({
  initializing: function() {
    this.props = {
      plugins: this.config.get('plugins') || [],
      alias: this.config.get('alias') || {}
    };

    const newAlias = extend(this.props.alias, {
      components: 'components',
      componentsShare: 'components/share'
    });
    this.config.set('alias', newAlias);
  },

{'fraction_non_alphanumeric': 0.17425742574257425, 'fraction_numerical': 0.0, 'mean_word_length': 3.4537444933920707, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '207637', 'n_tokens_mistral': 301, 'n_tokens_neox': 296, 'n_words': 58}