Skip to content

Commit

Permalink
fix: temp workaround for Inquirer bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ryaninvents committed Jun 20, 2019
1 parent 8975cf0 commit f9e6eea
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 21 deletions.
94 changes: 73 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
},
"dependencies": {
"chalk": "^2.4.2",
"inquirer": "^6.3.1",
"lodash": "^4.17.11",
"mdast-util-definitions": "^1.2.4",
"remark": "^10.0.1",
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import yoxable from 'yoxable';
import './temp-inquirer-fix';
import Project from './generators/project';
import SortPkg from './generators/sort-pkg';
import Hooks from './generators/hooks';
Expand Down
4 changes: 4 additions & 0 deletions src/temp-inquirer-fix.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import Generator from 'yeoman-generator';
import { prompt as inqPrompt } from 'inquirer';

Generator.prototype.prompt = inqPrompt;

0 comments on commit f9e6eea

Please sign in to comment.