<commit_before>'use strict';

module.exports = require('./generator');<commit_msg>rename file<commit_after>'use strict';

var os = require('os');
var fs = require('fs');
var path = require('path');
var utils = require('./utils');

module.exports = function plugin(app, base) {
  if (!utils.isValid(app, 'generate-defaults')) return;

  /**
   * Plugins
   */

  app.use(utils.pkg());
  app.use(utils.middleware());
  app.use(utils.questions());
  app.use(require('verb-repo-data'));

  /**
   * Engine
   */

  if (!app.getEngine('*')) {
    app.engine('*', require('engine-base'), app.option('engineOpts'));
  }

  /**
   * Helpers
   */

  app.helpers(require('template-helpers')());

  /**
   * Data
   */

  var projectData = utils.merge({}, app.pkg.data, app.get('cache.data.project'));
  app.data({project: projectData});
  return plugin;
};
{'fraction_non_alphanumeric': 0.22195985832349469, 'fraction_numerical': 0.0, 'mean_word_length': 3.7374301675977653, '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': '4760768', 'n_tokens_mistral': 288, 'n_tokens_neox': 285, 'n_words': 49}