Skip to content

Promisify everything and bump inquirer to v3 - #34

Merged
jfmengels merged 3 commits into
masterfrom
inquirer-v3
Feb 15, 2017
Merged

jfmengels merged 3 commits into
masterfrom
inquirer-v3

Conversation

@jfmengels

Copy link
Copy Markdown
Collaborator

Should fix #33.

We had inquirer in v0.12, and the current version is v3, with v1 changing everything from callbacks to Promises. This is a breaking change as I use native Promises at some locations, and I figured this might well be the occasion to drop support for Node.js < v4.

@kentcdodds With semantic-release, I understand that this will be released upon merge, but I'm pretty sure I did not make that clear to the tool.

@tommck if you could test this locally in your Windows environment, that would be nice. I hope this fixes your issue.

@kentcdodds

Copy link
Copy Markdown
Member

Unless something's changed with semantic-release, you'll need one of the commits to use the type fix for a patch release or feat for a minor release. If you want a major, you need it to include BREAKING CHANGE: <description> as the last line.

If bumping to the latest version of inquirer is fixing bug, then use fix instead of chore

If it were me, I'd do this when merging with the rebase and merge functionally which allows you to set the commit message for the squashed rebase commit.

@tommck

tommck commented Feb 13, 2017

Copy link
Copy Markdown

Just tested this out locally.. arrow keys worked!

(Also learned how to use a git branch in an npm package.json file :) )

@jfmengels
jfmengels merged commit 1305a7c into master Feb 15, 2017
@jfmengels
jfmengels deleted the inquirer-v3 branch February 15, 2017 21:25
@jfmengels

Copy link
Copy Markdown
Collaborator Author

Fix released in v4. Hope it all works better for you now @tommck, and thanks for reporting and testing it out :)

@kentcdodds

Copy link
Copy Markdown
Member

Awesome! Thanks @jfmengels, the release notes look awesome too by the way :)

@jfmengels

Copy link
Copy Markdown
Collaborator Author

Haha, I had to rewrite them actually 😅. It pretty much showed what I put in the commit, but I didn't quite know how it was going to end up, and described a lot of internal stuff. I rewrote it to be more about the external changes. I'll know it better for the next time 😄

Berkmann18 pushed a commit that referenced this pull request May 24, 2020
…fra (#34)

* Support full words (like infrastructure) instead of just keys like infra

* Tweak

* test: add test for words with spaces

* Add `user testing` test case

* Fix typo

* Update index.test.js

* Fix lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Arrow keys don't seem to work in Windows 10

3 participants