Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run prettier #907

Merged
merged 6 commits into from
Jun 26, 2019
Merged

Run prettier #907

merged 6 commits into from
Jun 26, 2019

Conversation

imatlopez
Copy link
Contributor

No description provided.

@imatlopez
Copy link
Contributor Author

@luin using defaults to prettier, but I don't know if making line width 120 better, or using single quotes.

@imatlopez
Copy link
Contributor Author

should src be added to the bundle in case people want to use the raw typings?

@luin
Copy link
Collaborator

luin commented Jun 25, 2019

using defaults to prettier, but I don't know if making line width 120 better, or using single quotes.

I suggest sticking with the default settings of Prettier as close as possible since these settings are adopted by more people, making it easier for them to contribute to ioredis. (Although personally, I prefer to omit semicolons 🤣 .)

should src be added to the bundle in case people want to use the raw typings?

Declarations will be included in the bundle if declaration is set to true in the tsconfig.json, so we don't need to bundle src into the package.

However, there is still something to do before bundling the declarations. The major one is Redis command methods are not declared, so TypeScript will complain about the usage like redis.get(xxx).. I'm already working on a solution for it, and after that, we can provide the official declarations.

@imatlopez
Copy link
Contributor Author

@luin cool, in the meantime travis passed but seems the reporting hanged, and also I am attempting to use 4.11 on my end but there seems to be an issue with the asCallback in the Redis.connect function. :( good thing it is tagged as next for now

@luin
Copy link
Collaborator

luin commented Jun 25, 2019

I am attempting to use 4.11 on my end but there seems to be an issue with the asCallback in the Redis.connect function.

What issue did you encountered?

@imatlopez
Copy link
Contributor Author

Can't seem to connect, also I see some unhandled promise rejections now that we switched to promises

@ioredis-robot
Copy link
Collaborator

🎉 This issue has been resolved in version 4.11.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@luin luin reopened this Jun 26, 2019
@luin luin merged commit 98ebeec into redis:master Jun 26, 2019
@ioredis-robot
Copy link
Collaborator

🎉 This PR is included in version 4.11.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants