Skip to content

Commit

Permalink
fix: default to not having options
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 27, 2018
1 parent f3d2dc9 commit 72dd9d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/generators/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,9 @@ class App extends Generator {
name: 'options',
message: 'components to include',
choices: [
{name: 'typescript', checked: this.fromScratch ? true : !!this.pjson.devDependencies.typescript},
{name: 'semantic-release', checked: this.fromScratch ? true : !!this.pjson.devDependencies['@dxcli/dev-semantic-release']},
{name: 'mocha', checked: this.fromScratch ? true : !!this.pjson.devDependencies.mocha},
{name: 'typescript', checked: this.fromScratch ? false : !!this.pjson.devDependencies.typescript},
{name: 'semantic-release', checked: this.fromScratch ? false : !!this.pjson.devDependencies['@dxcli/dev-semantic-release']},
{name: 'mocha', checked: this.fromScratch ? false : !!this.pjson.devDependencies.mocha},
],
filter: ((arr: string[]) => _.keyBy(arr)) as any,
},
Expand Down

0 comments on commit 72dd9d9

Please sign in to comment.