<commit_before>const chalk = require('chalk');
const generator = require('yeoman-generator');
const mkdirp = require('mkdirp');
const packagejs = require('../../package.json');

module.exports = generator.extend({
    initializing: {
        displayLogo() {
            this.log(`
${chalk.red.bold('               Three::Modules')}
${chalk.red.bold('           for:::the::Elven-Kings')}
${chalk.red.bold('        under:the:sky,:Seven:for:the')}
${chalk.red.bold('      Dwarf-Lords::in::their::halls:of')}
${chalk.red.bold('     stone,:Nine             for:Mortal')}
${chalk.red.bold(`    :::Men:::${chalk.yellow('    ________')}     doomed::to`)}
${chalk.red.bold(`  die.:One${chalk.yellow('    _,-\'...:... `-.    ')}for:::the`)}
${chalk.red.bold(` ::Dark::${chalk.yellow('   ,- .:::::::::::. `. ')}Hipster::on`)}
${chalk.red.bold(` his:dark${chalk.yellow(' ,\'  .:::::::::::::.  `.  ')}:throne:`)}
${chalk.red.bold(`In:::the${chalk.yellow(' /    :::: Java :::::    \\  ')}Land::of`)}
${chalk.red.bold(`JHipster${chalk.yellow(' \\    ::: Hipster :::    /  ')}:where::`)}
${chalk.red.bold(` ::the:::${chalk.yellow(' \'.  \':::::::::::::\'  ,\'  ')}Shadows:`)}
${chalk.red.bold(`  lie::One${chalk.yellow('  `. ``:::::::::\'\' ,\'  ')}Module::to`)}
${chalk.red.bold(`  ::rule::${chalk.yellow('    `-._```:\'\'\'_,-\'     ')}::them::`)}
${chalk.red.bold(`   all,::One${chalk.yellow('      `-----\'       ')}Module::to`)}
${chalk.red.bold('    ::find:::                  them,:One')}
${chalk.red.bold('     Module:::::to          bring::them')}
${chalk.red.bold('       all::and::in:the:darkness:bind')}
${chalk.red.bold('         them:In:the:Land:of:JHipster')}
${chalk.red.bold('            where:::the::Shadows')}
${chalk.red.bold('                 :::lie.:::')}\n`);

            this.log(chalk.white.bold('         http://jhipster.github.io\n'));
            this.log(chalk.white(`Welcome to the ${chalk.bold('JHipster Module')} Generator! ${chalk.yellow(`v${packagejs.version}\n`)}`));
        }
    },

    prompting() {
        const done = this.async();
        const prompts = [
            {
                type: 'input',
                name: 'moduleName',
                validate: input => (/^[a-zA-Z0-9-]+$/.test(input) ? true : 'Your module name is mandatory, cannot contain special characters or a blank space, using the default name instead'),
                message: 'What is the base name of your module?',
                default: 'hello-world'<commit_msg>Rename default name to helloworld<commit_after>const chalk = require('chalk');
const generator = require('yeoman-generator');
const mkdirp = require('mkdirp');
const packagejs = require('../../package.json');

module.exports = generator.extend({
    initializing: {
        displayLogo() {
            this.log(`
${chalk.red.bold('               Three::Modules')}
${chalk.red.bold('           for:::the::Elven-Kings')}
${chalk.red.bold('        under:the:sky,:Seven:for:the')}
${chalk.red.bold('      Dwarf-Lords::in::their::halls:of')}
${chalk.red.bold('     stone,:Nine             for:Mortal')}
${chalk.red.bold(`    :::Men:::${chalk.yellow('    ________')}     doomed::to`)}
${chalk.red.bold(`  die.:One${chalk.yellow('    _,-\'...:... `-.    ')}for:::the`)}
${chalk.red.bold(` ::Dark::${chalk.yellow('   ,- .:::::::::::. `. ')}Hipster::on`)}
${chalk.red.bold(` his:dark${chalk.yellow(' ,\'  .:::::::::::::.  `.  ')}:throne:`)}
${chalk.red.bold(`In:::the${chalk.yellow(' /    :::: Java :::::    \\  ')}Land::of`)}
${chalk.red.bold(`JHipster${chalk.yellow(' \\    ::: Hipster :::    /  ')}:where::`)}
${chalk.red.bold(` ::the:::${chalk.yellow(' \'.  \':::::::::::::\'  ,\'  ')}Shadows:`)}
${chalk.red.bold(`  lie::One${chalk.yellow('  `. ``:::::::::\'\' ,\'  ')}Module::to`)}
${chalk.red.bold(`  ::rule::${chalk.yellow('    `-._```:\'\'\'_,-\'     ')}::them::`)}
${chalk.red.bold(`   all,::One${chalk.yellow('      `-----\'       ')}Module::to`)}
${chalk.red.bold('    ::find:::                  them,:One')}
${chalk.red.bold('     Module:::::to          bring::them')}
${chalk.red.bold('       all::and::in:the:darkness:bind')}
${chalk.red.bold('         them:In:the:Land:of:JHipster')}
${chalk.red.bold('            where:::the::Shadows')}
${chalk.red.bold('                 :::lie.:::')}\n`);

            this.log(chalk.white.bold('         http://jhipster.github.io\n'));
            this.log(chalk.white(`Welcome to the ${chalk.bold('JHipster Module')} Generator! ${chalk.yellow(`v${packagejs.version}\n`)}`));
        }
    },

    prompting() {
        const done = this.async();
        const prompts = [
            {
                type: 'input',
                name: 'moduleName',
                validate: input => (/^[a-zA-Z0-9-]+$/.test(input) ? true : 'Your module name is mandatory, cannot contain special characters or a blank space, using the default name instead'),
                message: 'What is the base name of your module?',
                default: 'helloworld'
{'fraction_non_alphanumeric': 0.27389816864560274, 'fraction_numerical': 0.0008049909438518816, 'mean_word_length': 2.67603550295858, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, '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': '478750', 'n_tokens_mistral': 1822, 'n_tokens_neox': 1733, 'n_words': 253}