<commit_before>/* eslint-disable */

var RSVP = require('rsvp');

module.exports = {
  normalizeEntityName: function() {
  },

  afterInstall: function() {
    return this._chooseAddonsToInstall()
      .then((addons) => {
        return RSVP.hash({
          addons: addons,
          packages: this._choosePackagesToInstall()
        });
      })
      .then((selected) => {
        return RSVP.all([
          this.addAddonsToProject({
            packages: selected.addons
          }),
          this.addPackagesToProject(selected.packages)
        ]);
      });
  },

  /**
   * Uses inquirer to prompt the user to select which addons to install
   * @returns {Promise} Resolves into array of selected addons
   * @private
   */
  _chooseAddonsToInstall: function() {
    // Ask which ember addons to install
    return this.ui.prompt({
      type: 'checkbox',
      name: 'addonsToInstall',
      message: 'Which addons would you like to install?',
      choices: [
        {
          checked: true,
          name: 'ember-cli-autoprefixer',
          value: { name: 'ember-cli-autoprefixer' }
        },
        {
          checked: true,
          name: 'ember-cli-code-coverage',
          value: { name: 'ember-cli-code-coverage' }
        },
        {
          checked: true,
          name: 'ember-cli-sass',
          value: { name: 'ember-cli-sass' }
        },
        {
          checked: true,
          name: 'ember-cli-stylelint',
          value: { name: 'ember-cli-stylelint' }
        },
        {
          checked: true,
          name: 'ember-cli-template-lint',
          value: { name: 'ember-cli-template-lint' }
        },
        {
          checked: true,
          name: 'ember-computed-decorators',
          value: { name: 'ember-computed-decorators' }
        },
        {
          checked: true,
          name: 'flexi',
          value: { name: 'html-next/flexi' }
        }
      ]
    })
      .then((selected) => {
        return selected.addonsToInstall;
      });
  },

  /**
   * Uses inquirer to prompt the user to select which packages to install
   * @returns {Promise} Resolves into array of selected packages
   * @private
   */
  _choosePackagesToInstall: function() {
    // Ask which npm packages to install
    return this.ui.prompt({
      type: 'checkbox',
      name: 'packagesToInstall',
      message: 'Which packages would you like to install?',
      choices: [
        {
          checked: true,<commit_msg>Add ember-component-css<commit_after>/* eslint-disable */

var RSVP = require('rsvp');

module.exports = {
  normalizeEntityName: function() {
  },

  afterInstall: function() {
    return this._chooseAddonsToInstall()
      .then((addons) => {
        return RSVP.hash({
          addons: addons,
          packages: this._choosePackagesToInstall()
        });
      })
      .then((selected) => {
        return RSVP.all([
          this.addAddonsToProject({
            packages: selected.addons
          }),
          this.addPackagesToProject(selected.packages)
        ]);
      });
  },

  /**
   * Uses inquirer to prompt the user to select which addons to install
   * @returns {Promise} Resolves into array of selected addons
   * @private
   */
  _chooseAddonsToInstall: function() {
    // Ask which ember addons to install
    return this.ui.prompt({
      type: 'checkbox',
      name: 'addonsToInstall',
      message: 'Which addons would you like to install?',
      choices: [
        {
          checked: true,
          name: 'ember-cli-autoprefixer',
          value: { name: 'ember-cli-autoprefixer' }
        },
        {
          checked: true,
          name: 'ember-cli-code-coverage',
          value: { name: 'ember-cli-code-coverage' }
        },
        {
          checked: true,
          name: 'ember-cli-sass',
          value: { name: 'ember-cli-sass' }
        },
        {
          checked: true,
          name: 'ember-cli-stylelint',
          value: { name: 'ember-cli-stylelint' }
        },
        {
          checked: true,
          name: 'ember-cli-template-lint',
          value: { name: 'ember-cli-template-lint' }
        },
        {
          checked: true,
          name: 'ember-component-css',
          value: { name: 'ember-component-css' }
        },
        {
          checked: true,
          name: 'ember-computed-decorators',
          value: { name: 'ember-computed-decorators' }
        },
        {
          checked: true,
          name: 'flexi',
          value: { name: 'html-next/flexi' }
        }
      ]
    })
      .then((selected) => {
        return selected.addonsToInstall;
      });
  },

  /**
   * Uses inquirer to prompt the user to select which packages to install
   * @returns {Promise} Resolves into array of selected packages
   * @private
   */
  _choosePackagesToInstall: function() {
    // Ask which npm packages to install
    return this.ui.prompt({
      type: 'checkbox',
      name: 'packagesToInstall',
      message: 'Which packages would you like to install?',
      choices: [
        {
          checked: true,
{'fraction_non_alphanumeric': 0.1256390090444357, 'fraction_numerical': 0.0, 'mean_word_length': 1.7393645665051158, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '953455', 'n_tokens_mistral': 1513, 'n_tokens_neox': 1490, 'n_words': 343}