{"size": 1444, "ext": "js", "max_stars_repo_path": "extension/src/prompts.js", "max_stars_repo_name": "IlCallo/app-extension-typescript", "max_stars_repo_stars_event_min_datetime": "2019-02-20T17:49:55.000Z", "max_stars_repo_stars_event_max_datetime": "2021-11-02T15:46:41.000Z", "max_issues_repo_path": "extension/src/prompts.js", "max_issues_repo_name": "IlCallo/app-extension-typescript", "max_issues_repo_issues_event_min_datetime": "2019-03-06T17:20:50.000Z", "max_issues_repo_issues_event_max_datetime": "2021-11-06T14:31:04.000Z", "max_forks_repo_path": "extension/src/prompts.js", "max_forks_repo_name": "IlCallo/app-extension-typescript", "max_forks_repo_forks_event_min_datetime": "2019-02-21T19:38:35.000Z", "max_forks_repo_forks_event_max_datetime": "2021-05-09T04:21:40.000Z"}
{"max_stars_count": 54, "max_issues_count": 43, "max_forks_count": 17, "avg_line_length": 25.7857142857, "max_line_length": 141, "alphanum_fraction": 0.5671745152}
/**
 * Quasar App Extension prompts script
 *
 * Inquirer prompts
 * (answers are available as "api.prompts" in the other scripts)
 * https://www.npmjs.com/package/inquirer#question
 *
 */

module.exports = function() {
  return [
    {
      name: 'codeUpdate',
      type: 'confirm',
      required: true,
      message:
        "Update code where possible (use this only if you're using code versioning and will be able to rollback)"
    },
    {
      name: 'componentStyle',
      type: 'list',
      required: true,
      message: 'Pick a component style:',
      choices: [
        {
          name:
            'Composition API (recommended) (https://github.com/vuejs/composition-api)',
          value: 'composition'
        },
        {
          name:
            'Class-based (recommended) (https://github.com/vuejs/vue-class-component & https://github.com/kaorun343/vue-property-decorator)',
          value: 'class'
        },
        {
          name: 'None (keep old Object API)',
          value: 'object'
        }
      ]
    },
    {
      name: 'vscode',
      type: 'confirm',
      required: true,
      message:
        'Will you use VSCode for this project? (Adds ESLint and Vetur configuration quirks, you must manually install the extensions)'
    },
    {
      name: 'prettier',
      type: 'confirm',
      required: true,
      message: 'Generate prettier configuration (ESLint and VScode, if used)?'
    }
  ]
}
