Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions generators/base/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ module.exports = class extends Generator {
name: 'flowVerison',
message: 'Which version of Flow should be used? (should match verison in .flowconfig)',
},
{
type: 'confirm',
name: 'createGit',
message: 'Create a local git repo?',
default: true,
},
{
type: 'confirm',
name: 'i18nSupport',
Expand All @@ -32,17 +26,12 @@ module.exports = class extends Generator {
},
]).then((answers) => {
this.nodeVersion = answers.nodeVersion;
this.createGit = answers.createGit;
this.flowVerison = answers.flowVerison;
this.i18nSupport = answers.i18nSupport;
});
}

writing() {
if (this.createGit) {
this.composeWith(require.resolve('generator-git-init'));
}

// create entry points for Android and iOS
this.fs.copyTpl(
this.templatePath('index.js'),
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@
"dependencies": {
"colors": "^1.3.2",
"commander": "^2.17.1",
"deep-extend": "^0.5.0",
"generator-git-init": "^1.1.3",
"deep-extend": "0.6.0",
"read-pkg": "^3.0.0",
"write-pkg": "^3.1.0",
"yeoman-environment": "^2.3.3",
"yeoman-generator": "^1.1.0"
"yeoman-generator": "^3.1.1"
}
}
Loading