<commit_before>const generators = require('yeoman-generator')
const fs = require('fs')

module.exports = generators.Base.extend({
  constructor: function () {
    generators.Base.apply(this, arguments)
    this.sourceRoot(__dirname + '/../kit')
    this.option('install')
  },
  prompting: function () {
    var done = this.async()

    const prompts = [
      {
        type: 'input',
        name: 'name',
        message: 'Project name',
        default: this.appname,
        filter: function (input) {
          return input.replace(' ', '')
        }
      },
      {
        type: 'input',
        name: 'author',
        message: 'Author'
      },
      {
        type: 'input',
        name: 'db_host',
        message: 'DB host',
        default: 'localhost'
      },
      {
        type: 'input',
        name: 'db_name',
        message: 'DB name',
        default: 'muffin'
      },
      {
        type: 'input',
        name: 'db_user',
        message: 'DB user'
      },
      {
        type: 'input',
        name: 'db_password',<commit_msg>Convert package name to lowercase<commit_after>const generators = require('yeoman-generator')
const fs = require('fs')

module.exports = generators.Base.extend({
  constructor: function () {
    generators.Base.apply(this, arguments)
    this.sourceRoot(__dirname + '/../kit')
    this.option('install')
  },
  prompting: function () {
    var done = this.async()

    const prompts = [
      {
        type: 'input',
        name: 'name',
        message: 'Project name',
        default: this.appname,
        filter: function (input) {
          return input.replace(' ', '').toLowerCase()
        }
      },
      {
        type: 'input',
        name: 'author',
        message: 'Author'
      },
      {
        type: 'input',
        name: 'db_host',
        message: 'DB host',
        default: 'localhost'
      },
      {
        type: 'input',
        name: 'db_name',
        message: 'DB name',
        default: 'muffin'
      },
      {
        type: 'input',
        name: 'db_user',
        message: 'DB user'
      },
      {
        type: 'input',
        name: 'db_password',
{'fraction_non_alphanumeric': 0.1499535747446611, 'fraction_numerical': 0.0, 'mean_word_length': 1.7278481012658229, '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': '4386017', 'n_tokens_mistral': 647, 'n_tokens_neox': 640, 'n_words': 146}