blueprints/ember-cli-opinionated/index.js
function () {
    var packages = [
      'ember-cli-autoprefixer',
      'ember-cli-blanket',
      'ember-cli-sass',
      'ember-cpm',
      'ember-feature-flags',
      'ember-metrics',
      'ember-moment',
      'ember-responsive',
      'ember-route-action-helper',
      'ember-suave',
      'ember-truth-helpers'
    ];

    var updatePrompt = {
      type: 'confirm',
      name: 'answer',
      choices: [
        { key: 'y', name: 'Yes', value: 'yes' },
        { key: 'n', name: 'No', value: 'no' }
      ]
    };

    var prompts = [
      extend({ message: 'Would you like to enhance your ember-cli-opinionated setup?', packages: packages }, updatePrompt),
      // extend({ message: 'Organizing Your App Into Pods', packages: ['ember-cli-sass-pods'] }, updatePrompt),
      extend({ message: 'Analytics/Reports', packages: ['ember-e3'] }, updatePrompt),
      extend({ message: 'Testing', packages: ['ember-cli-mirage', 'ember-sinon-qunit'] }, updatePrompt),
      // extend({ message: 'Internationalization (i18n)', packages: ['ember-intl'] }, updatePrompt),
      extend({ message: 'Mobile Touch', packages: ['ember-gestures'] }, updatePrompt),
      extend({ message: 'Material Design', packages: ['ember-paper'] }, updatePrompt),
      extend({ message: 'Animations', packages: ['liquid-fire'] }, updatePrompt)
    ];

    return this.promptUserForOpinions(packages, prompts);
  }
function () {
    var packages = [
      'ember-cli-autoprefixer',
      'ember-cli-blanket',
      'ember-cli-sass',
      'ember-cpm',
      'ember-feature-flags',
      'ember-metrics',
      'ember-moment',
      'ember-responsive',
      'ember-route-action-helper',
      'ember-suave',
      'ember-truth-helpers'
    ];

    var updatePrompt = {
      type: 'confirm',
      name: 'answer',
      choices: [
        { key: 'y', name: 'Yes', value: 'yes' },
        { key: 'n', name: 'No', value: 'no' }
      ]
    };

    var prompts = [
      extend({ message: 'Would you like to enhance your ember-cli-opinionated setup?', packages: packages }, updatePrompt),
      // extend({ message: 'Organizing Your App Into Pods', packages: ['ember-cli-sass-pods'] }, updatePrompt),
      extend({ message: 'Analytics/Reports', packages: ['ember-e3'] }, updatePrompt),
      extend({ message: 'Testing', packages: ['ember-cli-mirage', 'ember-sinon-qunit'] }, updatePrompt),
      // extend({ message: 'Internationalization (i18n)', packages: ['ember-intl'] }, updatePrompt),
      extend({ message: 'Mobile Touch', packages: ['ember-gestures'] }, updatePrompt),
      extend({ message: 'Material Design', packages: ['ember-paper'] }, updatePrompt),
      extend({ message: 'Animations', packages: ['liquid-fire'] }, updatePrompt)
    ];

    return this.promptUserForOpinions(packages, prompts);
  }
function ( ) { var packages = [ 'ember-cli-autoprefixer' , 'ember-cli-blanket' , 'ember-cli-sass' , 'ember-cpm' , 'ember-feature-flags' , 'ember-metrics' , 'ember-moment' , 'ember-responsive' , 'ember-route-action-helper' , 'ember-suave' , 'ember-truth-helpers' ] ; var updatePrompt = { type : 'confirm' , name : 'answer' , choices : [ { key : 'y' , name : 'Yes' , value : 'yes' } , { key : 'n' , name : 'No' , value : 'no' } ] } ; var prompts = [ extend ( { message : 'Would you like to enhance your ember-cli-opinionated setup?' , packages : packages } , updatePrompt ) , // extend({ message: 'Organizing Your App Into Pods', packages: ['ember-cli-sass-pods'] }, updatePrompt), extend ( { message : 'Analytics/Reports' , packages : [ 'ember-e3' ] } , updatePrompt ) , extend ( { message : 'Testing' , packages : [ 'ember-cli-mirage' , 'ember-sinon-qunit' ] } , updatePrompt ) , // extend({ message: 'Internationalization (i18n)', packages: ['ember-intl'] }, updatePrompt), extend ( { message : 'Mobile Touch' , packages : [ 'ember-gestures' ] } , updatePrompt ) , extend ( { message : 'Material Design' , packages : [ 'ember-paper' ] } , updatePrompt ) , extend ( { message : 'Animations' , packages : [ 'liquid-fire' ] } , updatePrompt ) ] ; return this . promptUserForOpinions ( packages , prompts ) ; }
no-op since we're just adding dependencies
no - op since we re just adding dependencies