Skip to content

Commit

Permalink
chore(CLI-create): NPM/Yarn choice feature
Browse files Browse the repository at this point in the history
  • Loading branch information
sabertazimi committed Aug 8, 2021
1 parent 1c22f0f commit 1361fd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ class CreateCommand extends BaseCommand {
commandArgs.push('--scripts-version', '@sabertazimi/react-scripts');
}

// TODO: Feat: add NPM or Yarn choice action

// TypeScript choice
const { tsAction } = await inquirer.prompt([
{
Expand All @@ -80,8 +82,6 @@ class CreateCommand extends BaseCommand {
},
]);

// TODO: Feat: add NPM or Yarn choice action

if (!tsAction) {
return;
} else if (tsAction === 'yes') {
Expand Down

0 comments on commit 1361fd3

Please sign in to comment.